Interface CPDefinitionOptionValueRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionOptionValueRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) Caches the cp definition option value rel in the entity cache if it is enabled.void
cacheResult
(List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels) Caches the cp definition option value rels in the entity cache if it is enabled.int
countAll()
Returns the number of cp definition option value rels.int
countByC_K
(long CPDefinitionOptionRelId, String key) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.int
countByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.int
countByCompanyId
(long companyId) Returns the number of cp definition option value rels where companyId = ?.int
countByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.int
countByCPInstanceUuid
(String CPInstanceUuid) Returns the number of cp definition option value rels where CPInstanceUuid = ?.int
countByGroupId
(long groupId) Returns the number of cp definition option value rels where groupId = ?.int
countByKey
(String key) Returns the number of cp definition option value rels where key = ?.int
countByUuid
(String uuid) Returns the number of cp definition option value rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition option value rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition option value rels where uuid = ? and groupId = ?.create
(long CPDefinitionOptionValueRelId) Creates a new cp definition option value rel with the primary key.fetchByC_K
(long CPDefinitionOptionRelId, String key) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found.fetchByC_K
(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCDORI_P_First
(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.fetchByCDORI_P_Last
(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where companyId = ?.fetchByCPDefinitionOptionRelId_First
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPDefinitionOptionRelId_Last
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.fetchByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where groupId = ?.fetchByKey_First
(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.fetchByKey_Last
(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where key = ?.fetchByPrimaryKey
(long CPDefinitionOptionValueRelId) Returns the cp definition option value rel with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ?.findAll()
Returns all the cp definition option value rels.findAll
(int start, int end) Returns a range of all the cp definition option value rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels.Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.findByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P_First
(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P_Last
(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P_PrevAndNext
(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.findByCompanyId
(long companyId) Returns all the cp definition option value rels where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp definition option value rels where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long CPDefinitionOptionValueRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where companyId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_First
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_Last
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_PrevAndNext
(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPInstanceUuid
(String CPInstanceUuid) Returns all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid
(String CPInstanceUuid, int start, int end) Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid
(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid
(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_PrevAndNext
(long CPDefinitionOptionValueRelId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPInstanceUuid = ?.findByGroupId
(long groupId) Returns all the cp definition option value rels where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the cp definition option value rels where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long CPDefinitionOptionValueRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where groupId = ?.Returns all the cp definition option value rels where key = ?.Returns a range of all the cp definition option value rels where key = ?.findByKey
(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.findByKey
(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.findByKey_First
(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.findByKey_Last
(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where key = ?.findByKey_PrevAndNext
(long CPDefinitionOptionValueRelId, String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where key = ?.findByPrimaryKey
(long CPDefinitionOptionValueRelId) Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.findByUuid
(String uuid) Returns all the cp definition option value rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition option value rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPDefinitionOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPDefinitionOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ?.remove
(long CPDefinitionOptionValueRelId) Removes the cp definition option value rel with the primary key from the database.void
Removes all the cp definition option value rels from the database.removeByC_K
(long CPDefinitionOptionRelId, String key) Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.void
removeByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.void
removeByCompanyId
(long companyId) Removes all the cp definition option value rels where companyId = ? from the database.void
removeByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.void
removeByCPInstanceUuid
(String CPInstanceUuid) Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.void
removeByGroupId
(long groupId) Removes all the cp definition option value rels where groupId = ? from the database.void
removeByKey
(String key) Removes all the cp definition option value rels where key = ? from the database.void
removeByUuid
(String uuid) Removes all the cp definition option value rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.updateImpl
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp definition option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition option value rels
-
findByUuid
Returns a range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByUuid
List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid
List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_First
CPDefinitionOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByUuid_First
CPDefinitionOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_Last
CPDefinitionOptionValueRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByUuid_Last
CPDefinitionOptionValueRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_PrevAndNext
CPDefinitionOptionValueRel[] findByUuid_PrevAndNext(long CPDefinitionOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByUuid
Removes all the cp definition option value rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition option value rels
-
findByUUID_G
CPDefinitionOptionValueRel findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByUUID_G
Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
fetchByUUID_G
Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
removeByUUID_G
CPDefinitionOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByUUID_G
Returns the number of cp definition option value rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByUuid_C
Returns all the cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition option value rels
-
findByUuid_C
Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByUuid_C
List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_C
List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_C_First
CPDefinitionOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByUuid_C_First
CPDefinitionOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_C_Last
CPDefinitionOptionValueRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByUuid_C_Last
CPDefinitionOptionValueRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_C_PrevAndNext
CPDefinitionOptionValueRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByUuid_C
Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByGroupId
Returns all the cp definition option value rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp definition option value rels
-
findByGroupId
Returns a range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByGroupId
List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByGroupId
List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByGroupId_First
CPDefinitionOptionValueRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByGroupId_First
CPDefinitionOptionValueRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByGroupId_Last
CPDefinitionOptionValueRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByGroupId_Last
CPDefinitionOptionValueRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByGroupId_PrevAndNext
CPDefinitionOptionValueRel[] findByGroupId_PrevAndNext(long CPDefinitionOptionValueRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where groupId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the cp definition option value rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of cp definition option value rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByCompanyId
Returns all the cp definition option value rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp definition option value rels
-
findByCompanyId
Returns a range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByCompanyId
List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCompanyId
List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCompanyId_First
CPDefinitionOptionValueRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCompanyId_First
CPDefinitionOptionValueRel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCompanyId_Last
CPDefinitionOptionValueRel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCompanyId_Last
CPDefinitionOptionValueRel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCompanyId_PrevAndNext
CPDefinitionOptionValueRel[] findByCompanyId_PrevAndNext(long CPDefinitionOptionValueRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where companyId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp definition option value rels where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp definition option value rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the matching cp definition option value rels
-
findByCPDefinitionOptionRelId
List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId_First
CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCPDefinitionOptionRelId_First
CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPDefinitionOptionRelId_Last
CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCPDefinitionOptionRelId_Last
CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPDefinitionOptionRelId_PrevAndNext
CPDefinitionOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByCPDefinitionOptionRelId
void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID
-
countByCPDefinitionOptionRelId
int countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the number of matching cp definition option value rels
-
findByCPInstanceUuid
Returns all the cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the matching cp definition option value rels
-
findByCPInstanceUuid
Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByCPInstanceUuid
List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPInstanceUuid
List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPInstanceUuid_First
CPDefinitionOptionValueRel findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCPInstanceUuid_First
CPDefinitionOptionValueRel fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPInstanceUuid_Last
CPDefinitionOptionValueRel findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCPInstanceUuid_Last
CPDefinitionOptionValueRel fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPInstanceUuid_PrevAndNext
CPDefinitionOptionValueRel[] findByCPInstanceUuid_PrevAndNext(long CPDefinitionOptionValueRelId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByCPInstanceUuid
Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid
- the cp instance uuid
-
countByCPInstanceUuid
Returns the number of cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the number of matching cp definition option value rels
-
findByKey
Returns all the cp definition option value rels where key = ?.- Parameters:
key
- the key- Returns:
- the matching cp definition option value rels
-
findByKey
Returns a range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByKey
List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByKey
List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByKey_First
CPDefinitionOptionValueRel findByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByKey_First
CPDefinitionOptionValueRel fetchByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByKey_Last
CPDefinitionOptionValueRel findByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByKey_Last
CPDefinitionOptionValueRel fetchByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByKey_PrevAndNext
CPDefinitionOptionValueRel[] findByKey_PrevAndNext(long CPDefinitionOptionValueRelId, String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where key = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByKey
Removes all the cp definition option value rels where key = ? from the database.- Parameters:
key
- the key
-
countByKey
Returns the number of cp definition option value rels where key = ?.- Parameters:
key
- the key- Returns:
- the number of matching cp definition option value rels
-
findByC_K
CPDefinitionOptionValueRel findByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByC_K
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
fetchByC_K
CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
removeByC_K
CPDefinitionOptionValueRel removeByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByC_K
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the number of matching cp definition option value rels
-
findByCDORI_P
Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected- Returns:
- the matching cp definition option value rels
-
findByCDORI_P
List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- 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)- Returns:
- the range of matching cp definition option value rels
-
findByCDORI_P
List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCDORI_P
List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCDORI_P_First
CPDefinitionOptionValueRel findByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCDORI_P_First
CPDefinitionOptionValueRel fetchByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCDORI_P_Last
CPDefinitionOptionValueRel findByCDORI_P_Last(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be found
-
fetchByCDORI_P_Last
CPDefinitionOptionValueRel fetchByCDORI_P_Last(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCDORI_P_PrevAndNext
CPDefinitionOptionValueRel[] findByCDORI_P_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
removeByCDORI_P
void removeByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected
-
countByCDORI_P
int countByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected- Returns:
- the number of matching cp definition option value rels
-
cacheResult
Caches the cp definition option value rel in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionValueRel
- the cp definition option value rel
-
cacheResult
Caches the cp definition option value rels in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionValueRels
- the cp definition option value rels
-
create
Creates a new cp definition option value rel with the primary key. Does not add the cp definition option value rel to the database.- Parameters:
CPDefinitionOptionValueRelId
- the primary key for the new cp definition option value rel- Returns:
- the new cp definition option value rel
-
remove
CPDefinitionOptionValueRel remove(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPDefinitionOptionValueRel findByPrimaryKey(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition option value rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel, or
null
if a cp definition option value rel with the primary key could not be found
-
findAll
List<CPDefinitionOptionValueRel> findAll()Returns all the cp definition option value rels.- Returns:
- the cp definition option value rels
-
findAll
Returns a range of all the cp definition option value rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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)- Returns:
- the range of cp definition option value rels
-
findAll
List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition option value rels
-
findAll
List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp definition option value rels
-
removeAll
void removeAll()Removes all the cp definition option value rels from the database. -
countAll
int countAll()Returns the number of cp definition option value rels.- Returns:
- the number of cp definition option value rels
-