Class CPOptionCategoryServiceUtil

java.lang.Object
com.liferay.commerce.product.service.CPOptionCategoryServiceUtil

public class CPOptionCategoryServiceUtil extends Object
Provides the remote service utility for CPOptionCategory. This utility wraps com.liferay.commerce.product.service.impl.CPOptionCategoryServiceImpl 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

    • CPOptionCategoryServiceUtil

      public CPOptionCategoryServiceUtil()
  • Method Details

    • addCPOptionCategory

      public static CPOptionCategory addCPOptionCategory(String externalReferenceCode, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPOptionCategory

      public static CPOptionCategory addOrUpdateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPOptionCategory

      public static void deleteCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionCategory

      public static CPOptionCategory fetchCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionCategoryByExternalReferenceCode

      public static CPOptionCategory fetchCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionCategory

      public static CPOptionCategory getCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionCategoryByExternalReferenceCode

      public static CPOptionCategory getCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
    • searchCPOptionCategories

      public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionCategory> searchCPOptionCategories(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPOptionCategory

      public static CPOptionCategory updateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, double priority, String key) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CPOptionCategoryService getService()