Class CPConfigurationListRelUtil
com.liferay.commerce.product.service.persistence.impl.CPConfigurationListRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CPConfigurationListRel cpConfigurationListRel) Caches the cp configuration list rel in the entity cache if it is enabled.static voidcacheResult(List<CPConfigurationListRel> cpConfigurationListRels) Caches the cp configuration list rels in the entity cache if it is enabled.static voidstatic voidclearCache(CPConfigurationListRel cpConfigurationListRel) static intcountAll()Returns the number of cp configuration list rels.static intcountByC_C(long classNameId, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.static intcountByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and classPK = ? and CPConfigurationListId = ?.static intcountByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration list rels where CPConfigurationListId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPConfigurationListRelcreate(long CPConfigurationListRelId) Creates a new cp configuration list rel with the primary key.static CPConfigurationListRelfetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found.static CPConfigurationListRelfetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPConfigurationListRelfetchByC_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 = ?.static CPConfigurationListRelfetchByC_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 = ?.static CPConfigurationListRelfetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.static CPConfigurationListRelfetchByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.static CPConfigurationListRelfetchByPrimaryKey(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or returnsnullif it could not be found.static Map<Serializable,CPConfigurationListRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<CPConfigurationListRel>findAll()Returns all the cp configuration list rels.static List<CPConfigurationListRel>findAll(int start, int end) Returns a range of all the cp configuration list rels.static 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.static 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.static List<CPConfigurationListRel>findByC_C(long classNameId, long CPConfigurationListId) Returns all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPConfigurationListRelfindByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationListRelExceptionif it could not be found.static CPConfigurationListRelfindByC_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 = ?.static CPConfigurationListRelfindByC_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 = ?.static CPConfigurationListRel[]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 = ?.static List<CPConfigurationListRel>findByCPConfigurationListId(long CPConfigurationListId) Returns all the cp configuration list rels where CPConfigurationListId = ?.static List<CPConfigurationListRel>findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where CPConfigurationListId = ?.static 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 = ?.static 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 = ?.static CPConfigurationListRelfindByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the first cp configuration list rel in the ordered set where CPConfigurationListId = ?.static CPConfigurationListRelfindByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) Returns the last cp configuration list rel in the ordered set where CPConfigurationListId = ?.static CPConfigurationListRel[]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 = ?.static CPConfigurationListRelfindByPrimaryKey(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or throws aNoSuchCPConfigurationListRelExceptionif it could not be found.static List<CPConfigurationListRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPConfigurationListRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPConfigurationListRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) static CPConfigurationListRelremove(long CPConfigurationListRelId) Removes the cp configuration list rel with the primary key from the database.static voidRemoves all the cp configuration list rels from the database.static voidremoveByC_C(long classNameId, long CPConfigurationListId) Removes all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ? from the database.static CPConfigurationListRelremoveByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Removes the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.static voidremoveByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration list rels where CPConfigurationListId = ? from the database.static voidsetPersistence(CPConfigurationListRelPersistence persistence) static CPConfigurationListRelupdate(CPConfigurationListRel cpConfigurationListRel) static CPConfigurationListRelupdate(CPConfigurationListRel cpConfigurationListRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPConfigurationListRelupdateImpl(CPConfigurationListRel cpConfigurationListRel)
-
Constructor Details
-
CPConfigurationListRelUtil
public CPConfigurationListRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPConfigurationListRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPConfigurationListRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPConfigurationListRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPConfigurationListRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationListRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPConfigurationListRel update(CPConfigurationListRel cpConfigurationListRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchCPConfigurationListRelException
-
fetchByCPConfigurationListId_First
public static 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
nullif a matching cp configuration list rel could not be found
-
findByCPConfigurationListId_Last
public static 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 foundNoSuchCPConfigurationListRelException
-
fetchByCPConfigurationListId_Last
public static 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
nullif a matching cp configuration list rel could not be found
-
findByCPConfigurationListId_PrevAndNext
public static 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 foundNoSuchCPConfigurationListRelException
-
removeByCPConfigurationListId
public static void removeByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration list rels where CPConfigurationListId = ? from the database.- Parameters:
CPConfigurationListId- the cp configuration list ID
-
countByCPConfigurationListId
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchCPConfigurationListRelException
-
fetchByC_C_First
public static 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
nullif a matching cp configuration list rel could not be found
-
findByC_C_Last
public static 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 foundNoSuchCPConfigurationListRelException
-
fetchByC_C_Last
public static 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
nullif a matching cp configuration list rel could not be found
-
findByC_C_PrevAndNext
public static 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 foundNoSuchCPConfigurationListRelException
-
removeByC_C
public static 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
public static 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
public static 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 aNoSuchCPConfigurationListRelExceptionif 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 foundNoSuchCPConfigurationListRelException
-
fetchByC_C_C
public static CPConfigurationListRel fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration list rel where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnullif 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
nullif a matching cp configuration list rel could not be found
-
fetchByC_C_C
public static 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 returnsnullif 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
nullif a matching cp configuration list rel could not be found
-
removeByC_C_C
public static 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
public static 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
public static 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 foundNoSuchCPConfigurationListRelException
-
updateImpl
-
findByPrimaryKey
public static CPConfigurationListRel findByPrimaryKey(long CPConfigurationListRelId) throws NoSuchCPConfigurationListRelException Returns the cp configuration list rel with the primary key or throws aNoSuchCPConfigurationListRelExceptionif 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 foundNoSuchCPConfigurationListRelException
-
fetchByPrimaryKey
Returns the cp configuration list rel with the primary key or returnsnullif it could not be found.- Parameters:
CPConfigurationListRelId- the primary key of the cp configuration list rel- Returns:
- the cp configuration list rel, or
nullif a cp configuration list rel with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static void removeAll()Removes all the cp configuration list rels from the database. -
countAll
public static int countAll()Returns the number of cp configuration list rels.- Returns:
- the number of cp configuration list rels
-
getPersistence
-
setPersistence
-