Class CPDefinitionSpecificationOptionValueUtil
com.liferay.commerce.product.service.persistence.impl.CPDefinitionSpecificationOptionValuePersistenceImpl
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
(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) Caches the cp definition specification option value in the entity cache if it is enabled.static void
cacheResult
(List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues) Caches the cp definition specification option values in the entity cache if it is enabled.static void
static void
clearCache
(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) static int
countAll()
Returns the number of cp definition specification option values.static int
countByC_COC
(long CPDefinitionId, long CPOptionCategoryId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.static int
countByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.static int
countByC_CSOVI
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ?.static int
countByC_K
(long CPDefinitionId, String key) Returns the number of cp definition specification option values where CPDefinitionId = ? and key = ?.static int
countByCPDefinitionId
(long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionId = ?.static int
countByCPOptionCategoryId
(long CPOptionCategoryId) Returns the number of cp definition specification option values where CPOptionCategoryId = ?.static int
countByCPSpecificationOptionId
(long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPSpecificationOptionId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp definition specification option values where externalReferenceCode = ? and companyId = ?.static int
countByGroupId
(long groupId) Returns the number of cp definition specification option values where groupId = ?.static int
countByUuid
(String uuid) Returns the number of cp definition specification option values where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp definition specification option values where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp definition specification option values where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long CPDefinitionSpecificationOptionValueId) Creates a new cp definition specification option value with the primary key.fetchByC_COC_First
(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.fetchByC_COC_Last
(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.fetchByC_CSO_First
(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.fetchByC_CSO_Last
(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.fetchByC_CSOVI
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnull
if it could not be found.fetchByC_CSOVI
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_K
(long CPDefinitionId, String key) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found.fetchByC_K
(long CPDefinitionId, String key, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.fetchByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ?.fetchByCPOptionCategoryId_First
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.fetchByCPOptionCategoryId_Last
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.fetchByCPSpecificationOptionId_First
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.fetchByCPSpecificationOptionId_Last
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where groupId = ?.fetchByPrimaryKey
(long CPDefinitionSpecificationOptionValueId) Returns the cp definition specification option value with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp definition specification option value where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where uuid = ?.findAll()
Returns all the cp definition specification option values.findAll
(int start, int end) Returns a range of all the cp definition specification option values.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values.findByC_COC
(long CPDefinitionId, long CPOptionCategoryId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC
(long CPDefinitionId, long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC
(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC
(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC_First
(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_COC_Last
(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.static CPDefinitionSpecificationOptionValue[]
findByC_COC_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.findByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO_First
(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSO_Last
(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.static CPDefinitionSpecificationOptionValue[]
findByC_CSO_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.findByC_CSOVI
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.findByCPDefinitionId
(long CPDefinitionId) Returns all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.findByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ?.static CPDefinitionSpecificationOptionValue[]
findByCPDefinitionId_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId) Returns all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId
(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.findByCPOptionCategoryId_First
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.findByCPOptionCategoryId_Last
(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.static CPDefinitionSpecificationOptionValue[]
findByCPOptionCategoryId_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPOptionCategoryId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId) Returns all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId
(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_First
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.findByCPSpecificationOptionId_Last
(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.static CPDefinitionSpecificationOptionValue[]
findByCPSpecificationOptionId_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.findByGroupId
(long groupId) Returns all the cp definition specification option values where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the cp definition specification option values where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where groupId = ?.static CPDefinitionSpecificationOptionValue[]
findByGroupId_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where groupId = ?.findByPrimaryKey
(long CPDefinitionSpecificationOptionValueId) Returns the cp definition specification option value with the primary key or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.findByUuid
(String uuid) Returns all the cp definition specification option values where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp definition specification option values where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where uuid = ? and companyId = ?.static CPDefinitionSpecificationOptionValue[]
findByUuid_C_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp definition specification option value where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where uuid = ?.static CPDefinitionSpecificationOptionValue[]
findByUuid_PrevAndNext
(long CPDefinitionSpecificationOptionValueId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where uuid = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) remove
(long CPDefinitionSpecificationOptionValueId) Removes the cp definition specification option value with the primary key from the database.static void
Removes all the cp definition specification option values from the database.static void
removeByC_COC
(long CPDefinitionId, long CPOptionCategoryId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ? from the database.static void
removeByC_CSO
(long CPDefinitionId, long CPSpecificationOptionId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ? from the database.removeByC_CSOVI
(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? from the database.removeByC_K
(long CPDefinitionId, String key) Removes the cp definition specification option value where CPDefinitionId = ? and key = ? from the database.static void
removeByCPDefinitionId
(long CPDefinitionId) Removes all the cp definition specification option values where CPDefinitionId = ? from the database.static void
removeByCPOptionCategoryId
(long CPOptionCategoryId) Removes all the cp definition specification option values where CPOptionCategoryId = ? from the database.static void
removeByCPSpecificationOptionId
(long CPSpecificationOptionId) Removes all the cp definition specification option values where CPSpecificationOptionId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp definition specification option value where externalReferenceCode = ? and companyId = ? from the database.static void
removeByGroupId
(long groupId) Removes all the cp definition specification option values where groupId = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp definition specification option values where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp definition specification option values where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp definition specification option value where uuid = ? and groupId = ? from the database.static void
update
(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) update
(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
-
Constructor Details
-
CPDefinitionSpecificationOptionValueUtil
public CPDefinitionSpecificationOptionValueUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) - 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,CPDefinitionSpecificationOptionValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp definition specification option values where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp definition specification option values
-
findByUuid
public static List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end) Returns a range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByUuid
public static List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByUuid
public static List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByUuid_First
public static CPDefinitionSpecificationOptionValue findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByUuid_First
public static CPDefinitionSpecificationOptionValue fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByUuid_Last
public static CPDefinitionSpecificationOptionValue findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByUuid_Last
public static CPDefinitionSpecificationOptionValue fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByUuid_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByUuid_PrevAndNext(long CPDefinitionSpecificationOptionValueId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where uuid = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByUuid
Removes all the cp definition specification option values where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp definition specification option values where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp definition specification option values
-
findByUUID_G
public static CPDefinitionSpecificationOptionValue findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByUUID_G
Returns the cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
fetchByUUID_G
public static CPDefinitionSpecificationOptionValue fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
removeByUUID_G
public static CPDefinitionSpecificationOptionValue removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByUUID_G
Returns the number of cp definition specification option values where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp definition specification option values
-
findByUuid_C
Returns all the cp definition specification option values where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp definition specification option values
-
findByUuid_C
public static List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByUuid_C
public static List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByUuid_C
public static List<CPDefinitionSpecificationOptionValue> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByUuid_C_First
public static CPDefinitionSpecificationOptionValue findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value 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 specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByUuid_C_First
public static CPDefinitionSpecificationOptionValue fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByUuid_C_Last
public static CPDefinitionSpecificationOptionValue findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value 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 specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByUuid_C_Last
public static CPDefinitionSpecificationOptionValue fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByUuid_C_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByUuid_C_PrevAndNext(long CPDefinitionSpecificationOptionValueId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByUuid_C
Removes all the cp definition specification option values where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp definition specification option values where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp definition specification option values
-
findByGroupId
Returns all the cp definition specification option values where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp definition specification option values
-
findByGroupId
public static List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end) Returns a range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByGroupId
public static List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByGroupId
public static List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values 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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByGroupId_First
public static CPDefinitionSpecificationOptionValue findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value 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 specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByGroupId_First
public static CPDefinitionSpecificationOptionValue fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByGroupId_Last
public static CPDefinitionSpecificationOptionValue findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value 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 specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByGroupId_Last
public static CPDefinitionSpecificationOptionValue fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value 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 specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByGroupId_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByGroupId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where groupId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valuegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the cp definition specification option values where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of cp definition specification option values where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp definition specification option values
-
findByCPDefinitionId
Returns all the cp definition specification option values where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition specification option values
-
findByCPDefinitionId
public static List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPDefinitionId
public static List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPDefinitionId
public static List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByCPDefinitionId_First
public static CPDefinitionSpecificationOptionValue findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPDefinitionId_First
public static CPDefinitionSpecificationOptionValue fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPDefinitionId_Last
public static CPDefinitionSpecificationOptionValue findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPDefinitionId_Last
public static CPDefinitionSpecificationOptionValue fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPDefinitionId_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByCPDefinitionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByCPDefinitionId
public static void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition specification option values where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition ID
-
countByCPDefinitionId
public static int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp definition specification option values
-
findByCPSpecificationOptionId
public static List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId) Returns all the cp definition specification option values where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option ID- Returns:
- the matching cp definition specification option values
-
findByCPSpecificationOptionId
public static List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPSpecificationOptionId
public static List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPSpecificationOptionId
public static List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByCPSpecificationOptionId_First
public static CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPSpecificationOptionId_First
public static CPDefinitionSpecificationOptionValue fetchByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPSpecificationOptionId_Last
public static CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPSpecificationOptionId_Last
public static CPDefinitionSpecificationOptionValue fetchByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPSpecificationOptionId_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByCPSpecificationOptionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByCPSpecificationOptionId
public static void removeByCPSpecificationOptionId(long CPSpecificationOptionId) Removes all the cp definition specification option values where CPSpecificationOptionId = ? from the database.- Parameters:
CPSpecificationOptionId
- the cp specification option ID
-
countByCPSpecificationOptionId
public static int countByCPSpecificationOptionId(long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPSpecificationOptionId = ?.- Parameters:
CPSpecificationOptionId
- the cp specification option ID- Returns:
- the number of matching cp definition specification option values
-
findByCPOptionCategoryId
public static List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId) Returns all the cp definition specification option values where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the matching cp definition specification option values
-
findByCPOptionCategoryId
public static List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByCPOptionCategoryId
public static List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByCPOptionCategoryId
public static List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByCPOptionCategoryId_First
public static CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPOptionCategoryId_First
public static CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPOptionCategoryId_Last
public static CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByCPOptionCategoryId_Last
public static CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByCPOptionCategoryId_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByCPOptionCategoryId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPOptionCategoryId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByCPOptionCategoryId
public static void removeByCPOptionCategoryId(long CPOptionCategoryId) Removes all the cp definition specification option values where CPOptionCategoryId = ? from the database.- Parameters:
CPOptionCategoryId
- the cp option category ID
-
countByCPOptionCategoryId
public static int countByCPOptionCategoryId(long CPOptionCategoryId) Returns the number of cp definition specification option values where CPOptionCategoryId = ?.- Parameters:
CPOptionCategoryId
- the cp option category ID- Returns:
- the number of matching cp definition specification option values
-
findByC_CSOVI
public static CPDefinitionSpecificationOptionValue findByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_CSOVI
public static CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition ID- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
fetchByC_CSOVI
public static CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
removeByC_CSOVI
public static CPDefinitionSpecificationOptionValue removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? from the database.- Parameters:
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByC_CSOVI
public static int countByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) Returns the number of cp definition specification option values where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp definition specification option values
-
findByC_CSO
public static List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option ID- Returns:
- the matching cp definition specification option values
-
findByC_CSO
public static List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByC_CSO
public static List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_CSO
public static List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByC_CSO_First
public static CPDefinitionSpecificationOptionValue findByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_CSO_First
public static CPDefinitionSpecificationOptionValue fetchByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByC_CSO_Last
public static CPDefinitionSpecificationOptionValue findByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_CSO_Last
public static CPDefinitionSpecificationOptionValue fetchByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByC_CSO_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByC_CSO_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByC_CSO
public static void removeByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option ID
-
countByC_CSO
public static int countByC_CSO(long CPDefinitionId, long CPSpecificationOptionId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option ID- Returns:
- the number of matching cp definition specification option values
-
findByC_COC
public static List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category ID- Returns:
- the matching cp definition specification option values
-
findByC_COC
public static List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end) Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of matching cp definition specification option values
-
findByC_COC
public static List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp definition specification option values
-
findByC_COC
public static List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
findByC_COC_First
public static CPDefinitionSpecificationOptionValue findByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_COC_First
public static CPDefinitionSpecificationOptionValue fetchByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByC_COC_Last
public static CPDefinitionSpecificationOptionValue findByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_COC_Last
public static CPDefinitionSpecificationOptionValue fetchByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
findByC_COC_PrevAndNext
public static CPDefinitionSpecificationOptionValue[] findByC_COC_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
removeByC_COC
public static void removeByC_COC(long CPDefinitionId, long CPOptionCategoryId) Removes all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category ID
-
countByC_COC
public static int countByC_COC(long CPDefinitionId, long CPOptionCategoryId) Returns the number of cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category ID- Returns:
- the number of matching cp definition specification option values
-
findByC_K
public static CPDefinitionSpecificationOptionValue findByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByC_K
Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
fetchByC_K
public static CPDefinitionSpecificationOptionValue fetchByC_K(long CPDefinitionId, String key, boolean useFinderCache) Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
removeByC_K
public static CPDefinitionSpecificationOptionValue removeByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where CPDefinitionId = ? and key = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByC_K
Returns the number of cp definition specification option values where CPDefinitionId = ? and key = ?.- Parameters:
CPDefinitionId
- the cp definition IDkey
- the key- Returns:
- the number of matching cp definition specification option values
-
findByERC_C
public static CPDefinitionSpecificationOptionValue findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByERC_C
public static CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
fetchByERC_C
public static CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp definition specification option value, or
null
if a matching cp definition specification option value could not be found
-
removeByERC_C
public static CPDefinitionSpecificationOptionValue removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
-
countByERC_C
Returns the number of cp definition specification option values where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp definition specification option values
-
cacheResult
public static void cacheResult(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) Caches the cp definition specification option value in the entity cache if it is enabled.- Parameters:
cpDefinitionSpecificationOptionValue
- the cp definition specification option value
-
cacheResult
public static void cacheResult(List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues) Caches the cp definition specification option values in the entity cache if it is enabled.- Parameters:
cpDefinitionSpecificationOptionValues
- the cp definition specification option values
-
create
public static CPDefinitionSpecificationOptionValue create(long CPDefinitionSpecificationOptionValueId) Creates a new cp definition specification option value with the primary key. Does not add the cp definition specification option value to the database.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key for the new cp definition specification option value- Returns:
- the new cp definition specification option value
-
remove
public static CPDefinitionSpecificationOptionValue remove(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException Removes the cp definition specification option value with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value that was removed
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
updateImpl
public static CPDefinitionSpecificationOptionValue updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) -
findByPrimaryKey
public static CPDefinitionSpecificationOptionValue findByPrimaryKey(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException Returns the cp definition specification option value with the primary key or throws aNoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value
- Throws:
NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundNoSuchCPDefinitionSpecificationOptionValueException
-
fetchByPrimaryKey
public static CPDefinitionSpecificationOptionValue fetchByPrimaryKey(long CPDefinitionSpecificationOptionValueId) Returns the cp definition specification option value with the primary key or returnsnull
if it could not be found.- Parameters:
CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option value- Returns:
- the cp definition specification option value, or
null
if a cp definition specification option value with the primary key could not be found
-
findAll
Returns all the cp definition specification option values.- Returns:
- the cp definition specification option values
-
findAll
Returns a range of all the cp definition specification option values.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)- Returns:
- the range of cp definition specification option values
-
findAll
public static List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) Returns an ordered range of all the cp definition specification option values.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp definition specification option values
-
findAll
public static List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition specification option values.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 fromCPDefinitionSpecificationOptionValueModelImpl
.- Parameters:
start
- the lower bound of the range of cp definition specification option valuesend
- the upper bound of the range of cp definition specification option values (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 specification option values
-
removeAll
public static void removeAll()Removes all the cp definition specification option values from the database. -
countAll
public static int countAll()Returns the number of cp definition specification option values.- Returns:
- the number of cp definition specification option values
-
getPersistence
-
setPersistence
-