Interface CPConfigurationListRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPConfigurationListRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPConfigurationListRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPConfigurationListRel cpConfigurationListRel) Caches the cp configuration list rel in the entity cache if it is enabled.void
cacheResult
(List<CPConfigurationListRel> cpConfigurationListRels) Caches the cp configuration list rels in the entity cache if it is enabled.int
countAll()
Returns the number of cp configuration list rels.int
countByC_C
(long classNameId, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.int
countByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and classPK = ? and CPConfigurationListId = ?.int
countByCPConfigurationListId
(long CPConfigurationListId) Returns the number of cp configuration list rels where CPConfigurationListId = ?.create
(long CPConfigurationListRelId) Creates a new cp configuration list rel with the primary key.fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.fetchByC_C_Last
(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.fetchByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.fetchByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.fetchByPrimaryKey
(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the cp configuration list rels.findAll
(int start, int end) Returns a range of all the cp configuration list rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list rels.findByC_C
(long classNameId, long CPConfigurationListId) Returns all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.findByC_C
(long classNameId, long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.findByC_C
(long classNameId, long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.findByC_C
(long classNameId, long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.findByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationListRelException
if it could not be found.findByC_C_First
(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.findByC_C_Last
(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.findByC_C_PrevAndNext
(long CPConfigurationListRelId, long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the cp configuration list rels before and after the current cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId) Returns all the cp configuration list rels where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list rels where CPConfigurationListId = ?.findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list rels where CPConfigurationListId = ?.findByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.findByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.findByCPConfigurationListId_PrevAndNext
(long CPConfigurationListRelId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the cp configuration list rels before and after the current cp configuration list rel in the ordered set where CPConfigurationListId = ?.findByPrimaryKey
(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or throws aNoSuchCPConfigurationListRelException
if it could not be found.remove
(long CPConfigurationListRelId) Removes the cp configuration list rel with the primary key from the database.void
Removes all the cp configuration list rels from the database.void
removeByC_C
(long classNameId, long CPConfigurationListId) Removes all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ? from the database.removeByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Removes the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.void
removeByCPConfigurationListId
(long CPConfigurationListId) Removes all the cp configuration list rels where CPConfigurationListId = ? from the database.updateImpl
(CPConfigurationListRel cpConfigurationListRel) 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
-
findByCPConfigurationListId
Returns all the cp configuration list rels where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration list rels
-
findByCPConfigurationListId
List<CPConfigurationListRel> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)- Returns:
- the range of matching cp configuration list rels
-
findByCPConfigurationListId
List<CPConfigurationListRel> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list rels where CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration list rels
-
findByCPConfigurationListId
List<CPConfigurationListRel> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list rels where CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list 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 configuration list rels
-
findByCPConfigurationListId_First
CPConfigurationListRel findByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a matching cp configuration list rel could not be found
-
fetchByCPConfigurationListId_First
CPConfigurationListRel fetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
findByCPConfigurationListId_Last
CPConfigurationListRel findByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a matching cp configuration list rel could not be found
-
fetchByCPConfigurationListId_Last
CPConfigurationListRel fetchByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
findByCPConfigurationListId_PrevAndNext
CPConfigurationListRel[] findByCPConfigurationListId_PrevAndNext(long CPConfigurationListRelId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the cp configuration list rels before and after the current cp configuration list rel in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListRelId
- the primary key of the current cp configuration list relCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a cp configuration list rel with the primary key could not be found
-
removeByCPConfigurationListId
void removeByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration list rels where CPConfigurationListId = ? from the database.- Parameters:
CPConfigurationListId
- the cp configuration list ID
-
countByCPConfigurationListId
int countByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration list rels where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration list rels
-
findByC_C
Returns all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration list rels
-
findByC_C
List<CPConfigurationListRel> findByC_C(long classNameId, long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)- Returns:
- the range of matching cp configuration list rels
-
findByC_C
List<CPConfigurationListRel> findByC_C(long classNameId, long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration list rels
-
findByC_C
List<CPConfigurationListRel> findByC_C(long classNameId, long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.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 fromCPConfigurationListRelModelImpl
.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list 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 configuration list rels
-
findByC_C_First
CPConfigurationListRel findByC_C_First(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the first cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a matching cp configuration list rel could not be found
-
fetchByC_C_First
CPConfigurationListRel fetchByC_C_First(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
findByC_C_Last
CPConfigurationListRel findByC_C_Last(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the last cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a matching cp configuration list rel could not be found
-
fetchByC_C_Last
CPConfigurationListRel fetchByC_C_Last(long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
findByC_C_PrevAndNext
CPConfigurationListRel[] findByC_C_PrevAndNext(long CPConfigurationListRelId, long classNameId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) throws NoSuchCPConfigurationListRelException Returns the cp configuration list rels before and after the current cp configuration list rel in the ordered set where classNameId = ? and CPConfigurationListId = ?.- Parameters:
CPConfigurationListRelId
- the primary key of the current cp configuration list relclassNameId
- the class name IDCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a cp configuration list rel with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long CPConfigurationListId) Removes all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ? from the database.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list ID
-
countByC_C
int countByC_C(long classNameId, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDCPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration list rels
-
findByC_C_C
CPConfigurationListRel findByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationListRelException Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationListRelException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a matching cp configuration list rel could not be found
-
fetchByC_C_C
Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
fetchByC_C_C
CPConfigurationListRel fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration list rel, or
null
if a matching cp configuration list rel could not be found
-
removeByC_C_C
CPConfigurationListRel removeByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationListRelException Removes the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the cp configuration list rel that was removed
- Throws:
NoSuchCPConfigurationListRelException
-
countByC_C_C
int countByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and classPK = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration list rels
-
cacheResult
Caches the cp configuration list rel in the entity cache if it is enabled.- Parameters:
cpConfigurationListRel
- the cp configuration list rel
-
cacheResult
Caches the cp configuration list rels in the entity cache if it is enabled.- Parameters:
cpConfigurationListRels
- the cp configuration list rels
-
create
Creates a new cp configuration list rel with the primary key. Does not add the cp configuration list rel to the database.- Parameters:
CPConfigurationListRelId
- the primary key for the new cp configuration list rel- Returns:
- the new cp configuration list rel
-
remove
CPConfigurationListRel remove(long CPConfigurationListRelId) throws NoSuchCPConfigurationListRelException Removes the cp configuration list rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPConfigurationListRelId
- the primary key of the cp configuration list rel- Returns:
- the cp configuration list rel that was removed
- Throws:
NoSuchCPConfigurationListRelException
- if a cp configuration list rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPConfigurationListRel findByPrimaryKey(long CPConfigurationListRelId) throws NoSuchCPConfigurationListRelException Returns the cp configuration list rel with the primary key or throws aNoSuchCPConfigurationListRelException
if it could not be found.- Parameters:
CPConfigurationListRelId
- the primary key of the cp configuration list rel- Returns:
- the cp configuration list rel
- Throws:
NoSuchCPConfigurationListRelException
- if a cp configuration list rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp configuration list rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPConfigurationListRelId
- the primary key of the cp configuration list rel- Returns:
- the cp configuration list rel, or
null
if a cp configuration list rel with the primary key could not be found
-
findAll
List<CPConfigurationListRel> findAll()Returns all the cp configuration list rels.- Returns:
- the cp configuration list rels
-
findAll
Returns a range of all the cp configuration list 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 fromCPConfigurationListRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)- Returns:
- the range of cp configuration list rels
-
findAll
List<CPConfigurationListRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns an ordered range of all the cp configuration list 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 fromCPConfigurationListRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp configuration list rels
-
findAll
List<CPConfigurationListRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration list 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 fromCPConfigurationListRelModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration list relsend
- the upper bound of the range of cp configuration list 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 configuration list rels
-
removeAll
void removeAll()Removes all the cp configuration list rels from the database. -
countAll
int countAll()Returns the number of cp configuration list rels.- Returns:
- the number of cp configuration list rels
-