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 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) static void
deleteCPSpecificationOption
(long cpSpecificationOptionId) static CPSpecificationOption
fetchCPSpecificationOption
(long companyId, String key) static CPSpecificationOption
fetchCPSpecificationOptionByExternalReferenceCode
(String externalReferenceCode, long companyId) static CPSpecificationOption
getCPSpecificationOption
(long cpSpecificationOptionId) static CPSpecificationOption
getCPSpecificationOption
(long companyId, String key) static String
Returns the OSGi service identifier.static CPSpecificationOptionService
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) 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)
-
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
-