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) voiddeleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) voiddeleteCommerceInventoryWarehouseItems(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) intgetCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) intgetCommerceInventoryWarehouseItemsCount(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) intgetCommerceInventoryWarehouseItemsCount(long companyId, String sku, String unitOfMeasureKey) intgetCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) intgetCommerceInventoryWarehouseItemsCountByModifiedDate(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) voidmoveQuantitiesBetweenWarehouses(long fromCommerceInventoryWarehouseId, long toCommerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) voidsetWrappedService(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:
addCommerceInventoryWarehouseItemin 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:
addOrUpdateCommerceInventoryWarehouseItemin interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseItem
public void deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceInventoryWarehouseItemin 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:
deleteCommerceInventoryWarehouseItemsin 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:
fetchCommerceInventoryWarehouseItemin 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:
fetchCommerceInventoryWarehouseItemByExternalReferenceCodein interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItem
public CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemin 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:
getCommerceInventoryWarehouseItemin 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:
getCommerceInventoryWarehouseItemsin 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:
getCommerceInventoryWarehouseItemsByCompanyIdin 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:
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKeyin interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouseItemsCount
public int getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCountin 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:
getCommerceInventoryWarehouseItemsCountin 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:
getCommerceInventoryWarehouseItemsCountin interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCountByCompanyId
public int getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceInventoryWarehouseItemsCountByCompanyIdin 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:
getCommerceInventoryWarehouseItemsCountByModifiedDatein 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:
getCommerceInventoryWarehouseItemsCountByModifiedDatein interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceInventoryWarehouseItemService- Returns:
- the OSGi service identifier
-
getStockQuantity
public BigDecimal getStockQuantity(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) - Specified by:
getStockQuantityin interfaceCommerceInventoryWarehouseItemService
-
getStockQuantity
- Specified by:
getStockQuantityin interfaceCommerceInventoryWarehouseItemService
-
increaseCommerceInventoryWarehouseItemQuantity
public CommerceInventoryWarehouseItem increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId, BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
increaseCommerceInventoryWarehouseItemQuantityin 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:
moveQuantitiesBetweenWarehousesin 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:
updateCommerceInventoryWarehouseItemin 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:
updateCommerceInventoryWarehouseItemin interfaceCommerceInventoryWarehouseItemService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
-
setWrappedService
public void setWrappedService(CommerceInventoryWarehouseItemService commerceInventoryWarehouseItemService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceInventoryWarehouseItemService>
-