Interface CPInstanceOptionValueRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceOptionValueRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceOptionValueRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPInstanceOptionValueRel cpInstanceOptionValueRel) Caches the cp instance option value rel in the entity cache if it is enabled.void
cacheResult
(List<CPInstanceOptionValueRel> cpInstanceOptionValueRels) Caches the cp instance option value rels in the entity cache if it is enabled.int
countAll()
Returns the number of cp instance option value rels.int
countByCDORI_CDOVRI_CII
(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.int
countByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.int
countByCDOVRI_CII
(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.int
countByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ?.int
countByCPInstanceId
(long CPInstanceId) Returns the number of cp instance option value rels where CPInstanceId = ?.int
countByUuid
(String uuid) Returns the number of cp instance option value rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp instance option value rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp instance option value rels where uuid = ? and groupId = ?.create
(long CPInstanceOptionValueRelId) Creates a new cp instance option value rel with the primary key.fetchByCDORI_CDOVRI_CII
(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found.fetchByCDORI_CDOVRI_CII
(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCDORI_CII_First
(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.fetchByCDORI_CII_Last
(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.fetchByCDOVRI_CII
(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found.fetchByCDOVRI_CII
(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCPDefinitionOptionRelId_First
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPDefinitionOptionRelId_Last
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.fetchByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.fetchByPrimaryKey
(long CPInstanceOptionValueRelId) Returns the cp instance 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<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp instance 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 instance 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<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ?.findAll()
Returns all the cp instance option value rels.findAll
(int start, int end) Returns a range of all the cp instance option value rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels.findByCDORI_CDOVRI_CII
(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.findByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII_First
(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII_Last
(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII_PrevAndNext
(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDOVRI_CII
(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_First
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_Last
(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_PrevAndNext
(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.findByCPInstanceId
(long CPInstanceId) Returns all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.findByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.findByCPInstanceId_PrevAndNext
(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPInstanceId = ?.findByPrimaryKey
(long CPInstanceOptionValueRelId) Returns the cp instance option value rel with the primary key or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.findByUuid
(String uuid) Returns all the cp instance option value rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp instance option value rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPInstanceOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp instance option value rel where uuid = ? and groupId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPInstanceOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ?.remove
(long CPInstanceOptionValueRelId) Removes the cp instance option value rel with the primary key from the database.void
Removes all the cp instance option value rels from the database.removeByCDORI_CDOVRI_CII
(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.void
removeByCDORI_CII
(long CPDefinitionOptionRelId, long CPInstanceId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.removeByCDOVRI_CII
(long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.void
removeByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? from the database.void
removeByCPInstanceId
(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp instance option value rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.updateImpl
(CPInstanceOptionValueRel cpInstanceOptionValueRel) 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 instance option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp instance option value rels
-
findByUuid
Returns a range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByUuid
List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance option value rels
-
findByUuid
List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
findByUuid_First
CPInstanceOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByUuid_First
CPInstanceOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByUuid_Last
CPInstanceOptionValueRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByUuid_Last
CPInstanceOptionValueRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByUuid_PrevAndNext
CPInstanceOptionValueRel[] findByUuid_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ?.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
removeByUuid
Removes all the cp instance option value rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp instance option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp instance option value rels
-
findByUUID_G
CPInstanceOptionValueRel findByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where uuid = ? and groupId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByUUID_G
Returns the cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
fetchByUUID_G
Returns the cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
removeByUUID_G
CPInstanceOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByUUID_G
Returns the number of cp instance option value rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp instance option value rels
-
findByUuid_C
Returns all the cp instance option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp instance option value rels
-
findByUuid_C
Returns a range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByUuid_C
List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance option value rels
-
findByUuid_C
List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
findByUuid_C_First
CPInstanceOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByUuid_C_First
CPInstanceOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByUuid_C_Last
CPInstanceOptionValueRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByUuid_C_Last
CPInstanceOptionValueRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByUuid_C_PrevAndNext
CPInstanceOptionValueRel[] findByUuid_C_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
removeByUuid_C
Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp instance option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the matching cp instance option value rels
-
findByCPDefinitionOptionRelId
List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
findByCPDefinitionOptionRelId_First
CPInstanceOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCPDefinitionOptionRelId_First
CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCPDefinitionOptionRelId_Last
CPInstanceOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCPDefinitionOptionRelId_Last
CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance 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 instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCPDefinitionOptionRelId_PrevAndNext
CPInstanceOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value relCPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
removeByCPDefinitionOptionRelId
void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp instance 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 instance option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the number of matching cp instance option value rels
-
findByCPInstanceId
Returns all the cp instance option value rels where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rels
-
findByCPInstanceId
Returns a range of all the cp instance option value rels where CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCPInstanceId
List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCPInstanceId
List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
findByCPInstanceId_First
CPInstanceOptionValueRel findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCPInstanceId_First
CPInstanceOptionValueRel fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCPInstanceId_Last
CPInstanceOptionValueRel findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCPInstanceId_Last
CPInstanceOptionValueRel fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCPInstanceId_PrevAndNext
CPInstanceOptionValueRel[] findByCPInstanceId_PrevAndNext(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value relCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
removeByCPInstanceId
void removeByCPInstanceId(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.- Parameters:
CPInstanceId
- the cp instance ID
-
countByCPInstanceId
int countByCPInstanceId(long CPInstanceId) Returns the number of cp instance option value rels where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDORI_CII
Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rels
-
findByCDORI_CII
List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCDORI_CII
List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCDORI_CII
List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
findByCDORI_CII_First
CPInstanceOptionValueRel findByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCDORI_CII_First
CPInstanceOptionValueRel fetchByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCDORI_CII_Last
CPInstanceOptionValueRel findByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCDORI_CII_Last
CPInstanceOptionValueRel fetchByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
findByCDORI_CII_PrevAndNext
CPInstanceOptionValueRel[] findByCDORI_CII_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value relCPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
removeByCDORI_CII
void removeByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance ID
-
countByCDORI_CII
int countByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDOVRI_CII
CPInstanceOptionValueRel findByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCDOVRI_CII
Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
fetchByCDOVRI_CII
CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
removeByCDOVRI_CII
CPInstanceOptionValueRel removeByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByCDOVRI_CII
int countByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDORI_CDOVRI_CII
CPInstanceOptionValueRel findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be found
-
fetchByCDORI_CDOVRI_CII
CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
fetchByCDORI_CDOVRI_CII
CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance option value rel, or
null
if a matching cp instance option value rel could not be found
-
removeByCDORI_CDOVRI_CII
CPInstanceOptionValueRel removeByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByCDORI_CDOVRI_CII
int countByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
cacheResult
Caches the cp instance option value rel in the entity cache if it is enabled.- Parameters:
cpInstanceOptionValueRel
- the cp instance option value rel
-
cacheResult
Caches the cp instance option value rels in the entity cache if it is enabled.- Parameters:
cpInstanceOptionValueRels
- the cp instance option value rels
-
create
Creates a new cp instance option value rel with the primary key. Does not add the cp instance option value rel to the database.- Parameters:
CPInstanceOptionValueRelId
- the primary key for the new cp instance option value rel- Returns:
- the new cp instance option value rel
-
remove
CPInstanceOptionValueRel remove(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPInstanceOptionValueRel findByPrimaryKey(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel with the primary key or throws aNoSuchCPInstanceOptionValueRelException
if it could not be found.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp instance option value rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPInstanceOptionValueRelId
- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel, or
null
if a cp instance option value rel with the primary key could not be found
-
findAll
List<CPInstanceOptionValueRel> findAll()Returns all the cp instance option value rels.- Returns:
- the cp instance option value rels
-
findAll
Returns a range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of cp instance option value rels
-
findAll
List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp instance option value rels
-
findAll
List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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 fromCPInstanceOptionValueRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance option value relsend
- the upper bound of the range of cp instance 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 instance option value rels
-
removeAll
void removeAll()Removes all the cp instance option value rels from the database. -
countAll
int countAll()Returns the number of cp instance option value rels.- Returns:
- the number of cp instance option value rels
-