Package com.liferay.commerce.service
Class CPDefinitionInventoryServiceUtil
java.lang.Object
com.liferay.commerce.service.CPDefinitionInventoryServiceUtil
Provides the remote service utility for CPDefinitionInventory. This utility wraps
com.liferay.commerce.service.impl.CPDefinitionInventoryServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CPDefinitionInventory
addCPDefinitionInventory
(long cpDefinitionId, String cpDefinitionInventoryEngine, String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, BigDecimal minStockQuantity, boolean backOrders, BigDecimal minOrderQuantity, BigDecimal maxOrderQuantity, String allowedOrderQuantities, BigDecimal multipleOrderQuantity) static void
deleteCPDefinitionInventory
(long cpDefinitionInventoryId) static CPDefinitionInventory
fetchCPDefinitionInventoryByCPDefinitionId
(long cpDefinitionId) static String
Returns the OSGi service identifier.static CPDefinitionInventoryService
static CPDefinitionInventory
updateCPDefinitionInventory
(long cpDefinitionInventoryId, String cpDefinitionInventoryEngine, String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, BigDecimal minStockQuantity, boolean backOrders, BigDecimal minOrderQuantity, BigDecimal maxOrderQuantity, String allowedOrderQuantities, BigDecimal multipleOrderQuantity)
-
Constructor Details
-
CPDefinitionInventoryServiceUtil
public CPDefinitionInventoryServiceUtil()
-
-
Method Details
-
addCPDefinitionInventory
public static CPDefinitionInventory addCPDefinitionInventory(long cpDefinitionId, String cpDefinitionInventoryEngine, String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, BigDecimal minStockQuantity, boolean backOrders, BigDecimal minOrderQuantity, BigDecimal maxOrderQuantity, String allowedOrderQuantities, BigDecimal multipleOrderQuantity) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinitionInventory
public static void deleteCPDefinitionInventory(long cpDefinitionInventoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionInventoryByCPDefinitionId
public static CPDefinitionInventory fetchCPDefinitionInventoryByCPDefinitionId(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCPDefinitionInventory
public static CPDefinitionInventory updateCPDefinitionInventory(long cpDefinitionInventoryId, String cpDefinitionInventoryEngine, String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, BigDecimal minStockQuantity, boolean backOrders, BigDecimal minOrderQuantity, BigDecimal maxOrderQuantity, String allowedOrderQuantities, BigDecimal multipleOrderQuantity) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-