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 TypeMethodDescriptionintcountByC_C(long classNameId, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.intcountByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration list rels where classNameId = ? and classPK = ? and CPConfigurationListId = ?.intcountByCPConfigurationListId(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.default 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.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.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 = ?.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 = ?.fetchByPrimaryKey(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or returnsnullif it could not be found.default List<CPConfigurationListRel> findByC_C(long classNameId, long CPConfigurationListId) Returns all the cp configuration list rels where classNameId = ? and CPConfigurationListId = ?.default 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 = ?.default 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 = ?.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 aNoSuchCPConfigurationListRelExceptionif 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 = ?.default List<CPConfigurationListRel> findByCPConfigurationListId(long CPConfigurationListId) Returns all the cp configuration list rels where CPConfigurationListId = ?.default List<CPConfigurationListRel> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration list rels where CPConfigurationListId = ?.default 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 = ?.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 = ?.findByPrimaryKey(long CPConfigurationListRelId) Returns the cp configuration list rel with the primary key or throws aNoSuchCPConfigurationListRelExceptionif it could not be found.remove(long CPConfigurationListRelId) Removes the cp configuration list rel with the primary key from the database.voidremoveByC_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.voidremoveByCPConfigurationListId(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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
nullif a matching cp configuration list rel 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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
nullif a matching cp configuration list rel 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 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 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 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
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
-
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 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 found
-
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
-
fetchByC_C_C
default 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
-
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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
-
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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.product.model.impl.CPConfigurationListRelModelImpl.- 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
-