Class CPOptionCategoryServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPOptionCategoryServiceUtil
Provides the remote service utility for CPOptionCategory. This utility wraps
com.liferay.commerce.product.service.impl.CPOptionCategoryServiceImpl 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 CPOptionCategoryaddCPOptionCategory(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPOptionCategoryaddOrUpdateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteCPOptionCategory(long cpOptionCategoryId) static CPOptionCategoryfetchCPOptionCategory(long cpOptionCategoryId) static CPOptionCategoryfetchCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) static CPOptionCategorygetCPOptionCategory(long cpOptionCategoryId) static CPOptionCategorygetCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) static StringReturns the OSGi service identifier.static CPOptionCategoryServicestatic com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionCategory>searchCPOptionCategories(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static CPOptionCategoryupdateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, double priority, String key)
-
Constructor Details
-
CPOptionCategoryServiceUtil
public CPOptionCategoryServiceUtil()
-
-
Method Details
-
addCPOptionCategory
public static CPOptionCategory addCPOptionCategory(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPOptionCategory
public static CPOptionCategory addOrUpdateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPOptionCategory
public static void deleteCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionCategory
public static CPOptionCategory fetchCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionCategoryByExternalReferenceCode
public static CPOptionCategory fetchCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionCategory
public static CPOptionCategory getCPOptionCategory(long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionCategoryByExternalReferenceCode
public static CPOptionCategory getCPOptionCategoryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
-
searchCPOptionCategories
public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionCategory> searchCPOptionCategories(long companyId, 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
-
updateCPOptionCategory
public static CPOptionCategory updateCPOptionCategory(String externalReferenceCode, long cpOptionCategoryId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, double priority, String key) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-