Class CPInstanceOptionValueRelUtil
com.liferay.commerce.product.service.persistence.impl.CPInstanceOptionValueRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CPInstanceOptionValueRel cpInstanceOptionValueRel) Caches the cp instance option value rel in the entity cache if it is enabled.static voidcacheResult(List<CPInstanceOptionValueRel> cpInstanceOptionValueRels) Caches the cp instance option value rels in the entity cache if it is enabled.static voidstatic voidclearCache(CPInstanceOptionValueRel cpInstanceOptionValueRel) static intcountAll()Returns the number of cp instance option value rels.static intcountByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.static intcountByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.static intcountByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.static intcountByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ?.static intcountByCPInstanceId(long CPInstanceId) Returns the number of cp instance option value rels where CPInstanceId = ?.static intcountByUuid(String uuid) Returns the number of cp instance option value rels where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp instance option value rels where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of cp instance option value rels where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPInstanceOptionValueRelcreate(long CPInstanceOptionValueRelId) Creates a new cp instance option value rel with the primary key.static 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.static CPInstanceOptionValueRelfetchByCDORI_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.static CPInstanceOptionValueRelfetchByCDORI_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 = ?.static CPInstanceOptionValueRelfetchByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.static CPInstanceOptionValueRelfetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returnsnullif it could not be found.static CPInstanceOptionValueRelfetchByCDOVRI_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.static CPInstanceOptionValueRelfetchByCPDefinitionOptionRelId_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 = ?.static CPInstanceOptionValueRelfetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.static CPInstanceOptionValueRelfetchByCPInstanceId_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 = ?.static CPInstanceOptionValueRelfetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.static CPInstanceOptionValueRelfetchByPrimaryKey(long CPInstanceOptionValueRelId) Returns the cp instance option value rel with the primary key or returnsnullif it could not be found.static Map<Serializable,CPInstanceOptionValueRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPInstanceOptionValueRelfetchByUuid_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 = ?.static CPInstanceOptionValueRelfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ? and companyId = ?.static CPInstanceOptionValueRelfetchByUuid_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 = ?.static CPInstanceOptionValueRelfetchByUUID_G(String uuid, long groupId) Returns the cp instance option value rel where uuid = ? and groupId = ? or returnsnullif it could not be found.static CPInstanceOptionValueRelfetchByUUID_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.static CPInstanceOptionValueRelfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ?.static List<CPInstanceOptionValueRel>findAll()Returns all the cp instance option value rels.static List<CPInstanceOptionValueRel>findAll(int start, int end) Returns a range of all the cp instance option value rels.static List<CPInstanceOptionValueRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels.static List<CPInstanceOptionValueRel>findAll(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.static CPInstanceOptionValueRelfindByCDORI_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.static List<CPInstanceOptionValueRel>findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPInstanceOptionValueRelfindByCDORI_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 = ?.static CPInstanceOptionValueRelfindByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.static CPInstanceOptionValueRel[]findByCDORI_CII_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.static CPInstanceOptionValueRelfindByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.static List<CPInstanceOptionValueRel>findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.static List<CPInstanceOptionValueRel>findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.static 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 = ?.static 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 = ?.static CPInstanceOptionValueRelfindByCPDefinitionOptionRelId_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 = ?.static CPInstanceOptionValueRelfindByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.static CPInstanceOptionValueRel[]findByCPDefinitionOptionRelId_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.static List<CPInstanceOptionValueRel>findByCPInstanceId(long CPInstanceId) Returns all the cp instance option value rels where CPInstanceId = ?.static List<CPInstanceOptionValueRel>findByCPInstanceId(long CPInstanceId, int start, int end) Returns a range of all the cp instance option value rels where CPInstanceId = ?.static 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 = ?.static 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 = ?.static CPInstanceOptionValueRelfindByCPInstanceId_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 = ?.static CPInstanceOptionValueRelfindByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.static CPInstanceOptionValueRel[]findByCPInstanceId_PrevAndNext(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPInstanceId = ?.static CPInstanceOptionValueRelfindByPrimaryKey(long CPInstanceOptionValueRelId) Returns the cp instance option value rel with the primary key or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.static List<CPInstanceOptionValueRel>findByUuid(String uuid) Returns all the cp instance option value rels where uuid = ?.static List<CPInstanceOptionValueRel>findByUuid(String uuid, int start, int end) Returns a range of all the cp instance option value rels where uuid = ?.static 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 = ?.static 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 = ?.static List<CPInstanceOptionValueRel>findByUuid_C(String uuid, long companyId) Returns all the cp instance option value rels where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPInstanceOptionValueRelfindByUuid_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 = ?.static CPInstanceOptionValueRelfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ? and companyId = ?.static CPInstanceOptionValueRel[]findByUuid_C_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ? and companyId = ?.static CPInstanceOptionValueRelfindByUuid_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 = ?.static CPInstanceOptionValueRelfindByUUID_G(String uuid, long groupId) Returns the cp instance option value rel where uuid = ? and groupId = ? or throws aNoSuchCPInstanceOptionValueRelExceptionif it could not be found.static CPInstanceOptionValueRelfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last cp instance option value rel in the ordered set where uuid = ?.static CPInstanceOptionValueRel[]findByUuid_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ?.static List<CPInstanceOptionValueRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPInstanceOptionValueRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPInstanceOptionValueRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) static CPInstanceOptionValueRelremove(long CPInstanceOptionValueRelId) Removes the cp instance option value rel with the primary key from the database.static voidRemoves all the cp instance option value rels from the database.static CPInstanceOptionValueRelremoveByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.static voidremoveByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.static CPInstanceOptionValueRelremoveByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.static voidremoveByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? from the database.static voidremoveByCPInstanceId(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp instance option value rels where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.static CPInstanceOptionValueRelremoveByUUID_G(String uuid, long groupId) Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.static voidsetPersistence(CPInstanceOptionValueRelPersistence persistence) static CPInstanceOptionValueRelupdate(CPInstanceOptionValueRel cpInstanceOptionValueRel) static CPInstanceOptionValueRelupdate(CPInstanceOptionValueRel cpInstanceOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPInstanceOptionValueRelupdateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel)
-
Constructor Details
-
CPInstanceOptionValueRelUtil
public CPInstanceOptionValueRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPInstanceOptionValueRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPInstanceOptionValueRel update(CPInstanceOptionValueRel cpInstanceOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByUuid_First
public static 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
-
findByUuid_Last
public static CPInstanceOptionValueRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last 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 last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be foundNoSuchCPInstanceOptionValueRelException
-
fetchByUuid_Last
public static CPInstanceOptionValueRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last 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 last matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByUuid_PrevAndNext
public static CPInstanceOptionValueRel[] findByUuid_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ?.- Parameters:
CPInstanceOptionValueRelId- the primary key of the current cp instance option value reluuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be foundNoSuchCPInstanceOptionValueRelException
-
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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
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
-
fetchByUUID_G
public static CPInstanceOptionValueRel 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.- 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
public static 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
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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
-
findByUuid_C
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByUuid_C_First
public static 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
-
findByUuid_C_Last
public static CPInstanceOptionValueRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last 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 last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be foundNoSuchCPInstanceOptionValueRelException
-
fetchByUuid_C_Last
public static CPInstanceOptionValueRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last 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 last matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByUuid_C_PrevAndNext
public static CPInstanceOptionValueRel[] findByUuid_C_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPInstanceOptionValueRelId- the primary key of the current cp instance option value reluuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be foundNoSuchCPInstanceOptionValueRelException
-
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
public static List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
-
findByCPDefinitionOptionRelId
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByCPDefinitionOptionRelId_First
public static 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
-
findByCPDefinitionOptionRelId_Last
public static CPInstanceOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last 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 last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be foundNoSuchCPInstanceOptionValueRelException
-
fetchByCPDefinitionOptionRelId_Last
public static CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last 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 last matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByCPDefinitionOptionRelId_PrevAndNext
public static CPInstanceOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPInstanceOptionValueRelId- the primary key of the current cp instance option value relCPDefinitionOptionRelId- the cp definition option rel IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be foundNoSuchCPInstanceOptionValueRelException
-
removeByCPDefinitionOptionRelId
public static 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
public static 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
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
public static List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end) 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
-
findByCPInstanceId
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByCPInstanceId_First
public static 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
-
findByCPInstanceId_Last
public static CPInstanceOptionValueRel findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last 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 last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be foundNoSuchCPInstanceOptionValueRelException
-
fetchByCPInstanceId_Last
public static CPInstanceOptionValueRel fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last 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 last matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByCPInstanceId_PrevAndNext
public static CPInstanceOptionValueRel[] findByCPInstanceId_PrevAndNext(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceOptionValueRelId- the primary key of the current cp instance option value relCPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be foundNoSuchCPInstanceOptionValueRelException
-
removeByCPInstanceId
public static void removeByCPInstanceId(long CPInstanceId) Removes all the cp instance option value rels where CPInstanceId = ? from the database.- Parameters:
CPInstanceId- the cp instance ID
-
countByCPInstanceId
public static 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
public static 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
-
findByCDORI_CII
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByCDORI_CII_First
public static 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
-
findByCDORI_CII_Last
public static CPInstanceOptionValueRel findByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the last 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 last matching cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a matching cp instance option value rel could not be foundNoSuchCPInstanceOptionValueRelException
-
fetchByCDORI_CII_Last
public static CPInstanceOptionValueRel fetchByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns the last 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 last matching cp instance option value rel, or
nullif a matching cp instance option value rel could not be found
-
findByCDORI_CII_PrevAndNext
public static CPInstanceOptionValueRel[] findByCDORI_CII_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.- Parameters:
CPInstanceOptionValueRelId- the primary key of the current cp instance option value relCPDefinitionOptionRelId- the cp definition option rel IDCPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp instance option value rel
- Throws:
NoSuchCPInstanceOptionValueRelException- if a cp instance option value rel with the primary key could not be foundNoSuchCPInstanceOptionValueRelException
-
removeByCDORI_CII
public static 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
public static 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByCDOVRI_CII
public static 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
-
fetchByCDOVRI_CII
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
fetchByCDORI_CDOVRI_CII
public static 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
-
fetchByCDORI_CDOVRI_CII
public static 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
public static 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
public static 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
-
cacheResult
Caches the cp instance option value rel in the entity cache if it is enabled.- Parameters:
cpInstanceOptionValueRel- the cp instance option value rel
-
cacheResult
Caches the cp instance option value rels in the entity cache if it is enabled.- Parameters:
cpInstanceOptionValueRels- the 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
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
updateImpl
public static CPInstanceOptionValueRel updateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel) -
findByPrimaryKey
public static 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 foundNoSuchCPInstanceOptionValueRelException
-
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
-
findAll
Returns all the cp instance option value rels.- Returns:
- the cp instance option value rels
-
findAll
Returns a range of all the cp instance option value rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- Parameters:
start- 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 cp instance option value rels
-
findAll
public static List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) Returns an ordered range of all the cp instance option value rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- Parameters:
start- 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 cp instance option value rels
-
findAll
public static List<CPInstanceOptionValueRel> findAll(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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCPInstanceOptionValueRelModelImpl.- Parameters:
start- 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 cp instance option value rels
-
removeAll
public static void removeAll()Removes all the cp instance option value rels from the database. -
countAll
public static int countAll()Returns the number of cp instance option value rels.- Returns:
- the number of cp instance option value rels
-
getPersistence
-
setPersistence
-