Interface CPInstanceOptionValueRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceOptionValueRel>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceOptionValueRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.intcountByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.intcountByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.intcountByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ?.intcountByCPInstanceId(long CPInstanceId) Returns the number of cp instance option value rels where CPInstanceId = ?.intcountByUuid(String uuid) Returns the number of cp instance option value rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of cp instance option value rels where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of cp instance option value rels where uuid = ? and groupId = ?.create(long CPInstanceOptionValueRelId) Creates a new cp instance option value rel with the primary key.default CPInstanceOptionValueRelfetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found.fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.default CPInstanceOptionValueRelfetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found.fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.fetchByPrimaryKey(long CPInstanceOptionValueRelId) Returns the cp instance 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<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ?.default CPInstanceOptionValueRelfetchByUUID_G(String uuid, long groupId) Returns the cp instance 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 instance option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.findByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.default List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.default List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.default List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.default List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId) Returns all the cp instance option value rels where CPInstanceId = ?.default List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPInstanceId = ?.default List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.findByPrimaryKey(long CPInstanceOptionValueRelId) Returns the cp instance option value rel with the primary key or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.default List<CPInstanceOptionValueRel> findByUuid(String uuid) Returns all the cp instance option value rels where uuid = ?.default List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end) Returns a range of all the cp instance option value rels where uuid = ?.default List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where uuid = ?.default List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId) Returns all the cp instance option value rels where uuid = ? and companyId = ?.default List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp instance option value rels where uuid = ? and companyId = ?.default List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the cp instance option value rel where uuid = ? and groupId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.remove(long CPInstanceOptionValueRelId) Removes the cp instance option value rel with the primary key from the database.removeByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.voidremoveByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.removeByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.voidremoveByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? from the database.voidremoveByCPInstanceId(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.voidremoveByUuid(String uuid) Removes all the cp instance option value rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.updateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel) 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<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance 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 instance option value rels
-
findByUuid_First
CPInstanceOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByUuid_First
CPInstanceOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByUuid
Removes all the cp instance option value rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp instance option value rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp instance option value rels
-
findByUUID_G
CPInstanceOptionValueRel findByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where uuid = ? and groupId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByUUID_G
Returns the cp instance 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 instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByUUID_G
CPInstanceOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByUUID_G
Returns the number of cp instance option value rels where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp instance option value rels
-
findByUuid_C
List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance 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 instance option value rels
-
findByUuid_C_First
CPInstanceOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByUuid_C_First
CPInstanceOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByUuid_C
Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp instance option value rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance 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 instance option value rels
-
findByCPDefinitionOptionRelId_First
CPInstanceOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance 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 instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByCPDefinitionOptionRelId_First
CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance 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 instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByCPDefinitionOptionRelId
void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp instance 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 instance option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel ID- Returns:
- the number of matching cp instance option value rels
-
findByCPInstanceId
List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance 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 instance option value rels
-
findByCPInstanceId_First
CPInstanceOptionValueRel findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByCPInstanceId_First
CPInstanceOptionValueRel fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByCPInstanceId
void removeByCPInstanceId(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.- Parameters:
CPInstanceId- the cp instance ID
-
countByCPInstanceId
int countByCPInstanceId(long CPInstanceId) Returns the number of cp instance option value rels where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDORI_CII
List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance 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 instance option value rels
-
findByCDORI_CII_First
CPInstanceOptionValueRel findByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByCDORI_CII_First
CPInstanceOptionValueRel fetchByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByCDORI_CII
void removeByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance ID
-
countByCDORI_CII
int countByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDOVRI_CII
CPInstanceOptionValueRel findByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.- Parameters:
CPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByCDOVRI_CII
CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByCDOVRI_CII
CPInstanceOptionValueRel removeByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByCDOVRI_CII
int countByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
findByCDORI_CDOVRI_CII
CPInstanceOptionValueRel findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be found
-
fetchByCDORI_CDOVRI_CII
CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
removeByCDORI_CDOVRI_CII
CPInstanceOptionValueRel removeByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException
-
countByCDORI_CDOVRI_CII
int countByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the number of matching cp instance option value rels
-
create
Creates a new cp instance option value rel with the primary key. Does not add the cp instance option value rel to the database.- Parameters:
CPInstanceOptionValueRelId- the primary key for the new cp instance option value rel- Returns:
- the new cp instance option value rel
-
remove
CPInstanceOptionValueRel remove(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException Removes the cp instance option value rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPInstanceOptionValueRelId- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel that was removed
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPInstanceOptionValueRel findByPrimaryKey(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rel with the primary key or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.- Parameters:
CPInstanceOptionValueRelId- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp instance option value rel with the primary key or returnsnullif it could not be found.- Parameters:
CPInstanceOptionValueRelId- the primary key of the cp instance option value rel- Returns:
- the cp instance option value rel, or
nullif a cp instance option value rel with the primary key could not be found
-
fetchByUUID_G
Returns the cp instance 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 instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
fetchByCDOVRI_CII
default CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
fetchByCDORI_CDOVRI_CII
default CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPDefinitionOptionValueRelId- the cp definition option value rel IDCPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByUuid
Returns all the cp instance option value rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp instance option value rels
-
findByUuid
Returns a range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByUuid
default List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp instance option value rels
-
findByUuid_C
Returns all the cp instance option value rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp instance option value rels
-
findByUuid_C
default List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByUuid_C
default List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel ID- Returns:
- the matching cp instance option value rels
-
findByCPDefinitionOptionRelId
default List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCPDefinitionOptionRelId
default List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance 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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCPInstanceId
Returns all the cp instance option value rels where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rels
-
findByCPInstanceId
Returns a range of all the cp instance option value rels where CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCPInstanceId
default List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp instance option value rels
-
findByCDORI_CII
default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance ID- Returns:
- the matching cp instance option value rels
-
findByCDORI_CII
default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)- Returns:
- the range of matching cp instance option value rels
-
findByCDORI_CII
default List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.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.CPInstanceOptionValueRelModelImpl.- Parameters:
CPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDstart- the lower bound of the range of cp instance option value relsend- the upper bound of the range of cp instance option value rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp instance option value rels
-