Interface CPDefinitionOptionRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionOptionRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPDefinitionOptionRel cpDefinitionOptionRel) Caches the cp definition option rel in the entity cache if it is enabled.void
cacheResult
(List<CPDefinitionOptionRel> cpDefinitionOptionRels) Caches the cp definition option rels in the entity cache if it is enabled.int
countAll()
Returns the number of cp definition option rels.int
countByC_C
(long CPDefinitionId, long CPOptionId) Returns the number of cp definition option rels where CPDefinitionId = ? and CPOptionId = ?.int
countByC_K
(long CPDefinitionId, String key) Returns the number of cp definition option rels where CPDefinitionId = ? and key = ?.int
countByC_SC
(long CPDefinitionId, boolean skuContributor) Returns the number of cp definition option rels where CPDefinitionId = ? and skuContributor = ?.int
countByCompanyId
(long companyId) Returns the number of cp definition option rels where companyId = ?.int
countByCPDefinitionId
(long CPDefinitionId) Returns the number of cp definition option rels where CPDefinitionId = ?.int
countByCPDI_R
(long CPDefinitionId, boolean required) Returns the number of cp definition option rels where CPDefinitionId = ? and required = ?.int
countByCPOptionId
(long CPOptionId) Returns the number of cp definition option rels where CPOptionId = ?.int
countByGroupId
(long groupId) Returns the number of cp definition option rels where groupId = ?.int
countByUuid
(String uuid) Returns the number of cp definition option rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition option rels where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition option rels where uuid = ? and groupId = ?.create
(long CPDefinitionOptionRelId) Creates a new cp definition option rel with the primary key.fetchByC_C
(long CPDefinitionId, long CPOptionId) Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returnsnull
if it could not be found.fetchByC_C
(long CPDefinitionId, long CPOptionId, boolean useFinderCache) Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_K
(long CPDefinitionId, String key) Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found.fetchByC_K
(long CPDefinitionId, String key, boolean useFinderCache) Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_SC_First
(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.fetchByC_SC_Last
(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where companyId = ?.fetchByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.fetchByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.fetchByCPDI_R_First
(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.fetchByCPDI_R_Last
(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.fetchByCPOptionId_First
(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPOptionId = ?.fetchByCPOptionId_Last
(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPOptionId = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where groupId = ?.fetchByPrimaryKey
(long CPDefinitionOptionRelId) Returns the cp definition option 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<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp definition option 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 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<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where uuid = ?.findAll()
Returns all the cp definition option rels.findAll
(int start, int end) Returns a range of all the cp definition option rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels.findByC_C
(long CPDefinitionId, long CPOptionId) Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.Returns the cp definition option rel where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.findByC_SC
(long CPDefinitionId, boolean skuContributor) Returns all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.findByC_SC
(long CPDefinitionId, boolean skuContributor, int start, int end) Returns a range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.findByC_SC
(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.findByC_SC
(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.findByC_SC_First
(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.findByC_SC_Last
(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.findByC_SC_PrevAndNext
(long CPDefinitionOptionRelId, long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.findByCompanyId
(long companyId) Returns all the cp definition option rels where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp definition option rels where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long CPDefinitionOptionRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where companyId = ?.findByCPDefinitionId
(long CPDefinitionId) Returns all the cp definition option rels where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end) Returns a range of all the cp definition option rels where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.findByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_PrevAndNext
(long CPDefinitionOptionRelId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ?.findByCPDI_R
(long CPDefinitionId, boolean required) Returns all the cp definition option rels where CPDefinitionId = ? and required = ?.findByCPDI_R
(long CPDefinitionId, boolean required, int start, int end) Returns a range of all the cp definition option rels where CPDefinitionId = ? and required = ?.findByCPDI_R
(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.findByCPDI_R
(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.findByCPDI_R_First
(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.findByCPDI_R_Last
(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.findByCPDI_R_PrevAndNext
(long CPDefinitionOptionRelId, long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.findByCPOptionId
(long CPOptionId) Returns all the cp definition option rels where CPOptionId = ?.findByCPOptionId
(long CPOptionId, int start, int end) Returns a range of all the cp definition option rels where CPOptionId = ?.findByCPOptionId
(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPOptionId = ?.findByCPOptionId
(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPOptionId = ?.findByCPOptionId_First
(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPOptionId = ?.findByCPOptionId_Last
(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPOptionId = ?.findByCPOptionId_PrevAndNext
(long CPDefinitionOptionRelId, long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPOptionId = ?.findByGroupId
(long groupId) Returns all the cp definition option rels where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the cp definition option rels where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long CPDefinitionOptionRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where groupId = ?.findByPrimaryKey
(long CPDefinitionOptionRelId) Returns the cp definition option rel with the primary key or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.findByUuid
(String uuid) Returns all the cp definition option rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition option rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp definition option rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPDefinitionOptionRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp definition option rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPDefinitionOptionRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ?.remove
(long CPDefinitionOptionRelId) Removes the cp definition option rel with the primary key from the database.void
Removes all the cp definition option rels from the database.removeByC_C
(long CPDefinitionId, long CPOptionId) Removes the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? from the database.removeByC_K
(long CPDefinitionId, String key) Removes the cp definition option rel where CPDefinitionId = ? and key = ? from the database.void
removeByC_SC
(long CPDefinitionId, boolean skuContributor) Removes all the cp definition option rels where CPDefinitionId = ? and skuContributor = ? from the database.void
removeByCompanyId
(long companyId) Removes all the cp definition option rels where companyId = ? from the database.void
removeByCPDefinitionId
(long CPDefinitionId) Removes all the cp definition option rels where CPDefinitionId = ? from the database.void
removeByCPDI_R
(long CPDefinitionId, boolean required) Removes all the cp definition option rels where CPDefinitionId = ? and required = ? from the database.void
removeByCPOptionId
(long CPOptionId) Removes all the cp definition option rels where CPOptionId = ? from the database.void
removeByGroupId
(long groupId) Removes all the cp definition option rels where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp definition option rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition option rels where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp definition option rel where uuid = ? and groupId = ? from the database.updateImpl
(CPDefinitionOptionRel cpDefinitionOptionRel) 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 rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition option rels
-
findByUuid
Returns a range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByUuid
List<CPDefinitionOptionRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByUuid
List<CPDefinitionOptionRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByUuid_First
CPDefinitionOptionRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByUuid_First
CPDefinitionOptionRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByUuid_Last
CPDefinitionOptionRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByUuid_Last
CPDefinitionOptionRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByUuid_PrevAndNext
CPDefinitionOptionRel[] findByUuid_PrevAndNext(long CPDefinitionOptionRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByUuid
Removes all the cp definition option rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition option rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition option rels
-
findByUUID_G
CPDefinitionOptionRel findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByUUID_G
Returns the cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
fetchByUUID_G
Returns the cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
removeByUUID_G
CPDefinitionOptionRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionRelException Removes the cp definition option rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition option rel that was removed
- Throws:
NoSuchCPDefinitionOptionRelException
-
countByUUID_G
Returns the number of cp definition option rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition option rels
-
findByUuid_C
Returns all the cp definition option rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition option rels
-
findByUuid_C
Returns a range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByUuid_C
List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByUuid_C
List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByUuid_C_First
CPDefinitionOptionRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByUuid_C_First
CPDefinitionOptionRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByUuid_C_Last
CPDefinitionOptionRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByUuid_C_Last
CPDefinitionOptionRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByUuid_C_PrevAndNext
CPDefinitionOptionRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByUuid_C
Removes all the cp definition option rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition option rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition option rels
-
findByGroupId
Returns all the cp definition option rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp definition option rels
-
findByGroupId
Returns a range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByGroupId
List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByGroupId
List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByGroupId_First
CPDefinitionOptionRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByGroupId_First
CPDefinitionOptionRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByGroupId_Last
CPDefinitionOptionRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByGroupId_Last
CPDefinitionOptionRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByGroupId_PrevAndNext
CPDefinitionOptionRel[] findByGroupId_PrevAndNext(long CPDefinitionOptionRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where groupId = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the cp definition option rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of cp definition option rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp definition option rels
-
findByCompanyId
Returns all the cp definition option rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp definition option rels
-
findByCompanyId
Returns a range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByCompanyId
List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByCompanyId
List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByCompanyId_First
CPDefinitionOptionRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCompanyId_First
CPDefinitionOptionRel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByCompanyId_Last
CPDefinitionOptionRel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option 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 rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCompanyId_Last
CPDefinitionOptionRel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option 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 rel, or
null
if a matching cp definition option rel could not be found
-
findByCompanyId_PrevAndNext
CPDefinitionOptionRel[] findByCompanyId_PrevAndNext(long CPDefinitionOptionRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where companyId = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp definition option rels where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp definition option rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp definition option rels
-
findByCPDefinitionId
Returns all the cp definition option rels where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition option rels
-
findByCPDefinitionId
Returns a range of all the cp definition option rels where CPDefinitionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByCPDefinitionId
List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByCPDefinitionId
List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByCPDefinitionId_First
CPDefinitionOptionRel findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPDefinitionId_First
CPDefinitionOptionRel fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPDefinitionId_Last
CPDefinitionOptionRel findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPDefinitionId_Last
CPDefinitionOptionRel fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPDefinitionId_PrevAndNext
CPDefinitionOptionRel[] findByCPDefinitionId_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByCPDefinitionId
void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition option rels where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition ID
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition option rels where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp definition option rels
-
findByCPOptionId
Returns all the cp definition option rels where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option ID- Returns:
- the matching cp definition option rels
-
findByCPOptionId
Returns a range of all the cp definition option rels where CPOptionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPOptionId
- the cp option IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByCPOptionId
List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPOptionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPOptionId
- the cp option IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByCPOptionId
List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPOptionId = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPOptionId
- the cp option IDstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByCPOptionId_First
CPDefinitionOptionRel findByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option rel in the ordered set where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPOptionId_First
CPDefinitionOptionRel fetchByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPOptionId_Last
CPDefinitionOptionRel findByCPOptionId_Last(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option rel in the ordered set where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPOptionId_Last
CPDefinitionOptionRel fetchByCPOptionId_Last(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPOptionId_PrevAndNext
CPDefinitionOptionRel[] findByCPOptionId_PrevAndNext(long CPDefinitionOptionRelId, long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPOptionId = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPOptionId
- the cp option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByCPOptionId
void removeByCPOptionId(long CPOptionId) Removes all the cp definition option rels where CPOptionId = ? from the database.- Parameters:
CPOptionId
- the cp option ID
-
countByCPOptionId
int countByCPOptionId(long CPOptionId) Returns the number of cp definition option rels where CPOptionId = ?.- Parameters:
CPOptionId
- the cp option ID- Returns:
- the number of matching cp definition option rels
-
findByC_C
CPDefinitionOptionRel findByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option ID- Returns:
- the matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByC_C
Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option ID- Returns:
- the matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
fetchByC_C
Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
removeByC_C
CPDefinitionOptionRel removeByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException Removes the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option ID- Returns:
- the cp definition option rel that was removed
- Throws:
NoSuchCPDefinitionOptionRelException
-
countByC_C
int countByC_C(long CPDefinitionId, long CPOptionId) Returns the number of cp definition option rels where CPDefinitionId = ? and CPOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionId
- the cp option ID- Returns:
- the number of matching cp definition option rels
-
findByCPDI_R
Returns all the cp definition option rels where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the required- Returns:
- the matching cp definition option rels
-
findByCPDI_R
Returns a range of all the cp definition option rels where CPDefinitionId = ? and required = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByCPDI_R
List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByCPDI_R
List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByCPDI_R_First
CPDefinitionOptionRel findByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPDI_R_First
CPDefinitionOptionRel fetchByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPDI_R_Last
CPDefinitionOptionRel findByCPDI_R_Last(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByCPDI_R_Last
CPDefinitionOptionRel fetchByCPDI_R_Last(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByCPDI_R_PrevAndNext
CPDefinitionOptionRel[] findByCPDI_R_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDrequired
- the requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByCPDI_R
void removeByCPDI_R(long CPDefinitionId, boolean required) Removes all the cp definition option rels where CPDefinitionId = ? and required = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the required
-
countByCPDI_R
int countByCPDI_R(long CPDefinitionId, boolean required) Returns the number of cp definition option rels where CPDefinitionId = ? and required = ?.- Parameters:
CPDefinitionId
- the cp definition IDrequired
- the required- Returns:
- the number of matching cp definition option rels
-
findByC_SC
Returns all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributor- Returns:
- the matching cp definition option rels
-
findByC_SC
List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end) Returns a range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of matching cp definition option rels
-
findByC_SC
List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option rels
-
findByC_SC
List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributorstart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
findByC_SC_First
CPDefinitionOptionRel findByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByC_SC_First
CPDefinitionOptionRel fetchByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByC_SC_Last
CPDefinitionOptionRel findByC_SC_Last(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByC_SC_Last
CPDefinitionOptionRel fetchByC_SC_Last(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns the last cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
findByC_SC_PrevAndNext
CPDefinitionOptionRel[] findByC_SC_PrevAndNext(long CPDefinitionOptionRelId, long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rels before and after the current cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionOptionRelId
- the primary key of the current cp definition option relCPDefinitionId
- the cp definition IDskuContributor
- the sku contributororderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
removeByC_SC
void removeByC_SC(long CPDefinitionId, boolean skuContributor) Removes all the cp definition option rels where CPDefinitionId = ? and skuContributor = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributor
-
countByC_SC
int countByC_SC(long CPDefinitionId, boolean skuContributor) Returns the number of cp definition option rels where CPDefinitionId = ? and skuContributor = ?.- Parameters:
CPDefinitionId
- the cp definition IDskuContributor
- the sku contributor- Returns:
- the number of matching cp definition option rels
-
findByC_K
CPDefinitionOptionRel findByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rel where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the matching cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a matching cp definition option rel could not be found
-
fetchByC_K
Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
fetchByC_K
Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option rel, or
null
if a matching cp definition option rel could not be found
-
removeByC_K
CPDefinitionOptionRel removeByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionOptionRelException Removes the cp definition option rel where CPDefinitionId = ? and key = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the cp definition option rel that was removed
- Throws:
NoSuchCPDefinitionOptionRelException
-
countByC_K
Returns the number of cp definition option rels where CPDefinitionId = ? and key = ?.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the number of matching cp definition option rels
-
cacheResult
Caches the cp definition option rel in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionRel
- the cp definition option rel
-
cacheResult
Caches the cp definition option rels in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionRels
- the cp definition option rels
-
create
Creates a new cp definition option rel with the primary key. Does not add the cp definition option rel to the database.- Parameters:
CPDefinitionOptionRelId
- the primary key for the new cp definition option rel- Returns:
- the new cp definition option rel
-
remove
CPDefinitionOptionRel remove(long CPDefinitionOptionRelId) throws NoSuchCPDefinitionOptionRelException Removes the cp definition option rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionOptionRelId
- the primary key of the cp definition option rel- Returns:
- the cp definition option rel that was removed
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPDefinitionOptionRel findByPrimaryKey(long CPDefinitionOptionRelId) throws NoSuchCPDefinitionOptionRelException Returns the cp definition option rel with the primary key or throws aNoSuchCPDefinitionOptionRelException
if it could not be found.- Parameters:
CPDefinitionOptionRelId
- the primary key of the cp definition option rel- Returns:
- the cp definition option rel
- Throws:
NoSuchCPDefinitionOptionRelException
- if a cp definition option rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition option rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionOptionRelId
- the primary key of the cp definition option rel- Returns:
- the cp definition option rel, or
null
if a cp definition option rel with the primary key could not be found
-
findAll
List<CPDefinitionOptionRel> findAll()Returns all the cp definition option rels.- Returns:
- the cp definition option rels
-
findAll
Returns a range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)- Returns:
- the range of cp definition option rels
-
findAll
List<CPDefinitionOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition option rels
-
findAll
List<CPDefinitionOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option 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 fromCPDefinitionOptionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option 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 rels
-
removeAll
void removeAll()Removes all the cp definition option rels from the database. -
countAll
int countAll()Returns the number of cp definition option rels.- Returns:
- the number of cp definition option rels
-