@ProviderType
public class CPDefinitionInventoryServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CPDefinitionInventoryServiceImpl and is the
primary 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.CPDefinitionInventoryService,
com.liferay.commerce.service.base.CPDefinitionInventoryServiceBaseImpl,
com.liferay.commerce.service.impl.CPDefinitionInventoryServiceImpl| Constructor and Description |
|---|
CPDefinitionInventoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CPDefinitionInventory |
addCPDefinitionInventory(long cpDefinitionId,
java.lang.String cpDefinitionInventoryEngine,
java.lang.String lowStockActivity,
boolean displayAvailability,
boolean displayStockQuantity,
int minStockQuantity,
boolean backOrders,
int minOrderQuantity,
int maxOrderQuantity,
java.lang.String allowedOrderQuantities,
int multipleOrderQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCPDefinitionInventory(long cpDefinitionInventoryId) |
static CPDefinitionInventory |
fetchCPDefinitionInventoryByCPDefinitionId(long cpDefinitionId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CPDefinitionInventoryService |
getService() |
static CPDefinitionInventory |
updateCPDefinitionInventory(long cpDefinitionInventoryId,
java.lang.String cpDefinitionInventoryEngine,
java.lang.String lowStockActivity,
boolean displayAvailability,
boolean displayStockQuantity,
int minStockQuantity,
boolean backOrders,
int minOrderQuantity,
int maxOrderQuantity,
java.lang.String allowedOrderQuantities,
int multipleOrderQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static CPDefinitionInventory addCPDefinitionInventory(long cpDefinitionId, java.lang.String cpDefinitionInventoryEngine, java.lang.String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, int minStockQuantity, boolean backOrders, int minOrderQuantity, int maxOrderQuantity, java.lang.String allowedOrderQuantities, int multipleOrderQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCPDefinitionInventory(long cpDefinitionInventoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionInventory fetchCPDefinitionInventoryByCPDefinitionId(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static CPDefinitionInventory updateCPDefinitionInventory(long cpDefinitionInventoryId, java.lang.String cpDefinitionInventoryEngine, java.lang.String lowStockActivity, boolean displayAvailability, boolean displayStockQuantity, int minStockQuantity, boolean backOrders, int minOrderQuantity, int maxOrderQuantity, java.lang.String allowedOrderQuantities, int multipleOrderQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionInventoryService getService()