Interface CPSpecificationOptionListTypeDefinitionRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPSpecificationOptionListTypeDefinitionRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Caches the cp specification option list type definition rel in the entity cache if it is enabled.void
cacheResult
(List<CPSpecificationOptionListTypeDefinitionRel> cpSpecificationOptionListTypeDefinitionRels) Caches the cp specification option list type definition rels in the entity cache if it is enabled.int
countAll()
Returns the number of cp specification option list type definition rels.int
countByC_L
(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ? and listTypeDefinitionId = ?.int
countByCPSpecificationOptionId
(long CPSpecificationOptionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ?.int
countByListTypeDefinitionId
(long listTypeDefinitionId) Returns the number of cp specification option list type definition rels where listTypeDefinitionId = ?.create
(long CPSpecificationOptionListTypeDefinitionRelId) Creates a new cp specification option list type definition rel with the primary key.fetchByC_L
(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found.fetchByC_L
(long CPSpecificationOptionId, long listTypeDefinitionId, boolean useFinderCache) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCPSpecificationOptionId_First
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.fetchByCPSpecificationOptionId_Last
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.fetchByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.fetchByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.fetchByPrimaryKey
(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the cp specification option list type definition rels.findAll
(int start, int end) Returns a range of all the cp specification option list type definition rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition rels.findByC_L
(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelException
if it could not be found.findByCPSpecificationOptionId
(long CPSpecificationOptionId) Returns all the cp specification option list type definition rels where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_First
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_Last
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_PrevAndNext
(long CPSpecificationOptionListTypeDefinitionRelId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.findByListTypeDefinitionId
(long listTypeDefinitionId) Returns all the cp specification option list type definition rels where listTypeDefinitionId = ?.findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end) Returns a range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.findByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.findByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.findByListTypeDefinitionId_PrevAndNext
(long CPSpecificationOptionListTypeDefinitionRelId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.findByPrimaryKey
(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelException
if it could not be found.remove
(long CPSpecificationOptionListTypeDefinitionRelId) Removes the cp specification option list type definition rel with the primary key from the database.void
Removes all the cp specification option list type definition rels from the database.removeByC_L
(long CPSpecificationOptionId, long listTypeDefinitionId) Removes the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? from the database.void
removeByCPSpecificationOptionId
(long CPSpecificationOptionId) Removes all the cp specification option list type definition rels where CPSpecificationOptionId = ? from the database.void
removeByListTypeDefinitionId
(long listTypeDefinitionId) Removes all the cp specification option list type definition rels where listTypeDefinitionId = ? from the database.updateImpl
(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) 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
-
findByCPSpecificationOptionId
List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId) Returns all the cp specification option list type definition rels where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option ID- Returns:
- the matching cp specification option list type definition rels
-
findByCPSpecificationOptionId
List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)- Returns:
- the range of matching cp specification option list type definition rels
-
findByCPSpecificationOptionId
List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification option list type definition rels
-
findByCPSpecificationOptionId
List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition 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 specification option list type definition rels
-
findByCPSpecificationOptionId_First
CPSpecificationOptionListTypeDefinitionRel findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the first cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a matching cp specification option list type definition rel could not be found
-
fetchByCPSpecificationOptionId_First
CPSpecificationOptionListTypeDefinitionRel fetchByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
findByCPSpecificationOptionId_Last
CPSpecificationOptionListTypeDefinitionRel findByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a matching cp specification option list type definition rel could not be found
-
fetchByCPSpecificationOptionId_Last
CPSpecificationOptionListTypeDefinitionRel fetchByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
findByCPSpecificationOptionId_PrevAndNext
CPSpecificationOptionListTypeDefinitionRel[] findByCPSpecificationOptionId_PrevAndNext(long CPSpecificationOptionListTypeDefinitionRelId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key of the current cp specification option list type definition relCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a cp specification option list type definition rel with the primary key could not be found
-
removeByCPSpecificationOptionId
void removeByCPSpecificationOptionId(long CPSpecificationOptionId) Removes all the cp specification option list type definition rels where CPSpecificationOptionId = ? from the database.- Parameters:
CPSpecificationOptionId
- the cp specification option ID
-
countByCPSpecificationOptionId
int countByCPSpecificationOptionId(long CPSpecificationOptionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option ID- Returns:
- the number of matching cp specification option list type definition rels
-
findByListTypeDefinitionId
List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId) Returns all the cp specification option list type definition rels where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition ID- Returns:
- the matching cp specification option list type definition rels
-
findByListTypeDefinitionId
List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end) Returns a range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)- Returns:
- the range of matching cp specification option list type definition rels
-
findByListTypeDefinitionId
List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp specification option list type definition rels
-
findByListTypeDefinitionId
List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition 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 specification option list type definition rels
-
findByListTypeDefinitionId_First
CPSpecificationOptionListTypeDefinitionRel findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the first cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a matching cp specification option list type definition rel could not be found
-
fetchByListTypeDefinitionId_First
CPSpecificationOptionListTypeDefinitionRel fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the first cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
findByListTypeDefinitionId_Last
CPSpecificationOptionListTypeDefinitionRel findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a matching cp specification option list type definition rel could not be found
-
fetchByListTypeDefinitionId_Last
CPSpecificationOptionListTypeDefinitionRel fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
findByListTypeDefinitionId_PrevAndNext
CPSpecificationOptionListTypeDefinitionRel[] findByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionListTypeDefinitionRelId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key of the current cp specification option list type definition rellistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a cp specification option list type definition rel with the primary key could not be found
-
removeByListTypeDefinitionId
void removeByListTypeDefinitionId(long listTypeDefinitionId) Removes all the cp specification option list type definition rels where listTypeDefinitionId = ? from the database.- Parameters:
listTypeDefinitionId
- the list type definition ID
-
countByListTypeDefinitionId
int countByListTypeDefinitionId(long listTypeDefinitionId) Returns the number of cp specification option list type definition rels where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition ID- Returns:
- the number of matching cp specification option list type definition rels
-
findByC_L
CPSpecificationOptionListTypeDefinitionRel findByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelException
if it could not be found.- Parameters:
CPSpecificationOptionId
- the cp specification option IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the matching cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a matching cp specification option list type definition rel could not be found
-
fetchByC_L
CPSpecificationOptionListTypeDefinitionRel fetchByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPSpecificationOptionId
- the cp specification option IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
fetchByC_L
CPSpecificationOptionListTypeDefinitionRel fetchByC_L(long CPSpecificationOptionId, long listTypeDefinitionId, boolean useFinderCache) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPSpecificationOptionId
- the cp specification option IDlistTypeDefinitionId
- the list type definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp specification option list type definition rel, or
null
if a matching cp specification option list type definition rel could not be found
-
removeByC_L
CPSpecificationOptionListTypeDefinitionRel removeByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Removes the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? from the database.- Parameters:
CPSpecificationOptionId
- the cp specification option IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the cp specification option list type definition rel that was removed
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
-
countByC_L
int countByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ? and listTypeDefinitionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the number of matching cp specification option list type definition rels
-
cacheResult
void cacheResult(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Caches the cp specification option list type definition rel in the entity cache if it is enabled.- Parameters:
cpSpecificationOptionListTypeDefinitionRel
- the cp specification option list type definition rel
-
cacheResult
void cacheResult(List<CPSpecificationOptionListTypeDefinitionRel> cpSpecificationOptionListTypeDefinitionRels) Caches the cp specification option list type definition rels in the entity cache if it is enabled.- Parameters:
cpSpecificationOptionListTypeDefinitionRels
- the cp specification option list type definition rels
-
create
CPSpecificationOptionListTypeDefinitionRel create(long CPSpecificationOptionListTypeDefinitionRelId) Creates a new cp specification option list type definition rel with the primary key. Does not add the cp specification option list type definition rel to the database.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key for the new cp specification option list type definition rel- Returns:
- the new cp specification option list type definition rel
-
remove
CPSpecificationOptionListTypeDefinitionRel remove(long CPSpecificationOptionListTypeDefinitionRelId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Removes the cp specification option list type definition rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key of the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel that was removed
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a cp specification option list type definition rel with the primary key could not be found
-
updateImpl
CPSpecificationOptionListTypeDefinitionRel updateImpl(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) -
findByPrimaryKey
CPSpecificationOptionListTypeDefinitionRel findByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException Returns the cp specification option list type definition rel with the primary key or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelException
if it could not be found.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key of the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel
- Throws:
NoSuchCPSpecificationOptionListTypeDefinitionRelException
- if a cp specification option list type definition rel with the primary key could not be found
-
fetchByPrimaryKey
CPSpecificationOptionListTypeDefinitionRel fetchByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPSpecificationOptionListTypeDefinitionRelId
- the primary key of the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel, or
null
if a cp specification option list type definition rel with the primary key could not be found
-
findAll
List<CPSpecificationOptionListTypeDefinitionRel> findAll()Returns all the cp specification option list type definition rels.- Returns:
- the cp specification option list type definition rels
-
findAll
Returns a range of all the cp specification option list type definition 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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)- Returns:
- the range of cp specification option list type definition rels
-
findAll
List<CPSpecificationOptionListTypeDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) Returns an ordered range of all the cp specification option list type definition 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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp specification option list type definition rels
-
findAll
List<CPSpecificationOptionListTypeDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp specification option list type definition 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 fromCPSpecificationOptionListTypeDefinitionRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp specification option list type definition relsend
- the upper bound of the range of cp specification option list type definition 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 specification option list type definition rels
-
removeAll
void removeAll()Removes all the cp specification option list type definition rels from the database. -
countAll
int countAll()Returns the number of cp specification option list type definition rels.- Returns:
- the number of cp specification option list type definition rels
-