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