public class CPDefinitionOptionValueRelLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.product.service.impl.CPDefinitionOptionValueRelLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.CPDefinitionOptionValueRelLocalService
Constructor and Description |
---|
CPDefinitionOptionValueRelLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CPDefinitionOptionValueRel |
addCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Adds the cp definition option value rel to the database.
|
static CPDefinitionOptionValueRel |
addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
CPOptionValue cpOptionValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionOptionValueRel |
addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionOptionValueRel |
createCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Creates a new cp definition option value rel with the primary key.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static CPDefinitionOptionValueRel |
deleteCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Deletes the cp definition option value rel from the database.
|
static CPDefinitionOptionValueRel |
deleteCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Deletes the cp definition option value rel with the primary key from the database.
|
static void |
deleteCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static <T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
static CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId) |
static CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
java.lang.String key) |
static CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel matching the UUID and group.
|
static CPDefinitionOptionValueRel |
fetchPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId) |
static java.util.List<CPDefinitionOptionValueRel> |
filterByCPInstanceOptionValueRels(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels,
java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels) |
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static CPDefinitionOptionValueRel |
getCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Returns the cp definition option value rel with the primary key.
|
static CPDefinitionOptionValueRel |
getCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel matching the UUID and group.
|
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(int start,
int end)
Returns a range of all the cp definition option value rels.
|
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long[] cpDefinitionOptionValueRelsId) |
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId,
int start,
int end) |
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) |
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(java.lang.String key,
int start,
int end) |
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the cp definition option value rels matching the UUID and company.
|
static java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns a range of cp definition option value rels matching the UUID and company.
|
static int |
getCPDefinitionOptionValueRelsCount()
Returns the number of cp definition option value rels.
|
static int |
getCPDefinitionOptionValueRelsCount(long cpDefinitionOptionRelId) |
static CPDefinitionOptionValueRel |
getCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
long cpInstanceId) |
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static CPDefinitionOptionValueRelLocalService |
getService() |
static boolean |
hasCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
static boolean |
hasPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId) |
static void |
importCPDefinitionOptionRels(long cpDefinitionOptionRelId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionOptionValueRel |
resetCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId) |
static void |
resetCPInstanceCPDefinitionOptionValueRels(java.lang.String cpInstanceUuid) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
static com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionValueRel> |
searchCPDefinitionOptionValueRels(long companyId,
long groupId,
long cpDefinitionOptionRelId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
searchCPDefinitionOptionValueRels(long, long, long, String,
int, int, Sort[]) |
static com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionValueRel> |
searchCPDefinitionOptionValueRels(long companyId,
long groupId,
long cpDefinitionOptionRelId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort[] sorts) |
static int |
searchCPDefinitionOptionValueRelsCount(long companyId,
long groupId,
long cpDefinitionOptionRelId,
java.lang.String keywords) |
static CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Updates the cp definition option value rel in the database or adds it if it does not yet exist.
|
static CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
long cpInstanceId,
int quantity,
java.math.BigDecimal price,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), use
updateCPDefinitionOptionValueRel(long, Map, double, String,
long, int, boolean, BigDecimal, ServiceContext) |
static CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
long cpInstanceId,
int quantity,
boolean preselected,
java.math.BigDecimal price,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
double priority,
java.lang.String key,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), use
updateCPDefinitionOptionValueRel(long, Map, double, String,
long, int, boolean, BigDecimal, ServiceContext) |
static CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRelPreselected(long cpDefinitionOptionValueRelId,
boolean preselected) |
public CPDefinitionOptionValueRelLocalServiceUtil()
public static CPDefinitionOptionValueRel addCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Important: Inspect CPDefinitionOptionValueRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
cpDefinitionOptionValueRel
- the cp definition option value relpublic static CPDefinitionOptionValueRel addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, CPOptionValue cpOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, 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 CPDefinitionOptionValueRel createCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
CPDefinitionOptionValueRelId
- the primary key for the new cp definition option value relpublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel deleteCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPDefinitionOptionValueRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
cpDefinitionOptionValueRel
- the cp definition option value relcom.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel deleteCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPDefinitionOptionValueRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relcom.liferay.portal.kernel.exception.PortalException
- if a cp definition option value rel with the primary key could not be foundpublic static void deleteCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDefinitionOptionValueRelModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDefinitionOptionValueRelModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
public static CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, java.lang.String key)
public static CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the cp definition option value rel's UUIDgroupId
- the primary key of the groupnull
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId)
public static java.util.List<CPDefinitionOptionValueRel> filterByCPInstanceOptionValueRels(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels, java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels)
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static CPDefinitionOptionValueRel getCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId) throws com.liferay.portal.kernel.exception.PortalException
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relcom.liferay.portal.kernel.exception.PortalException
- if a cp definition option value rel with the primary key could not be foundpublic static CPDefinitionOptionValueRel getCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the cp definition option value rel's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching cp definition option value rel could not be foundpublic static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDefinitionOptionValueRelModelImpl
.
start
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId)
public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId, int start, int end)
public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long[] cpDefinitionOptionValueRelsId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(java.lang.String key, int start, int end)
public static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the cp definition option value relscompanyId
- the primary key of the companypublic static java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
uuid
- the UUID of the cp definition option value relscompanyId
- the primary key of the companystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getCPDefinitionOptionValueRelsCount()
public static int getCPDefinitionOptionValueRelsCount(long cpDefinitionOptionRelId)
public static CPDefinitionOptionValueRel getCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean hasCPDefinitionOptionValueRels(long cpDefinitionOptionRelId)
public static boolean hasPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId)
public static void importCPDefinitionOptionRels(long cpDefinitionOptionRelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel resetCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void resetCPInstanceCPDefinitionOptionValueRels(java.lang.String cpInstanceUuid)
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
@Deprecated public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionValueRel> searchCPDefinitionOptionValueRels(long companyId, long groupId, long cpDefinitionOptionRelId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionValueRels(long, long, long, String,
int, int, Sort[])
companyId
- groupId
- cpDefinitionOptionRelId
- keywords
- start
- end
- sort
- com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionValueRel> searchCPDefinitionOptionValueRels(long companyId, long groupId, long cpDefinitionOptionRelId, 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 searchCPDefinitionOptionValueRelsCount(long companyId, long groupId, long cpDefinitionOptionRelId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel updateCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Important: Inspect CPDefinitionOptionValueRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
cpDefinitionOptionValueRel
- the cp definition option value rel@Deprecated public static CPDefinitionOptionValueRel updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId, java.util.Map<java.util.Locale,java.lang.String> nameMap, double priority, java.lang.String key, long cpInstanceId, int quantity, java.math.BigDecimal price, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPDefinitionOptionValueRel(long, Map, double, String,
long, int, boolean, BigDecimal, ServiceContext)
cpDefinitionOptionValueRelId
- nameMap
- priority
- key
- cpInstanceId
- quantity
- price
- serviceContext
- com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId, java.util.Map<java.util.Locale,java.lang.String> nameMap, double priority, java.lang.String key, long cpInstanceId, int quantity, boolean preselected, java.math.BigDecimal price, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CPDefinitionOptionValueRel updateCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId, 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
updateCPDefinitionOptionValueRel(long, Map, double, String,
long, int, boolean, BigDecimal, ServiceContext)
cpDefinitionOptionValueRelId
- nameMap
- priority
- key
- serviceContext
- com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionOptionValueRel updateCPDefinitionOptionValueRelPreselected(long cpDefinitionOptionValueRelId, boolean preselected)
public static CPDefinitionOptionValueRelLocalService getService()