public class CPDefinitionOptionValueRelLocalServiceWrapper extends java.lang.Object implements CPDefinitionOptionValueRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionValueRelLocalService>
CPDefinitionOptionValueRelLocalService
.CPDefinitionOptionValueRelLocalService
Constructor and Description |
---|
CPDefinitionOptionValueRelLocalServiceWrapper() |
CPDefinitionOptionValueRelLocalServiceWrapper(CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CPDefinitionOptionValueRel |
addCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Adds the cp definition option value rel to the database.
|
CPDefinitionOptionValueRel |
addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
CPOptionValue cpOptionValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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) |
CPDefinitionOptionValueRel |
createCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Creates a new cp definition option value rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CPDefinitionOptionValueRel |
deleteCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Deletes the cp definition option value rel from the database.
|
CPDefinitionOptionValueRel |
deleteCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Deletes the cp definition option value rel with the primary key from the database.
|
void |
deleteCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<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.
|
<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.
|
<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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId) |
CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
java.lang.String key) |
CPDefinitionOptionValueRel |
fetchCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel matching the UUID and group.
|
CPDefinitionOptionValueRel |
fetchPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId) |
java.util.List<CPDefinitionOptionValueRel> |
filterByCPInstanceOptionValueRels(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels,
java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CPDefinitionOptionValueRel |
getCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
Returns the cp definition option value rel with the primary key.
|
CPDefinitionOptionValueRel |
getCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel matching the UUID and group.
|
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(int start,
int end)
Returns a range of all the cp definition option value rels.
|
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long[] cpDefinitionOptionValueRelsId) |
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId,
int start,
int end) |
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) |
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRels(java.lang.String key,
int start,
int end) |
java.util.List<CPDefinitionOptionValueRel> |
getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the cp definition option value rels matching the UUID and company.
|
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.
|
int |
getCPDefinitionOptionValueRelsCount()
Returns the number of cp definition option value rels.
|
int |
getCPDefinitionOptionValueRelsCount(long cpDefinitionOptionRelId) |
CPDefinitionOptionValueRel |
getCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionRelId,
long cpInstanceId) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<CPDefinitionOptionValueRel> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CPDefinitionOptionValueRelLocalService |
getWrappedService() |
boolean |
hasCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) |
boolean |
hasPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId) |
void |
importCPDefinitionOptionRels(long cpDefinitionOptionRelId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionValueRel |
resetCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId) |
void |
resetCPInstanceCPDefinitionOptionValueRels(java.lang.String cpInstanceUuid) |
com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
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) |
int |
searchCPDefinitionOptionValueRelsCount(long companyId,
long groupId,
long cpDefinitionOptionRelId,
java.lang.String keywords) |
void |
setWrappedService(CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService) |
CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRel(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Updates the cp definition option value rel in the database or adds it if it does not yet exist.
|
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) |
CPDefinitionOptionValueRel |
updateCPDefinitionOptionValueRelPreselected(long cpDefinitionOptionValueRelId,
boolean preselected) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel>,R,E> updateUnsafeFunction) |
public CPDefinitionOptionValueRelLocalServiceWrapper()
public CPDefinitionOptionValueRelLocalServiceWrapper(CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService)
public 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.
addCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
cpDefinitionOptionValueRel
- the cp definition option value relpublic CPDefinitionOptionValueRel addCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, CPOptionValue cpOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
addCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionValueRel createCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
createCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
CPDefinitionOptionValueRelId
- the primary key for the new cp definition option value relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CPDefinitionOptionValueRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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.
deleteCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
cpDefinitionOptionValueRel
- the cp definition option value relPortalException
public 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.
deleteCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relPortalException
- if a cp definition option value rel with the primary key could not be foundpublic void deleteCPDefinitionOptionValueRels(long cpDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
deleteCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CPDefinitionOptionValueRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CPDefinitionOptionValueRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CPDefinitionOptionValueRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CPDefinitionOptionValueRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CPDefinitionOptionValueRelLocalService
dynamicQuery
- the dynamic querypublic <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
in interface CPDefinitionOptionValueRelLocalService
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 <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
in interface CPDefinitionOptionValueRelLocalService
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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CPDefinitionOptionValueRelLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CPDefinitionOptionValueRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId)
fetchCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
public CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, java.lang.String key)
fetchCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
public CPDefinitionOptionValueRel fetchCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPDefinitionOptionValueRelByUuidAndGroupId
in interface CPDefinitionOptionValueRelLocalService
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 CPDefinitionOptionValueRel fetchPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId)
fetchPreselectedCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
public java.util.List<CPDefinitionOptionValueRel> filterByCPInstanceOptionValueRels(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels, java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels)
filterByCPInstanceOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CPDefinitionOptionValueRelLocalService
public CPDefinitionOptionValueRel getCPDefinitionOptionValueRel(long CPDefinitionOptionValueRelId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relPortalException
- if a cp definition option value rel with the primary key could not be foundpublic CPDefinitionOptionValueRel getCPDefinitionOptionValueRelByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionValueRelByUuidAndGroupId
in interface CPDefinitionOptionValueRelLocalService
uuid
- the cp definition option value rel's UUIDgroupId
- the primary key of the groupPortalException
- if a matching cp definition option value rel could not be foundpublic 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
.
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
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 java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId)
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId, int start, int end)
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long cpDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(long[] cpDefinitionOptionValueRelsId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRels(java.lang.String key, int start, int end)
getCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPDefinitionOptionValueRelsByUuidAndCompanyId
in interface CPDefinitionOptionValueRelLocalService
uuid
- the UUID of the cp definition option value relscompanyId
- the primary key of the companypublic java.util.List<CPDefinitionOptionValueRel> getCPDefinitionOptionValueRelsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
getCPDefinitionOptionValueRelsByUuidAndCompanyId
in interface CPDefinitionOptionValueRelLocalService
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 int getCPDefinitionOptionValueRelsCount()
getCPDefinitionOptionValueRelsCount
in interface CPDefinitionOptionValueRelLocalService
public int getCPDefinitionOptionValueRelsCount(long cpDefinitionOptionRelId)
getCPDefinitionOptionValueRelsCount
in interface CPDefinitionOptionValueRelLocalService
public CPDefinitionOptionValueRel getCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionRelId, long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getCPInstanceCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CPDefinitionOptionValueRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CPDefinitionOptionValueRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CPDefinitionOptionValueRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CPDefinitionOptionValueRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public boolean hasCPDefinitionOptionValueRels(long cpDefinitionOptionRelId)
hasCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public boolean hasPreselectedCPDefinitionOptionValueRel(long cpDefinitionOptionRelId)
hasPreselectedCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
public void importCPDefinitionOptionRels(long cpDefinitionOptionRelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
importCPDefinitionOptionRels
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionValueRel resetCPInstanceCPDefinitionOptionValueRel(long cpDefinitionOptionValueRelId) throws com.liferay.portal.kernel.exception.PortalException
resetCPInstanceCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void resetCPInstanceCPDefinitionOptionValueRels(java.lang.String cpInstanceUuid)
resetCPInstanceCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
search
in interface CPDefinitionOptionValueRelLocalService
public 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
searchCPDefinitionOptionValueRels
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public int searchCPDefinitionOptionValueRelsCount(long companyId, long groupId, long cpDefinitionOptionRelId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionValueRelsCount
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public 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.
updateCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
cpDefinitionOptionValueRel
- the cp definition option value relpublic 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
updateCPDefinitionOptionValueRel
in interface CPDefinitionOptionValueRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionValueRel updateCPDefinitionOptionValueRelPreselected(long cpDefinitionOptionValueRelId, boolean preselected)
updateCPDefinitionOptionValueRelPreselected
in interface CPDefinitionOptionValueRelLocalService
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel> getCTPersistence()
getCTPersistence
in interface CPDefinitionOptionValueRelLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionValueRel>
public java.lang.Class<CPDefinitionOptionValueRel> getModelClass()
getModelClass
in interface CPDefinitionOptionValueRelLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionValueRel>
public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface CPDefinitionOptionValueRelLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionValueRel>
E extends java.lang.Throwable
public CPDefinitionOptionValueRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionValueRelLocalService>
public void setWrappedService(CPDefinitionOptionValueRelLocalService cpDefinitionOptionValueRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionValueRelLocalService>