Interface CommerceInventoryWarehouseItemService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceInventoryWarehouseItemServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceInventoryWarehouseItemService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceInventoryWarehouseItem. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
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) updateCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId, long mvccVersion, BigDecimal quantity, String unitOfMeasureKey) updateCommerceInventoryWarehouseItem
(long commerceInventoryWarehouseItemId, BigDecimal quantity, BigDecimal reservedQuantity, long mvccVersion)
-
Method Details
-
addCommerceInventoryWarehouseItem
CommerceInventoryWarehouseItem addCommerceInventoryWarehouseItem(String externalReferenceCode, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceInventoryWarehouseItem
CommerceInventoryWarehouseItem addOrUpdateCommerceInventoryWarehouseItem(String externalReferenceCode, long companyId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseItem
void deleteCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseItems
void deleteCommerceInventoryWarehouseItems(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseItem
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceInventoryWarehouseItemByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouseItem fetchCommerceInventoryWarehouseItemByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItem
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItem
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceInventoryWarehouseItem getCommerceInventoryWarehouseItem(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItems
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItems(long commerceInventoryWarehouseId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyId(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsByCompanyIdSkuAndUnitOfMeasureKey(long companyId, String sku, String unitOfMeasureKey, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouseItemsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehouseItemsCount(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehouseItemsCount(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehouseItemsCount(long companyId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCountByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehouseItemsCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceInventoryWarehouseItemsCountByModifiedDate
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, Date startDate, Date endDate) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommerceInventoryWarehouseItemsCountByModifiedDate
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceInventoryWarehouseItem> getCommerceInventoryWarehouseItemsCountByModifiedDate(long companyId, Date startDate, Date endDate, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getStockQuantity
@Transactional(propagation=SUPPORTS, readOnly=true) BigDecimal getStockQuantity(long companyId, long accountEntryId, long groupId, String sku, String unitOfMeasureKey) -
getStockQuantity
@Transactional(propagation=SUPPORTS, readOnly=true) BigDecimal getStockQuantity(long companyId, String sku, String unitOfMeasureKey) -
increaseCommerceInventoryWarehouseItemQuantity
CommerceInventoryWarehouseItem increaseCommerceInventoryWarehouseItemQuantity(long commerceInventoryWarehouseItemId, BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveQuantitiesBetweenWarehouses
void moveQuantitiesBetweenWarehouses(long fromCommerceInventoryWarehouseId, long toCommerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouseItem
CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, BigDecimal quantity, BigDecimal reservedQuantity, long mvccVersion) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceInventoryWarehouseItem
CommerceInventoryWarehouseItem updateCommerceInventoryWarehouseItem(long commerceInventoryWarehouseItemId, long mvccVersion, BigDecimal quantity, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-