public class CPOptionValueServiceUtil
extends java.lang.Object
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.CPOptionValueService| Constructor and Description |
|---|
CPOptionValueServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CPOptionValue |
addCPOptionValue(long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
double priority,
java.lang.String key,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCPOptionValue(long cpOptionValueId) |
static CPOptionValue |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
static CPOptionValue |
fetchCPOptionValue(long cpOptionValueId) |
static CPOptionValue |
getCPOptionValue(long cpOptionValueId) |
static java.util.List<CPOptionValue> |
getCPOptionValues(long cpOptionId,
int start,
int end) |
static int |
getCPOptionValuesCount(long cpOptionId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CPOptionValueService |
getService() |
static CPOptionValue |
updateCPOptionValue(long cpOptionValueId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
double priority,
java.lang.String key,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPOptionValue |
upsertCPOptionValue(long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static CPOptionValue addCPOptionValue(long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> titleMap, double priority, java.lang.String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCPOptionValue(long cpOptionValueId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPOptionValue fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCPOptionValuesCount(long cpOptionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static CPOptionValue updateCPOptionValue(long cpOptionValueId, java.util.Map<java.util.Locale,java.lang.String> titleMap, double priority, java.lang.String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPOptionValue upsertCPOptionValue(long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, double priority, java.lang.String key, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPOptionValueService getService()