Class CPSpecificationOptionServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPSpecificationOptionServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CPSpecificationOptionaddCPSpecificationOption(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) static voiddeleteCPSpecificationOption(long cpSpecificationOptionId) static CPSpecificationOptionfetchCPSpecificationOption(long companyId, String key) static CPSpecificationOptionfetchCPSpecificationOptionByExternalReferenceCode(String externalReferenceCode, long companyId) static CPSpecificationOptiongetCPSpecificationOption(long cpSpecificationOptionId) static CPSpecificationOptiongetCPSpecificationOption(long companyId, String key) static StringReturns the OSGi service identifier.static CPSpecificationOptionServicestatic 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) static CPSpecificationOptionupdateCPSpecificationOption(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)
-
Constructor Details
-
CPSpecificationOptionServiceUtil
public CPSpecificationOptionServiceUtil()
-
-
Method Details
-
addCPSpecificationOption
public static CPSpecificationOption addCPSpecificationOption(String externalReferenceCode, long cpOptionCategoryId, long[] listTypeDefinitionIds, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean facetable, String key, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) - 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
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, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean facetable, String key, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-