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 CPOptionValue |
addOrUpdateCPOptionValue(java.lang.String externalReferenceCode,
long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCPOptionValue(long cpOptionValueId) |
static CPOptionValue |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
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 com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> |
searchCPOptionValues(long companyId,
long cpOptionId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort[] sorts) |
static int |
searchCPOptionValuesCount(long companyId,
long cpOptionId,
java.lang.String keywords) |
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) |
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.PortalException
public static CPOptionValue addOrUpdateCPOptionValue(java.lang.String externalReferenceCode, long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, 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.PortalException
public static void deleteCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPOptionValue fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCPOptionValuesCount(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> searchCPOptionValues(long companyId, long cpOptionId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCPOptionValuesCount(long companyId, long cpOptionId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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.PortalException
public static CPOptionValueService getService()