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 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 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 CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceInventoryWarehouseItems(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceInventoryWarehouseItems
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItemByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceInventoryWarehouseItemByExternalReferenceCode
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItems(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItems
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyId(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsByCompanyId
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.security.auth.PrincipalException
public int getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceInventoryWarehouseItemsCount(long companyId, long groupId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceInventoryWarehouseItemsCount(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCount
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceInventoryWarehouseItemsCountByCompanyId
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, java.util.Date startDate, java.util.Date endDate) throws com.liferay.portal.kernel.security.auth.PrincipalException
getCommerceInventoryWarehouseItemsCountByModifiedDate
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.security.auth.PrincipalException
public 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 CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.security.auth.PrincipalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceInventoryWarehouseItemService
public java.math.BigDecimal getStockQuantity(long companyId, long groupId, java.lang.String sku, java.lang.String unitOfMeasureKey)
getStockQuantity
in interface CommerceInventoryWarehouseItemService
public java.math.BigDecimal getStockQuantity(long companyId, java.lang.String sku, java.lang.String unitOfMeasureKey)
getStockQuantity
in interface CommerceInventoryWarehouseItemService
public CommerceInventoryWarehouseItem increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId, java.math.BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException
increaseCommerceInventoryWarehouseItemQuantity
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, java.math.BigDecimal quantity, java.math.BigDecimal reservedQuantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, long mvccVersion, java.math.BigDecimal quantity, java.lang.String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceInventoryWarehouseItem
in interface CommerceInventoryWarehouseItemService
com.liferay.portal.kernel.exception.PortalException
public 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>