public class CPDefinitionOptionValueRelUtil
extends java.lang.Object
com.liferay.commerce.product.service.persistence.impl.CPDefinitionOptionValueRelPersistenceImpl
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
CPDefinitionOptionValueRelPersistence
Constructor and Description |
---|
CPDefinitionOptionValueRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
Caches the cp definition option value rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels)
Caches the cp definition option value rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) |
static int |
countAll()
Returns the number of cp definition option value rels.
|
static int |
countByC_K(long CPDefinitionOptionRelId,
java.lang.String key)
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.
|
static int |
countByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected)
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of cp definition option value rels where companyId = ?.
|
static int |
countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.
|
static int |
countByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns the number of cp definition option value rels where CPInstanceUuid = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of cp definition option value rels where groupId = ?.
|
static int |
countByKey(java.lang.String key)
Returns the number of cp definition option value rels where key = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition option value rels where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition option value rels where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition option value rels where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CPDefinitionOptionValueRel |
create(long CPDefinitionOptionValueRelId)
Creates a new cp definition option value rel with the primary key.
|
static CPDefinitionOptionValueRel |
fetchByC_K(long CPDefinitionOptionRelId,
java.lang.String key)
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returns
null if it could not be found. |
static CPDefinitionOptionValueRel |
fetchByC_K(long CPDefinitionOptionRelId,
java.lang.String key,
boolean useFinderCache)
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDefinitionOptionValueRel |
fetchByCDORI_P_First(long CPDefinitionOptionRelId,
boolean preselected,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.
|
static CPDefinitionOptionValueRel |
fetchByCDORI_P_Last(long CPDefinitionOptionRelId,
boolean preselected,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.
|
static CPDefinitionOptionValueRel |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where companyId = ?.
|
static CPDefinitionOptionValueRel |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where companyId = ?.
|
static CPDefinitionOptionValueRel |
fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
|
static CPDefinitionOptionValueRel |
fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
|
static CPDefinitionOptionValueRel |
fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.
|
static CPDefinitionOptionValueRel |
fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.
|
static CPDefinitionOptionValueRel |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where groupId = ?.
|
static CPDefinitionOptionValueRel |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where groupId = ?.
|
static CPDefinitionOptionValueRel |
fetchByKey_First(java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where key = ?.
|
static CPDefinitionOptionValueRel |
fetchByKey_Last(java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where key = ?.
|
static CPDefinitionOptionValueRel |
fetchByPrimaryKey(long CPDefinitionOptionValueRelId)
Returns the cp definition option value rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPDefinitionOptionValueRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPDefinitionOptionValueRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
|
static CPDefinitionOptionValueRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
|
static CPDefinitionOptionValueRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where uuid = ?.
|
static CPDefinitionOptionValueRel |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPDefinitionOptionValueRel |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition option value rel where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDefinitionOptionValueRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findAll()
Returns all the cp definition option value rels.
|
static java.util.List<CPDefinitionOptionValueRel> |
findAll(int start,
int end)
Returns a range of all the cp definition option value rels.
|
static java.util.List<CPDefinitionOptionValueRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels.
|
static java.util.List<CPDefinitionOptionValueRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels.
|
static CPDefinitionOptionValueRel |
findByC_K(long CPDefinitionOptionRelId,
java.lang.String key)
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws a
NoSuchCPDefinitionOptionValueRelException if it could not be found. |
static CPDefinitionOptionValueRel |
findByCDORI_P_First(long CPDefinitionOptionRelId,
boolean preselected,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.
|
static CPDefinitionOptionValueRel |
findByCDORI_P_Last(long CPDefinitionOptionRelId,
boolean preselected,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.
|
static CPDefinitionOptionValueRel[] |
findByCDORI_P_PrevAndNext(long CPDefinitionOptionValueRelId,
long CPDefinitionOptionRelId,
boolean preselected,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected)
Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected,
int start,
int end)
Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
|
static CPDefinitionOptionValueRel |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where companyId = ?.
|
static CPDefinitionOptionValueRel |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where companyId = ?.
|
static CPDefinitionOptionValueRel[] |
findByCompanyId_PrevAndNext(long CPDefinitionOptionValueRelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCompanyId(long companyId)
Returns all the cp definition option value rels where companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp definition option value rels where companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where companyId = ?.
|
static CPDefinitionOptionValueRel |
findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
|
static CPDefinitionOptionValueRel |
findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
|
static CPDefinitionOptionValueRel[] |
findByCPDefinitionOptionRelId_PrevAndNext(long CPDefinitionOptionValueRelId,
long CPDefinitionOptionRelId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId,
int start,
int end)
Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.
|
static CPDefinitionOptionValueRel |
findByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.
|
static CPDefinitionOptionValueRel |
findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.
|
static CPDefinitionOptionValueRel[] |
findByCPInstanceUuid_PrevAndNext(long CPDefinitionOptionValueRelId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPInstanceUuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns all the cp definition option value rels where CPInstanceUuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.
|
static CPDefinitionOptionValueRel |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where groupId = ?.
|
static CPDefinitionOptionValueRel |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where groupId = ?.
|
static CPDefinitionOptionValueRel[] |
findByGroupId_PrevAndNext(long CPDefinitionOptionValueRelId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where groupId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByGroupId(long groupId)
Returns all the cp definition option value rels where groupId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp definition option value rels where groupId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where groupId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where groupId = ?.
|
static CPDefinitionOptionValueRel |
findByKey_First(java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where key = ?.
|
static CPDefinitionOptionValueRel |
findByKey_Last(java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where key = ?.
|
static CPDefinitionOptionValueRel[] |
findByKey_PrevAndNext(long CPDefinitionOptionValueRelId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where key = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByKey(java.lang.String key)
Returns all the cp definition option value rels where key = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByKey(java.lang.String key,
int start,
int end)
Returns a range of all the cp definition option value rels where key = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByKey(java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where key = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByKey(java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where key = ?.
|
static CPDefinitionOptionValueRel |
findByPrimaryKey(long CPDefinitionOptionValueRelId)
Returns the cp definition option value rel with the primary key or throws a
NoSuchCPDefinitionOptionValueRelException if it could not be found. |
static CPDefinitionOptionValueRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
|
static CPDefinitionOptionValueRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
|
static CPDefinitionOptionValueRel[] |
findByUuid_C_PrevAndNext(long CPDefinitionOptionValueRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition option value rels where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.
|
static CPDefinitionOptionValueRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the first cp definition option value rel in the ordered set where uuid = ?.
|
static CPDefinitionOptionValueRel |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition option value rel where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionOptionValueRelException if it could not be found. |
static CPDefinitionOptionValueRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the last cp definition option value rel in the ordered set where uuid = ?.
|
static CPDefinitionOptionValueRel[] |
findByUuid_PrevAndNext(long CPDefinitionOptionValueRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid(java.lang.String uuid)
Returns all the cp definition option value rels where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition option value rels where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
Returns an ordered range of all the cp definition option value rels where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition option value rels where uuid = ?.
|
static java.util.List<CPDefinitionOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPDefinitionOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPDefinitionOptionValueRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) |
static CPDefinitionOptionValueRelPersistence |
getPersistence() |
static CPDefinitionOptionValueRel |
remove(long CPDefinitionOptionValueRelId)
Removes the cp definition option value rel with the primary key from the database.
|
static void |
removeAll()
Removes all the cp definition option value rels from the database.
|
static CPDefinitionOptionValueRel |
removeByC_K(long CPDefinitionOptionRelId,
java.lang.String key)
Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.
|
static void |
removeByCDORI_P(long CPDefinitionOptionRelId,
boolean preselected)
Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the cp definition option value rels where companyId = ? from the database.
|
static void |
removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.
|
static void |
removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the cp definition option value rels where groupId = ? from the database.
|
static void |
removeByKey(java.lang.String key)
Removes all the cp definition option value rels where key = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.
|
static CPDefinitionOptionValueRel |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition option value rels where uuid = ? from the database.
|
static CPDefinitionOptionValueRel |
update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) |
static CPDefinitionOptionValueRel |
update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionOptionValueRel |
updateImpl(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
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,CPDefinitionOptionValueRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CPDefinitionOptionValueRel update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CPDefinitionOptionValueRel update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CPDefinitionOptionValueRel> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByUuid_PrevAndNext(long CPDefinitionOptionValueRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition 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 CPDefinitionOptionValueRel findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException
NoSuchCPDefinitionOptionValueRelException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel 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 definition option value rel could not be foundpublic static CPDefinitionOptionValueRel 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 definition option value rel could not be foundpublic static CPDefinitionOptionValueRel removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionOptionValueRelException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CPDefinitionOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionValueRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition 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<CPDefinitionOptionValueRel> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CPDefinitionOptionValueRel> findByGroupId(long groupId, 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 CPDefinitionOptionValueRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByGroupId_PrevAndNext(long CPDefinitionOptionValueRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CPDefinitionOptionValueRel> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CPDefinitionOptionValueRel> findByCompanyId(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 CPDefinitionOptionValueRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByCompanyId_PrevAndNext(long CPDefinitionOptionValueRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
CPDefinitionOptionRelId
- the cp definition option rel IDpublic static java.util.List<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition 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<CPDefinitionOptionValueRel> findByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static java.util.List<CPDefinitionOptionValueRel> findByCPInstanceUuid(java.lang.String CPInstanceUuid, 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 CPDefinitionOptionValueRelModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByCPInstanceUuid_PrevAndNext(long CPDefinitionOptionValueRelId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static void removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static int countByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static java.util.List<CPDefinitionOptionValueRel> findByKey(java.lang.String key)
key
- the keypublic static java.util.List<CPDefinitionOptionValueRel> findByKey(java.lang.String key, 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 CPDefinitionOptionValueRelModelImpl
.
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByKey(java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByKey(java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByKey_First(java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
key
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByKey_First(java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
key
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByKey_Last(java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
key
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByKey_Last(java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
key
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByKey_PrevAndNext(long CPDefinitionOptionValueRelId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static void removeByKey(java.lang.String key)
key
- the keypublic static int countByKey(java.lang.String key)
key
- the keypublic static CPDefinitionOptionValueRel findByC_K(long CPDefinitionOptionRelId, java.lang.String key) throws NoSuchCPDefinitionOptionValueRelException
NoSuchCPDefinitionOptionValueRelException
if it could not be found.CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keyNoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, java.lang.String key)
null
if it could not be found. Uses the finder cache.CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keynull
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, java.lang.String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel removeByC_K(long CPDefinitionOptionRelId, java.lang.String key) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keyNoSuchCPDefinitionOptionValueRelException
public static int countByC_K(long CPDefinitionOptionRelId, java.lang.String key)
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keypublic static java.util.List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected)
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedpublic static java.util.List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionOptionValueRel findByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel findByCDORI_P_Last(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel fetchByCDORI_P_Last(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition option value rel could not be foundpublic static CPDefinitionOptionValueRel[] findByCDORI_P_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static void removeByCDORI_P(long CPDefinitionOptionRelId, boolean preselected)
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedpublic static int countByCDORI_P(long CPDefinitionOptionRelId, boolean preselected)
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedpublic static void cacheResult(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
cpDefinitionOptionValueRel
- the cp definition option value relpublic static void cacheResult(java.util.List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels)
cpDefinitionOptionValueRels
- the cp definition option value relspublic static CPDefinitionOptionValueRel create(long CPDefinitionOptionValueRelId)
CPDefinitionOptionValueRelId
- the primary key for the new cp definition option value relpublic static CPDefinitionOptionValueRel remove(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relNoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static CPDefinitionOptionValueRel updateImpl(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
public static CPDefinitionOptionValueRel findByPrimaryKey(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException
NoSuchCPDefinitionOptionValueRelException
if it could not be found.CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relNoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundpublic static CPDefinitionOptionValueRel fetchByPrimaryKey(long CPDefinitionOptionValueRelId)
null
if it could not be found.CPDefinitionOptionValueRelId
- the primary key of the cp definition option value relnull
if a cp definition option value rel with the primary key could not be foundpublic static java.util.List<CPDefinitionOptionValueRel> findAll()
public static java.util.List<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
start
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)public static java.util.List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
start
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> 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 CPDefinitionOptionValueRelModelImpl
.
start
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CPDefinitionOptionValueRelPersistence getPersistence()