Class CPDefinitionInventoryServiceUtil

java.lang.Object
com.liferay.commerce.service.CPDefinitionInventoryServiceUtil

public class CPDefinitionInventoryServiceUtil extends Object
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 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

      public static String 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

      public static CPDefinitionInventoryService getService()