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 TypeMethodDescriptionintcountByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ? and listTypeDefinitionId = ?.intcountByCPSpecificationOptionId(long CPSpecificationOptionId) Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ?.intcountByListTypeDefinitionId(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 returnsnullif 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 returnsnullif 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 = ?.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 = ?.fetchByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key or returnsnullif it could not be found.findByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelExceptionif 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 = ?.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 = ?.findByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key or throws aNoSuchCPSpecificationOptionListTypeDefinitionRelExceptionif it could not be found.remove(long CPSpecificationOptionListTypeDefinitionRelId) Removes the cp specification option list type definition rel with the primary key 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.voidremoveByCPSpecificationOptionId(long CPSpecificationOptionId) Removes all the cp specification option list type definition rels where CPSpecificationOptionId = ? from the database.voidremoveByListTypeDefinitionId(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
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
-
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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
nullif a matching cp specification option list type definition rel 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, 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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
nullif a matching cp specification option list type definition rel 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 aNoSuchCPSpecificationOptionListTypeDefinitionRelExceptionif 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, boolean useFinderCache) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnullif 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
nullif 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
-
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 aNoSuchCPSpecificationOptionListTypeDefinitionRelExceptionif 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 returnsnullif 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
nullif a cp specification option list type definition rel with the primary key could not be found
-
fetchByC_L
default CPSpecificationOptionListTypeDefinitionRel fetchByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returnsnullif 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
nullif a matching cp specification option list type definition rel could not be found
-
findByCPSpecificationOptionId
default 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
default 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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
default 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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
-
findByListTypeDefinitionId
default 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
default 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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
default 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 - 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.CPSpecificationOptionListTypeDefinitionRelModelImpl.- 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
-