Class CommerceInventoryWarehouseItemServiceWrapper
java.lang.Object
com.liferay.commerce.inventory.service.CommerceInventoryWarehouseItemServiceWrapper
- All Implemented Interfaces:
CommerceInventoryWarehouseItemService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
public class CommerceInventoryWarehouseItemServiceWrapper
extends Object
implements CommerceInventoryWarehouseItemService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
Provides a wrapper for
CommerceInventoryWarehouseItemService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceInventoryWarehouseItemServiceWrapper
(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceInventoryWarehouseItem
(String externalReferenceCode, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) addOrUpdateCommerceInventoryWarehouseItem
(String externalReferenceCode, long companyId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) void
deleteCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId) void
deleteCommerceInventoryWarehouseItems
(long companyId, String sku, String unitOfMeasureKey) fetchCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) fetchCommerceInventoryWarehouseItemByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId) getCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) getCommerceInventoryWarehouseItems
(long commerceInventoryWarehouseId, int start, int end) getCommerceInventoryWarehouseItemsByCompanyId
(long companyId, int start, int end) getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey
(long companyId, String sku, String unitOfMeasureKey, int start, int end) int
getCommerceInventoryWarehouseItemsCount
(long commerceInventoryWarehouseId) int
getCommerceInventoryWarehouseItemsCount
(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) int
getCommerceInventoryWarehouseItemsCount
(long companyId, String sku, String unitOfMeasureKey) int
getCommerceInventoryWarehouseItemsCountByCompanyId
(long companyId) int
getCommerceInventoryWarehouseItemsCountByModifiedDate
(long companyId, Date startDate, Date endDate) getCommerceInventoryWarehouseItemsCountByModifiedDate
(long companyId, Date startDate, Date endDate, int start, int end) Returns the OSGi service identifier.getStockQuantity
(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) getStockQuantity
(long companyId, String sku, String unitOfMeasureKey) increaseCommerceInventoryWarehouseItemQuantity
(long commerceInventoryWarehouseItemId, BigDecimal quantity) void
moveQuantitiesBetweenWarehouses
(long fromCommerceInventoryWarehouseId, long toCommerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) void
setWrappedService
(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) updateCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId, long mvccVersion, BigDecimal quantity, String unitOfMeasureKey) updateCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId, BigDecimal quantity, BigDecimal reservedQuantity, long mvccVersion)
-
Constructor Details
-
CommerceInventoryWarehouseItemServiceWrapper
public CommerceInventoryWarehouseItemServiceWrapper() -
CommerceInventoryWarehouseItemServiceWrapper
public CommerceInventoryWarehouseItemServiceWrapper(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService)
-
-
Method Details
-
addCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem addCommerceInventoryWarehouseItem(String externalReferenceCode, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem addOrUpdateCommerceInventoryWarehouseItem(String externalReferenceCode, long companyId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseItem
public void deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseItems
public void deleteCommerceInventoryWarehouseItems(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceInventoryWarehouseItems
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseItemByExternalReferenceCode
public CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceInventoryWarehouseItemByExternalReferenceCode
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItems
public List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItems(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItems
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsByCompanyId
public List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyId(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsByCompanyId
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey
public List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId, String sku, String unitOfMeasureKey, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouseItemsCount
public int getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCount
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCount
public int getCommerceInventoryWarehouseItemsCount(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCount
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCount
public int getCommerceInventoryWarehouseItemsCount(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCount
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCountByCompanyId
public int getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCountByCompanyId
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCountByModifiedDate
public int getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, Date startDate, Date endDate) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
getCommerceInventoryWarehouseItemsCountByModifiedDate
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouseItemsCountByModifiedDate
public List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, Date startDate, Date endDate, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Specified by:
getCommerceInventoryWarehouseItemsCountByModifiedDate
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceInventoryWarehouseItemService
- Returns:
- the OSGi service identifier
-
getStockQuantity
public BigDecimal getStockQuantity(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) - Specified by:
getStockQuantity
in interfaceCommerceInventoryWarehouseItemService
-
getStockQuantity
- Specified by:
getStockQuantity
in interfaceCommerceInventoryWarehouseItemService
-
increaseCommerceInventoryWarehouseItemQuantity
public CommerceInventoryWarehouseItem increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId, BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
increaseCommerceInventoryWarehouseItemQuantity
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveQuantitiesBetweenWarehouses
public void moveQuantitiesBetweenWarehouses(long fromCommerceInventoryWarehouseId, long toCommerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveQuantitiesBetweenWarehouses
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, BigDecimal quantity, BigDecimal reservedQuantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, long mvccVersion, BigDecimal quantity, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceInventoryWarehouseItem
in interfaceCommerceInventoryWarehouseItemService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
-
setWrappedService
public void setWrappedService(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
-