Class CPDefinitionOptionValueRelUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) Caches the cp definition option value rel in the entity cache if it is enabled.static void
cacheResult
(List<CPDefinitionOptionValueRel> cpDefinitionOptionValueRels) Caches the cp definition option value rels in the entity cache if it is enabled.static void
static void
clearCache
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) static int
countAll()
Returns the number of cp definition option value rels.static int
countByC_K
(long CPDefinitionOptionRelId, 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
(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
(String key) Returns the number of cp definition option value rels where key = ?.static int
countByUuid
(String uuid) Returns the number of cp definition option value rels where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition option value rels where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition option value rels where uuid = ? and groupId = ?.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, String key) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found.static CPDefinitionOptionValueRel
fetchByC_K
(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
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
(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
(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
(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
(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 returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CPDefinitionOptionValueRel
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.static CPDefinitionOptionValueRel
fetchByUuid_C_Last
(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
(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
(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CPDefinitionOptionValueRel
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPDefinitionOptionValueRel
fetchByUuid_Last
(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 List<CPDefinitionOptionValueRel>
findAll()
Returns all the cp definition option value rels.static List<CPDefinitionOptionValueRel>
findAll
(int start, int end) Returns a range of all the cp definition option value rels.static 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 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
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.static List<CPDefinitionOptionValueRel>
findByCDORI_P
(long CPDefinitionOptionRelId, boolean preselected) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.static 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 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 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
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 List<CPDefinitionOptionValueRel>
findByCompanyId
(long companyId) Returns all the cp definition option value rels where companyId = ?.static List<CPDefinitionOptionValueRel>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp definition option value rels where companyId = ?.static 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 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
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 List<CPDefinitionOptionValueRel>
findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.static List<CPDefinitionOptionValueRel>
findByCPDefinitionOptionRelId
(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.static 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 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
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 List<CPDefinitionOptionValueRel>
findByCPInstanceUuid
(String CPInstanceUuid) Returns all the cp definition option value rels where CPInstanceUuid = ?.static List<CPDefinitionOptionValueRel>
findByCPInstanceUuid
(String CPInstanceUuid, int start, int end) Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.static List<CPDefinitionOptionValueRel>
findByCPInstanceUuid
(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.static List<CPDefinitionOptionValueRel>
findByCPInstanceUuid
(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.static CPDefinitionOptionValueRel
findByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.static CPDefinitionOptionValueRel
findByCPInstanceUuid_Last
(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, 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 List<CPDefinitionOptionValueRel>
findByGroupId
(long groupId) Returns all the cp definition option value rels where groupId = ?.static List<CPDefinitionOptionValueRel>
findByGroupId
(long groupId, int start, int end) Returns a range of all the cp definition option value rels where groupId = ?.static 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 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
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 List<CPDefinitionOptionValueRel>
Returns all the cp definition option value rels where key = ?.static List<CPDefinitionOptionValueRel>
Returns a range of all the cp definition option value rels where key = ?.static List<CPDefinitionOptionValueRel>
findByKey
(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.static List<CPDefinitionOptionValueRel>
findByKey
(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.static CPDefinitionOptionValueRel
findByKey_First
(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.static CPDefinitionOptionValueRel
findByKey_Last
(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, 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 CPDefinitionOptionValueRel
findByPrimaryKey
(long CPDefinitionOptionValueRelId) Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.static List<CPDefinitionOptionValueRel>
findByUuid
(String uuid) Returns all the cp definition option value rels where uuid = ?.static List<CPDefinitionOptionValueRel>
findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition option value rels where uuid = ?.static List<CPDefinitionOptionValueRel>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.static List<CPDefinitionOptionValueRel>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.static List<CPDefinitionOptionValueRel>
findByUuid_C
(String uuid, long companyId) Returns all the cp definition option value rels where uuid = ? and companyId = ?.static List<CPDefinitionOptionValueRel>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.static List<CPDefinitionOptionValueRel>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.static List<CPDefinitionOptionValueRel>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.static CPDefinitionOptionValueRel
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.static CPDefinitionOptionValueRel
findByUuid_C_Last
(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, 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 CPDefinitionOptionValueRel
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.static CPDefinitionOptionValueRel
findByUUID_G
(String uuid, long groupId) Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.static CPDefinitionOptionValueRel
findByUuid_Last
(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, 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 List<CPDefinitionOptionValueRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPDefinitionOptionValueRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPDefinitionOptionValueRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) static CPDefinitionOptionValueRel
remove
(long CPDefinitionOptionValueRelId) Removes the cp definition option value rel with the primary key from the database.static void
Removes all the cp definition option value rels from the database.static CPDefinitionOptionValueRel
removeByC_K
(long CPDefinitionOptionRelId, 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
(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
(String key) Removes all the cp definition option value rels where key = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp definition option value rels where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.static CPDefinitionOptionValueRel
removeByUUID_G
(String uuid, long groupId) Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.static void
setPersistence
(CPDefinitionOptionValueRelPersistence persistence) static CPDefinitionOptionValueRel
update
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) static CPDefinitionOptionValueRel
update
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDefinitionOptionValueRel
updateImpl
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
-
Constructor Details
-
CPDefinitionOptionValueRelUtil
public CPDefinitionOptionValueRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPDefinitionOptionValueRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDefinitionOptionValueRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CPDefinitionOptionValueRel update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDefinitionOptionValueRel update(CPDefinitionOptionValueRel cpDefinitionOptionValueRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp definition option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition option value rels
-
findByUuid
Returns a range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByUuid
public static List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid
public static List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_First
public static CPDefinitionOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByUuid_First
public static CPDefinitionOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_Last
public static CPDefinitionOptionValueRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByUuid_Last
public static CPDefinitionOptionValueRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_PrevAndNext
public static CPDefinitionOptionValueRel[] findByUuid_PrevAndNext(long CPDefinitionOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByUuid
Removes all the cp definition option value rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition option value rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition option value rels
-
findByUUID_G
public static CPDefinitionOptionValueRel findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByUUID_G
Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
fetchByUUID_G
public static CPDefinitionOptionValueRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition option value rel where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
removeByUUID_G
public static CPDefinitionOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByUUID_G
Returns the number of cp definition option value rels where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByUuid_C
Returns all the cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition option value rels
-
findByUuid_C
public static List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByUuid_C
public static List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_C
public static List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByUuid_C_First
public static CPDefinitionOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByUuid_C_First
public static CPDefinitionOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_C_Last
public static CPDefinitionOptionValueRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByUuid_C_Last
public static CPDefinitionOptionValueRel fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByUuid_C_PrevAndNext
public static CPDefinitionOptionValueRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException 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 = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByUuid_C
Removes all the cp definition option value rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition option value rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByGroupId
Returns all the cp definition option value rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp definition option value rels
-
findByGroupId
Returns a range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByGroupId
public static List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByGroupId
public static List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByGroupId_First
public static CPDefinitionOptionValueRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByGroupId_Last
public static CPDefinitionOptionValueRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByGroupId_PrevAndNext
public static CPDefinitionOptionValueRel[] findByGroupId_PrevAndNext(long CPDefinitionOptionValueRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where groupId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the cp definition option value rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of cp definition option value rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp definition option value rels
-
findByCompanyId
Returns all the cp definition option value rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp definition option value rels
-
findByCompanyId
Returns a range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCompanyId
public static List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCompanyId
public static List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCompanyId_First
public static CPDefinitionOptionValueRel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCompanyId_Last
public static CPDefinitionOptionValueRel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCompanyId_PrevAndNext
public static CPDefinitionOptionValueRel[] findByCompanyId_PrevAndNext(long CPDefinitionOptionValueRelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where companyId = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the cp definition option value rels where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of cp definition option value rels where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
public static List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the matching cp definition option value rels
-
findByCPDefinitionOptionRelId
public static List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
public static List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId
public static List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPDefinitionOptionRelId_First
public static CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCPDefinitionOptionRelId_First
public 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 = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPDefinitionOptionRelId_Last
public static CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCPDefinitionOptionRelId_Last
public 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 = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPDefinitionOptionRelId_PrevAndNext
public static CPDefinitionOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByCPDefinitionOptionRelId
public static void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID
-
countByCPDefinitionOptionRelId
public static int countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID- Returns:
- the number of matching cp definition option value rels
-
findByCPInstanceUuid
Returns all the cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the matching cp definition option value rels
-
findByCPInstanceUuid
public static List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end) Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCPInstanceUuid
public static List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPInstanceUuid
public static List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCPInstanceUuid_First
public static CPDefinitionOptionValueRel findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCPInstanceUuid_First
public static CPDefinitionOptionValueRel fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPInstanceUuid_Last
public static CPDefinitionOptionValueRel findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCPInstanceUuid_Last
public static CPDefinitionOptionValueRel fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCPInstanceUuid_PrevAndNext
public static CPDefinitionOptionValueRel[] findByCPInstanceUuid_PrevAndNext(long CPDefinitionOptionValueRelId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPInstanceUuid = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByCPInstanceUuid
Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid
- the cp instance uuid
-
countByCPInstanceUuid
Returns the number of cp definition option value rels where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the number of matching cp definition option value rels
-
findByKey
Returns all the cp definition option value rels where key = ?.- Parameters:
key
- the key- Returns:
- the matching cp definition option value rels
-
findByKey
Returns a range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByKey
public static List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByKey
public static List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where key = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
key
- the keystart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByKey_First
public static CPDefinitionOptionValueRel findByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByKey_First
public static CPDefinitionOptionValueRel fetchByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the first cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByKey_Last
public static CPDefinitionOptionValueRel findByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByKey_Last
public static CPDefinitionOptionValueRel fetchByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns the last cp definition option value rel in the ordered set where key = ?.- Parameters:
key
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByKey_PrevAndNext
public static CPDefinitionOptionValueRel[] findByKey_PrevAndNext(long CPDefinitionOptionValueRelId, String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where key = ?.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the current cp definition option value relkey
- the keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByKey
Removes all the cp definition option value rels where key = ? from the database.- Parameters:
key
- the key
-
countByKey
Returns the number of cp definition option value rels where key = ?.- Parameters:
key
- the key- Returns:
- the number of matching cp definition option value rels
-
findByC_K
public static CPDefinitionOptionValueRel findByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByC_K
Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
fetchByC_K
public static CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, String key, boolean useFinderCache) Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
removeByC_K
public static CPDefinitionOptionValueRel removeByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
-
countByC_K
Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDkey
- the key- Returns:
- the number of matching cp definition option value rels
-
findByCDORI_P
public static List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected- Returns:
- the matching cp definition option value rels
-
findByCDORI_P
public static List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end) Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)- Returns:
- the range of matching cp definition option value rels
-
findByCDORI_P
public static List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition option value rels
-
findByCDORI_P
public static List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedstart
- the lower bound of the range of cp definition option value relsend
- the upper bound of the range of cp definition option value rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp definition option value rels
-
findByCDORI_P_First
public static CPDefinitionOptionValueRel findByCDORI_P_First(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the first cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCDORI_P_First
public 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 = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCDORI_P_Last
public static CPDefinitionOptionValueRel findByCDORI_P_Last(long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException Returns the last cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a matching cp definition option value rel could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByCDORI_P_Last
public 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 = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselectedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition option value rel, or
null
if a matching cp definition option value rel could not be found
-
findByCDORI_P_PrevAndNext
public static CPDefinitionOptionValueRel[] findByCDORI_P_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, boolean preselected, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
removeByCDORI_P
public static void removeByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected
-
countByCDORI_P
public static int countByCDORI_P(long CPDefinitionOptionRelId, boolean preselected) Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel IDpreselected
- the preselected- Returns:
- the number of matching cp definition option value rels
-
cacheResult
Caches the cp definition option value rel in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionValueRel
- the cp definition option value rel
-
cacheResult
Caches the cp definition option value rels in the entity cache if it is enabled.- Parameters:
cpDefinitionOptionValueRels
- the cp definition option value rels
-
create
Creates a new cp definition option value rel with the primary key. Does not add the cp definition option value rel to the database.- Parameters:
CPDefinitionOptionValueRelId
- the primary key for the new cp definition option value rel- Returns:
- the new cp definition option value rel
-
remove
public static CPDefinitionOptionValueRel remove(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Removes the cp definition option value rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel that was removed
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
updateImpl
public static CPDefinitionOptionValueRel updateImpl(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) -
findByPrimaryKey
public static CPDefinitionOptionValueRel findByPrimaryKey(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException Returns the cp definition option value rel with the primary key or throws aNoSuchCPDefinitionOptionValueRelException
if it could not be found.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel
- Throws:
NoSuchCPDefinitionOptionValueRelException
- if a cp definition option value rel with the primary key could not be foundNoSuchCPDefinitionOptionValueRelException
-
fetchByPrimaryKey
Returns the cp definition option value rel with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionOptionValueRelId
- the primary key of the cp definition option value rel- Returns:
- the cp definition option value rel, or
null
if a cp definition option value rel with the primary key could not be found
-
findAll
Returns all the cp definition option value rels.- Returns:
- the cp definition option value rels
-
findAll
Returns a range of all the cp definition option value rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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)- Returns:
- the range of cp definition option value rels
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of cp definition option value rels
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPDefinitionOptionValueRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp definition option value rels
-
removeAll
public static void removeAll()Removes all the cp definition option value rels from the database. -
countAll
public static int countAll()Returns the number of cp definition option value rels.- Returns:
- the number of cp definition option value rels
-
getPersistence
-
setPersistence
-