Class CPDefinitionOptionRelServiceUtil

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

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

    • CPDefinitionOptionRelServiceUtil

      public CPDefinitionOptionRelServiceUtil()
  • Method Details

    • addCPDefinitionOptionRel

      public static CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, double priority, boolean facetable, boolean required, boolean skuContributor, boolean importOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCPDefinitionOptionRel

      public static CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, String infoItemServiceKey, double priority, boolean definedExternally, boolean facetable, boolean required, boolean skuContributor, boolean importOptionValue, String priceType, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCPDefinitionOptionRel

      public static CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPDefinitionOptionRel

      public static void deleteCPDefinitionOptionRel(long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPDefinitionOptionRel

      public static CPDefinitionOptionRel fetchCPDefinitionOptionRel(long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPDefinitionOptionRel

      public static CPDefinitionOptionRel fetchCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRel

      public static CPDefinitionOptionRel getCPDefinitionOptionRel(long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRelCPDefinitionOptionValueRelIds

      public static Map<Long,List<Long>> getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId, String json) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys

      public static Map<String,List<String>> getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRels

      public static List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, boolean skuContributor) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRels

      public static List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRels

      public static List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRelsCount

      public static int getCPDefinitionOptionRelsCount(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionRelsCount

      public static int getCPDefinitionOptionRelsCount(long cpDefinitionId, boolean skuContributor) 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
    • searchCPDefinitionOptionRels

      public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionRel> searchCPDefinitionOptionRels(long companyId, long groupId, long cpDefinitionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitionOptionRelsCount

      public static int searchCPDefinitionOptionRelsCount(long companyId, long groupId, long cpDefinitionId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinitionOptionRel

      public static CPDefinitionOptionRel updateCPDefinitionOptionRel(long cpDefinitionOptionRelId, long cpOptionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, double priority, boolean facetable, boolean required, boolean skuContributor, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPDefinitionOptionRel

      public static CPDefinitionOptionRel updateCPDefinitionOptionRel(long cpDefinitionOptionRelId, long cpOptionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String commerceOptionTypeKey, String infoItemServiceKey, double priority, boolean definedExternally, boolean facetable, boolean required, boolean skuContributor, String priceType, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CPDefinitionOptionRelService getService()