Class CPOptionValueServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPOptionValueServiceUtil
Provides the remote service utility for CPOptionValue. This utility wraps
com.liferay.commerce.product.service.impl.CPOptionValueServiceImpl
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 CPOptionValue
addCPOptionValue
(long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPOptionValue
addOrUpdateCPOptionValue
(String externalReferenceCode, long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
deleteCPOptionValue
(long cpOptionValueId) static CPOptionValue
fetchCPOptionValue
(long cpOptionValueId) static CPOptionValue
fetchCPOptionValueByExternalReferenceCode
(String externalReferenceCode, long companyId) static CPOptionValue
getCPOptionValue
(long cpOptionValueId) static List<CPOptionValue>
getCPOptionValues
(long cpOptionId, int start, int end) static int
getCPOptionValuesCount
(long cpOptionId) static String
Returns the OSGi service identifier.static CPOptionValueService
static com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue>
searchCPOptionValues
(long companyId, long cpOptionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) static int
searchCPOptionValuesCount
(long companyId, long cpOptionId, String keywords) static CPOptionValue
updateCPOptionValue
(long cpOptionValueId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CPOptionValueServiceUtil
public CPOptionValueServiceUtil()
-
-
Method Details
-
addCPOptionValue
public static CPOptionValue addCPOptionValue(long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPOptionValue
public static CPOptionValue addOrUpdateCPOptionValue(String externalReferenceCode, long cpOptionId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPOptionValue
public static void deleteCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionValue
public static CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPOptionValueByExternalReferenceCode
public static CPOptionValue fetchCPOptionValueByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValue
public static CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValues
public static List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionValuesCount
public static int getCPOptionValuesCount(long cpOptionId) 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
-
searchCPOptionValues
public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> searchCPOptionValues(long companyId, long cpOptionId, 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
-
searchCPOptionValuesCount
public static int searchCPOptionValuesCount(long companyId, long cpOptionId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPOptionValue
public static CPOptionValue updateCPOptionValue(long cpOptionValueId, Map<Locale, String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-