Class CPDefinitionOptionRelServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPDefinitionOptionRelServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CPDefinitionOptionReladdCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDefinitionOptionReladdCPDefinitionOptionRel(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) static CPDefinitionOptionReladdCPDefinitionOptionRel(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) static voiddeleteCPDefinitionOptionRel(long cpDefinitionOptionRelId) static CPDefinitionOptionRelfetchCPDefinitionOptionRel(long cpDefinitionOptionRelId) static CPDefinitionOptionRelfetchCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId) static CPDefinitionOptionRelgetCPDefinitionOptionRel(long cpDefinitionOptionRelId) getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId, String json) getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys(long cpInstanceId) static List<CPDefinitionOptionRel>getCPDefinitionOptionRels(long cpDefinitionId, boolean skuContributor) static List<CPDefinitionOptionRel>getCPDefinitionOptionRels(long cpDefinitionId, int start, int end) static List<CPDefinitionOptionRel>getCPDefinitionOptionRels(long cpDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) static intgetCPDefinitionOptionRelsCount(long cpDefinitionId) static intgetCPDefinitionOptionRelsCount(long cpDefinitionId, boolean skuContributor) static StringReturns the OSGi service identifier.static CPDefinitionOptionRelServicestatic 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) static intsearchCPDefinitionOptionRelsCount(long companyId, long groupId, long cpDefinitionId, String keywords) static CPDefinitionOptionRelupdateCPDefinitionOptionRel(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) static CPDefinitionOptionRelupdateCPDefinitionOptionRel(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)
-
Constructor Details
-
CPDefinitionOptionRelServiceUtil
public CPDefinitionOptionRelServiceUtil()
-
-
Method Details
-
addCPDefinitionOptionRel
public static CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
addCPDefinitionOptionRel
public static CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
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
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, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
updateCPDefinitionOptionRel
public static CPDefinitionOptionRel updateCPDefinitionOptionRel(long cpDefinitionOptionRelId, long cpOptionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> 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
-
getService
-