Interface CPDefinitionOptionValueRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionOptionValueRel>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionValueRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_K(long CPDefinitionOptionRelId, String key) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.intcountByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.intcountByCompanyId(long companyId) Returns the number of cp definition option value rels where companyId = ?.intcountByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.intcountByCPInstanceUuid(String CPInstanceUuid) Returns the number of cp definition option value rels where CPInstanceUuid = ?.intcountByGroupId(long groupId) Returns the number of cp definition option value rels where groupId = ?.intcountByKey(String key) Returns the number of cp definition option value rels where key = ?.intcountByUuid(String uuid) Returns the number of cp definition option value rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of cp definition option value rels where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of cp definition option value rels where uuid = ? and groupId = ?.create(long CPDefinitionOptionValueRelId) Creates a new cp definition option value rel with the primary key.default CPDefinitionOptionValueRelfetchByC_K(long CPDefinitionOptionRelId, String key) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnullif it could not be found.fetchByC_K(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.fetchByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.fetchByPrimaryKey(long CPDefinitionOptionValueRelId) Returns the cp definition option value rel with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.default CPDefinitionOptionValueRelfetchByUUID_G(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.findByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.default List<CPDefinitionOptionValueRel> findByCompanyId(long companyId) Returns all the cp definition option value rels where companyId = ?.default List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end) Returns a range of all the cp definition option value rels where companyId = ?.default List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.default List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid) Returns all the cp definition option value rels where CPInstanceUuid = ?.default List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end) Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.default List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.default List<CPDefinitionOptionValueRel> findByGroupId(long groupId) Returns all the cp definition option value rels where groupId = ?.default List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end) Returns a range of all the cp definition option value rels where groupId = ?.default List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.default List<CPDefinitionOptionValueRel> Returns all the cp definition option value rels where key = ?.default List<CPDefinitionOptionValueRel> Returns a range of all the cp definition option value rels where key = ?.default List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.findByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.findByPrimaryKey(long CPDefinitionOptionValueRelId) Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.default List<CPDefinitionOptionValueRel> findByUuid(String uuid) Returns all the cp definition option value rels where uuid = ?.default List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end) Returns a range of all the cp definition option value rels where uuid = ?.default List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.default List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId) Returns all the cp definition option value rels where uuid = ? and companyId = ?.default List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.default List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.remove(long CPDefinitionOptionValueRelId) Removes the cp definition option value rel with the primary key from the database.removeByC_K(long CPDefinitionOptionRelId, String key) Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.voidremoveByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.voidremoveByCompanyId(long companyId) Removes all the cp definition option value rels where companyId = ? from the database.voidremoveByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.voidremoveByCPInstanceUuid(String CPInstanceUuid) Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.voidremoveByGroupId(long groupId) Removes all the cp definition option value rels where groupId = ? from the database.voidremoveByKey(String key) Removes all the cp definition option value rels where key = ? from the database.voidremoveByUuid(String uuid) Removes all the cp definition option value rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.updateImpl(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) 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
-
findByUuid
List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByUuid_First
CPDefinitionOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByUuid_First
CPDefinitionOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByUuid
Removes all the cp definition option value rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp definition option value rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp definition option value rels
-
findByUUID_G
CPDefinitionOptionValueRel findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByUUID_G
Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByUUID_G
CPDefinitionOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByUUID_G
Returns the number of cp definition option value rels where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByUuid_C
List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByUuid_C_First
CPDefinitionOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByUuid_C_First
CPDefinitionOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByUuid_C
Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByGroupId
List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where groupId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByGroupId_First
CPDefinitionOptionValueRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByGroupId_First
CPDefinitionOptionValueRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the cp definition option value rels where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of cp definition option value rels where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByCompanyId
List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByCompanyId_First
CPDefinitionOptionValueRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByCompanyId_First
CPDefinitionOptionValueRel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp definition option value rels where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp definition option value rels where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByCPDefinitionOptionRelId_First
CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByCPDefinitionOptionRelId_First
CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByCPDefinitionOptionRelId
void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel ID
-
countByCPDefinitionOptionRelId
int countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel ID- Returns:
- the number of matching cp definition option value rels
-
findByCPInstanceUuid
List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByCPInstanceUuid_First
CPDefinitionOptionValueRel findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByCPInstanceUuid_First
CPDefinitionOptionValueRel fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByCPInstanceUuid
Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid- the cp instance uuid
-
countByCPInstanceUuid
Returns the number of cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuid- Returns:
- the number of matching cp definition option value rels
-
findByKey
List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
key- the keystart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByKey_First
CPDefinitionOptionValueRel findByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByKey_First
CPDefinitionOptionValueRel fetchByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByKey
Removes all the cp definition option value rels where key = ? from the database.- Parameters:
key- the key
-
countByKey
Returns the number of cp definition option value rels where key = ?.- Parameters:
key- the key- Returns:
- the number of matching cp definition option value rels
-
findByC_K
CPDefinitionOptionValueRel findByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDkey- the key- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByC_K
CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDkey- the keyuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByC_K
CPDefinitionOptionValueRel removeByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDkey- the key- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByC_K
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDkey- the key- Returns:
- the number of matching cp definition option value rels
-
findByCDORI_P
List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselectedstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value 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 definition option value rels
-
findByCDORI_P_First
CPDefinitionOptionValueRel findByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselectedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a matching cp definition option value rel could not be found
-
fetchByCDORI_P_First
CPDefinitionOptionValueRel fetchByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselectedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
removeByCDORI_P
void removeByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselected
-
countByCDORI_P
int countByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselected- Returns:
- the number of matching cp definition option value rels
-
create
Creates a new cp definition option value rel with the primary key. Does not add the cp definition option value rel to the database.- Parameters:
CPDefinitionOptionValueRelId- the primary key for the new cp definition option value rel- Returns:
- the new cp definition option value rel
-
remove
CPDefinitionOptionValueRel remove(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionOptionValueRelId- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a cp definition option value rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPDefinitionOptionValueRel findByPrimaryKey(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelExceptionif it could not be found.- Parameters:
CPDefinitionOptionValueRelId- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException- if a cp definition option value rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp definition option value rel with the primary key or returnsnullif it could not be found.- Parameters:
CPDefinitionOptionValueRelId- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel, or
nullif a cp definition option value rel with the primary key could not be found
-
fetchByUUID_G
Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
fetchByC_K
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDkey- the key- Returns:
- the matching cp definition option value rel, or
nullif a matching cp definition option value rel could not be found
-
findByUuid
Returns all the cp definition option value rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp definition option value rels
-
findByUuid
Returns a range of all the cp definition option value rels where uuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByUuid
default List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_C
Returns all the cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp definition option value rels
-
findByUuid_C
default List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByUuid_C
default List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByGroupId
Returns all the cp definition option value rels where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching cp definition option value rels
-
findByGroupId
Returns a range of all the cp definition option value rels where groupId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByGroupId
default List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where groupId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCompanyId
Returns all the cp definition option value rels where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching cp definition option value rels
-
findByCompanyId
Returns a range of all the cp definition option value rels where companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCompanyId
default List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where companyId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel ID- Returns:
- the matching cp definition option value rels
-
findByCPDefinitionOptionRelId
default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
default List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPInstanceUuid
Returns all the cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid- the cp instance uuid- Returns:
- the matching cp definition option value rels
-
findByCPInstanceUuid
default List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end) Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCPInstanceUuid
default List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPInstanceUuid- the cp instance uuidstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByKey
Returns all the cp definition option value rels where key = ?.- Parameters:
key- the key- Returns:
- the matching cp definition option value rels
-
findByKey
Returns a range of all the cp definition option value rels where key = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
key- the keystart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByKey
default List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
key- the keystart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCDORI_P
default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselected- Returns:
- the matching cp definition option value rels
-
findByCDORI_P
default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselectedstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCDORI_P
default List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.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.CPDefinitionOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDpreselected- the preselectedstart- the lower bound of the range of cp definition option value relsend- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition option value rels
-