public class CommerceInventoryWarehouseItemServiceWrapper extends java.lang.Object implements CommerceInventoryWarehouseItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
CommerceInventoryWarehouseItemService.CommerceInventoryWarehouseItemService| Constructor and Description |
|---|
CommerceInventoryWarehouseItemServiceWrapper() |
CommerceInventoryWarehouseItemServiceWrapper(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceInventoryWarehouseItem |
addCommerceInventoryWarehouseItem(java.lang.String externalReferenceCode,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
CommerceInventoryWarehouseItem |
addOrUpdateCommerceInventoryWarehouseItem(java.lang.String externalReferenceCode,
long companyId,
long commerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
void |
deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) |
void |
deleteCommerceInventoryWarehouseItems(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
CommerceInventoryWarehouseItem |
fetchCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
CommerceInventoryWarehouseItem |
fetchCommerceInventoryWarehouseItemByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceInventoryWarehouseItem |
getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) |
CommerceInventoryWarehouseItem |
getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
java.util.List<CommerceInventoryWarehouseItem> |
getCommerceInventoryWarehouseItems(long commerceInventoryWarehouseId,
int start,
int end) |
java.util.List<CommerceInventoryWarehouseItem> |
getCommerceInventoryWarehouseItemsByCompanyId(long companyId,
int start,
int end) |
java.util.List<CommerceInventoryWarehouseItem> |
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey,
int start,
int end) |
int |
getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) |
int |
getCommerceInventoryWarehouseItemsCount(long companyId,
long accountEntryId,
long groupId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
int |
getCommerceInventoryWarehouseItemsCount(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
int |
getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) |
int |
getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId,
java.util.Date startDate,
java.util.Date endDate) |
java.util.List<CommerceInventoryWarehouseItem> |
getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId,
java.util.Date startDate,
java.util.Date endDate,
int start,
int end) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.math.BigDecimal |
getStockQuantity(long companyId,
long accountEntryId,
long groupId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
java.math.BigDecimal |
getStockQuantity(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
CommerceInventoryWarehouseItemService |
getWrappedService() |
CommerceInventoryWarehouseItem |
increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId,
java.math.BigDecimal quantity) |
void |
moveQuantitiesBetweenWarehouses(long fromCommerceInventoryWarehouseId,
long toCommerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey) |
void |
setWrappedService(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) |
CommerceInventoryWarehouseItem |
updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId,
java.math.BigDecimal quantity,
java.math.BigDecimal reservedQuantity,
long mvccVersion) |
CommerceInventoryWarehouseItem |
updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId,
long mvccVersion,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey) |
public CommerceInventoryWarehouseItemServiceWrapper()
public CommerceInventoryWarehouseItemServiceWrapper(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService)
public CommerceInventoryWarehouseItem addCommerceInventoryWarehouseItem(java.lang.String externalReferenceCode, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
addCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem addOrUpdateCommerceInventoryWarehouseItem(java.lang.String externalReferenceCode, long companyId, long commerceInventoryWarehouseId, java.math.BigDecimal quantity, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceInventoryWarehouseItems(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceInventoryWarehouseItems in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItemByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceInventoryWarehouseItemByExternalReferenceCode in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItems(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItems in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyId(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsByCompanyId in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.security.auth.PrincipalExceptionpublic int getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceInventoryWarehouseItemsCount(long companyId,
long accountEntryId,
long groupId,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceInventoryWarehouseItemsCount(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCountByCompanyId in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId,
java.util.Date startDate,
java.util.Date endDate)
throws com.liferay.portal.kernel.security.auth.PrincipalException
getCommerceInventoryWarehouseItemsCountByModifiedDate in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.security.auth.PrincipalExceptionpublic java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, java.util.Date startDate, java.util.Date endDate, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException
getCommerceInventoryWarehouseItemsCountByModifiedDate in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.security.auth.PrincipalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceInventoryWarehouseItemServicepublic java.math.BigDecimal getStockQuantity(long companyId,
long accountEntryId,
long groupId,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
getStockQuantity in interface CommerceInventoryWarehouseItemServicepublic java.math.BigDecimal getStockQuantity(long companyId,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
getStockQuantity in interface CommerceInventoryWarehouseItemServicepublic CommerceInventoryWarehouseItem increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId, java.math.BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException
increaseCommerceInventoryWarehouseItemQuantity in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void moveQuantitiesBetweenWarehouses(long fromCommerceInventoryWarehouseId,
long toCommerceInventoryWarehouseId,
java.math.BigDecimal quantity,
java.lang.String sku,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
moveQuantitiesBetweenWarehouses in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, java.math.BigDecimal quantity, java.math.BigDecimal reservedQuantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, long mvccVersion, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceInventoryWarehouseItem in interface CommerceInventoryWarehouseItemServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceInventoryWarehouseItemService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>public void setWrappedService(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>