Class CPSpecificationOptionServiceUtil

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

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

    • CPSpecificationOptionServiceUtil

      public CPSpecificationOptionServiceUtil()
  • Method Details

    • addCPSpecificationOption

      public static CPSpecificationOption addCPSpecificationOption(String externalReferenceCode, long cpOptionCategoryId, long[] listTypeDefinitionIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, boolean facetable, String key, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPSpecificationOption

      public static void deleteCPSpecificationOption(long cpSpecificationOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPSpecificationOption

      public static CPSpecificationOption fetchCPSpecificationOption(long companyId, String key) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPSpecificationOptionByExternalReferenceCode

      public static CPSpecificationOption fetchCPSpecificationOptionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPSpecificationOption

      public static CPSpecificationOption getCPSpecificationOption(long cpSpecificationOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPSpecificationOption

      public static CPSpecificationOption getCPSpecificationOption(long companyId, String key) 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
    • searchCPSpecificationOptions

      public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPSpecificationOption> searchCPSpecificationOptions(long companyId, Boolean facetable, 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
    • updateCPSpecificationOption

      public static CPSpecificationOption updateCPSpecificationOption(String externalReferenceCode, long cpSpecificationOptionId, long cpOptionCategoryId, long[] listTypeDefinitionIds, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, boolean facetable, String key, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CPSpecificationOptionService getService()