public class CPInstanceOptionValueRelUtil
extends java.lang.Object
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
CPInstanceOptionValueRelPersistence
Constructor and Description |
---|
CPInstanceOptionValueRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CPInstanceOptionValueRel cpInstanceOptionValueRel)
Caches the cp instance option value rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels)
Caches the cp instance option value rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CPInstanceOptionValueRel cpInstanceOptionValueRel) |
static int |
countAll()
Returns the number of cp instance option value rels.
|
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 = ?.
|
static int |
countByCDORI_CII(long CPDefinitionOptionRelId,
long CPInstanceId)
Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
|
static int |
countByCDOVRI_CII(long CPDefinitionOptionValueRelId,
long CPInstanceId)
Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.
|
static int |
countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ?.
|
static int |
countByCPInstanceId(long CPInstanceId)
Returns the number of cp instance option value rels where CPInstanceId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp instance option value rels where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp instance option value rels where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cp instance option value rels where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CPInstanceOptionValueRel |
create(long CPInstanceOptionValueRelId)
Creates a new cp instance option value rel with the primary key.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
static CPInstanceOptionValueRel |
fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId,
long CPInstanceId)
Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns
null if it could not be found. |
static CPInstanceOptionValueRel |
fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId,
long CPInstanceId,
boolean useFinderCache)
Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static CPInstanceOptionValueRel |
fetchByPrimaryKey(long CPInstanceOptionValueRelId)
Returns the cp instance option value rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPInstanceOptionValueRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPInstanceOptionValueRel |
fetchByUuid_C_First(java.lang.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 CPInstanceOptionValueRel |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.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 CPInstanceOptionValueRel |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp instance option value rel where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPInstanceOptionValueRel |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp instance option value rel where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPInstanceOptionValueRel |
fetchByUuid_Last(java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findAll()
Returns all the cp instance option value rels.
|
static java.util.List<CPInstanceOptionValueRel> |
findAll(int start,
int end)
Returns a range of all the cp instance option value rels.
|
static java.util.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 java.util.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 CPInstanceOptionValueRel |
findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId,
long CPDefinitionOptionValueRelId,
long CPInstanceId)
Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws a
NoSuchCPInstanceOptionValueRelException if it could not be found. |
static CPInstanceOptionValueRel |
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 = ?.
|
static CPInstanceOptionValueRel |
findByCDORI_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 java.util.List<CPInstanceOptionValueRel> |
findByCDORI_CII(long CPDefinitionOptionRelId,
long CPInstanceId)
Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
|
static java.util.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 java.util.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 java.util.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 CPInstanceOptionValueRel |
findByCDOVRI_CII(long CPDefinitionOptionValueRelId,
long CPInstanceId)
Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws a
NoSuchCPInstanceOptionValueRelException if it could not be found. |
static CPInstanceOptionValueRel |
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 = ?.
|
static CPInstanceOptionValueRel |
findByCPDefinitionOptionRelId_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 java.util.List<CPInstanceOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId,
int start,
int end)
Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.
|
static java.util.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 java.util.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 CPInstanceOptionValueRel |
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 = ?.
|
static CPInstanceOptionValueRel |
findByCPInstanceId_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 java.util.List<CPInstanceOptionValueRel> |
findByCPInstanceId(long CPInstanceId)
Returns all the cp instance option value rels where CPInstanceId = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByCPInstanceId(long CPInstanceId,
int start,
int end)
Returns a range of all the cp instance option value rels where CPInstanceId = ?.
|
static java.util.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 java.util.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 CPInstanceOptionValueRel |
findByPrimaryKey(long CPInstanceOptionValueRelId)
Returns the cp instance option value rel with the primary key or throws a
NoSuchCPInstanceOptionValueRelException if it could not be found. |
static CPInstanceOptionValueRel |
findByUuid_C_First(java.lang.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 CPInstanceOptionValueRel |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp instance option value rels where uuid = ? and companyId = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp instance option value rels where uuid = ? and companyId = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByUuid_C(java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findByUuid_C(java.lang.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 CPInstanceOptionValueRel |
findByUuid_First(java.lang.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 CPInstanceOptionValueRel |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp instance option value rel where uuid = ? and groupId = ? or throws a
NoSuchCPInstanceOptionValueRelException if it could not be found. |
static CPInstanceOptionValueRel |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findByUuid(java.lang.String uuid)
Returns all the cp instance option value rels where uuid = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp instance option value rels where uuid = ?.
|
static java.util.List<CPInstanceOptionValueRel> |
findByUuid(java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findByUuid(java.lang.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 java.util.List<CPInstanceOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPInstanceOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPInstanceOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) |
static CPInstanceOptionValueRelPersistence |
getPersistence() |
static CPInstanceOptionValueRel |
remove(long CPInstanceOptionValueRelId)
Removes the cp instance option value rel with the primary key from the database.
|
static void |
removeAll()
Removes all the cp instance option value rels from the database.
|
static CPInstanceOptionValueRel |
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.
|
static void |
removeByCDORI_CII(long CPDefinitionOptionRelId,
long CPInstanceId)
Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.
|
static CPInstanceOptionValueRel |
removeByCDOVRI_CII(long CPDefinitionOptionValueRelId,
long CPInstanceId)
Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.
|
static void |
removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? from the database.
|
static void |
removeByCPInstanceId(long CPInstanceId)
Removes all the cp instance option value rels where CPInstanceId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp instance option value rels where uuid = ? and companyId = ? from the database.
|
static CPInstanceOptionValueRel |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cp instance option value rels where uuid = ? from the database.
|
static void |
setPersistence(CPInstanceOptionValueRelPersistence persistence) |
static CPInstanceOptionValueRel |
update(CPInstanceOptionValueRel cpInstanceOptionValueRel) |
static CPInstanceOptionValueRel |
update(CPInstanceOptionValueRel cpInstanceOptionValueRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPInstanceOptionValueRel |
updateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CPInstanceOptionValueRel cpInstanceOptionValueRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CPInstanceOptionValueRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CPInstanceOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CPInstanceOptionValueRel update(CPInstanceOptionValueRel cpInstanceOptionValueRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CPInstanceOptionValueRel update(CPInstanceOptionValueRel cpInstanceOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CPInstanceOptionValueRel> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CPInstanceOptionValueRel> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPInstanceOptionValueRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel[] findByUuid_PrevAndNext(long CPInstanceOptionValueRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CPInstanceOptionValueRel findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException
NoSuchCPInstanceOptionValueRelException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException
uuid
- the uuidgroupId
- the group IDNoSuchCPInstanceOptionValueRelException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CPInstanceOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPInstanceOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPInstanceOptionValueRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel[] findByUuid_C_PrevAndNext(long CPInstanceOptionValueRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
CPDefinitionOptionRelId
- the cp definition option rel IDpublic static java.util.List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPInstanceOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
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 (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
CPDefinitionOptionRelId
- the cp definition option rel IDpublic static int countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
CPDefinitionOptionRelId
- the cp definition option rel IDpublic static java.util.List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static java.util.List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPInstanceOptionValueRel findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel[] findByCPInstanceId_PrevAndNext(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPInstanceOptionValueRelId
- the primary key of the current cp instance option value relCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static void removeByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static int countByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static java.util.List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDpublic static java.util.List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPInstanceOptionValueRel findByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel findByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel[] findByCDORI_CII_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
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 (optionally null
)NoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static void removeByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDpublic static int countByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
CPDefinitionOptionRelId
- the cp definition option rel IDCPInstanceId
- the cp instance IDpublic static CPInstanceOptionValueRel findByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
NoSuchCPInstanceOptionValueRelException
if it could not be found.CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDNoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId)
null
if it could not be found. Uses the finder cache.CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDnull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDuseFinderCache
- whether to use the finder cachenull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel removeByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDNoSuchCPInstanceOptionValueRelException
public static int countByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId)
CPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDpublic static CPInstanceOptionValueRel findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
NoSuchCPInstanceOptionValueRelException
if it could not be found.CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDNoSuchCPInstanceOptionValueRelException
- if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId)
null
if it could not be found. Uses the finder cache.CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDnull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDuseFinderCache
- whether to use the finder cachenull
if a matching cp instance option value rel could not be foundpublic static CPInstanceOptionValueRel removeByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDNoSuchCPInstanceOptionValueRelException
public static int countByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId)
CPDefinitionOptionRelId
- the cp definition option rel IDCPDefinitionOptionValueRelId
- the cp definition option value rel IDCPInstanceId
- the cp instance IDpublic static void cacheResult(CPInstanceOptionValueRel cpInstanceOptionValueRel)
cpInstanceOptionValueRel
- the cp instance option value relpublic static void cacheResult(java.util.List<CPInstanceOptionValueRel> cpInstanceOptionValueRels)
cpInstanceOptionValueRels
- the cp instance option value relspublic static CPInstanceOptionValueRel create(long CPInstanceOptionValueRelId)
CPInstanceOptionValueRelId
- the primary key for the new cp instance option value relpublic static CPInstanceOptionValueRel remove(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException
CPInstanceOptionValueRelId
- the primary key of the cp instance option value relNoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static CPInstanceOptionValueRel updateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel)
public static CPInstanceOptionValueRel findByPrimaryKey(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException
NoSuchCPInstanceOptionValueRelException
if it could not be found.CPInstanceOptionValueRelId
- the primary key of the cp instance option value relNoSuchCPInstanceOptionValueRelException
- if a cp instance option value rel with the primary key could not be foundpublic static CPInstanceOptionValueRel fetchByPrimaryKey(long CPInstanceOptionValueRelId)
null
if it could not be found.CPInstanceOptionValueRelId
- the primary key of the cp instance option value relnull
if a cp instance option value rel with the primary key could not be foundpublic static java.util.List<CPInstanceOptionValueRel> findAll()
public static java.util.List<CPInstanceOptionValueRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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)public static java.util.List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)public static java.util.List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPInstanceOptionValueRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CPInstanceOptionValueRelPersistence getPersistence()
public static void setPersistence(CPInstanceOptionValueRelPersistence persistence)