public class CPDefinitionSpecificationOptionValueUtil
extends java.lang.Object
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
CPDefinitionSpecificationOptionValuePersistence
Constructor and Description |
---|
CPDefinitionSpecificationOptionValueUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
Caches the cp definition specification option value in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues)
Caches the cp definition specification option values in the entity cache if it is enabled.
|
static void |
clearCache() |
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 |
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 |
countByGroupId(long groupId)
Returns the number of cp definition specification option values where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition specification option values where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition specification option values where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition specification option values where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CPDefinitionSpecificationOptionValue |
create(long CPDefinitionSpecificationOptionValueId)
Creates a new cp definition specification option value with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId,
long CPDefinitionId)
Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returns
null if it could not be found. |
static CPDefinitionSpecificationOptionValue |
fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId,
long CPDefinitionId,
boolean useFinderCache)
Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
fetchByPrimaryKey(long CPDefinitionSpecificationOptionValueId)
Returns the cp definition specification option value with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPDefinitionSpecificationOptionValue> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPDefinitionSpecificationOptionValue |
fetchByUuid_C_First(java.lang.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Returns the first cp definition specification option value in the ordered set where uuid = ?.
|
static CPDefinitionSpecificationOptionValue |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition specification option value where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPDefinitionSpecificationOptionValue |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition specification option value where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPDefinitionSpecificationOptionValue |
fetchByUuid_Last(java.lang.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 java.util.List<CPDefinitionSpecificationOptionValue> |
findAll()
Returns all the cp definition specification option values.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findAll(int start,
int end)
Returns a range of all the cp definition specification option values.
|
static java.util.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.
|
static java.util.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.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByC_COC(long CPDefinitionId,
long CPOptionCategoryId)
Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByC_CSO(long CPDefinitionId,
long CPSpecificationOptionId)
Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
findByC_CSOVI(long CPDefinitionSpecificationOptionValueId,
long CPDefinitionId)
Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws a
NoSuchCPDefinitionSpecificationOptionValueException if it could not be found. |
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cp definition specification option values where CPDefinitionId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cp definition specification option values where CPDefinitionId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPOptionCategoryId(long CPOptionCategoryId)
Returns all the cp definition specification option values where CPOptionCategoryId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end)
Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPSpecificationOptionId(long CPSpecificationOptionId)
Returns all the cp definition specification option values where CPSpecificationOptionId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByCPSpecificationOptionId(long CPSpecificationOptionId,
int start,
int end)
Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static CPDefinitionSpecificationOptionValue |
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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByGroupId(long groupId)
Returns all the cp definition specification option values where groupId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp definition specification option values where groupId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
findByPrimaryKey(long CPDefinitionSpecificationOptionValueId)
Returns the cp definition specification option value with the primary key or throws a
NoSuchCPDefinitionSpecificationOptionValueException if it could not be found. |
static CPDefinitionSpecificationOptionValue |
findByUuid_C_First(java.lang.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
findByUuid_C_Last(java.lang.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,
java.lang.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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition specification option values where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition specification option values where uuid = ? and companyId = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid_C(java.lang.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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid_C(java.lang.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 = ?.
|
static CPDefinitionSpecificationOptionValue |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Returns the first cp definition specification option value in the ordered set where uuid = ?.
|
static CPDefinitionSpecificationOptionValue |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition specification option value where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionSpecificationOptionValueException if it could not be found. |
static CPDefinitionSpecificationOptionValue |
findByUuid_Last(java.lang.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,
java.lang.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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid(java.lang.String uuid)
Returns all the cp definition specification option values where uuid = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition specification option values where uuid = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<CPDefinitionSpecificationOptionValue> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPDefinitionSpecificationOptionValue> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPDefinitionSpecificationOptionValue> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) |
static CPDefinitionSpecificationOptionValuePersistence |
getPersistence() |
static CPDefinitionSpecificationOptionValue |
remove(long CPDefinitionSpecificationOptionValueId)
Removes the cp definition specification option value with the primary key from the database.
|
static void |
removeAll()
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.
|
static CPDefinitionSpecificationOptionValue |
removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId,
long CPDefinitionId)
Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? 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.
|
static void |
removeByGroupId(long groupId)
Removes all the cp definition specification option values where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition specification option values where uuid = ? and companyId = ? from the database.
|
static CPDefinitionSpecificationOptionValue |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition specification option value where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition specification option values where uuid = ? from the database.
|
static CPDefinitionSpecificationOptionValue |
update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) |
static CPDefinitionSpecificationOptionValue |
update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPDefinitionSpecificationOptionValue |
updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) |
public CPDefinitionSpecificationOptionValueUtil()
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CPDefinitionSpecificationOptionValue> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByUuid_PrevAndNext(long CPDefinitionSpecificationOptionValueId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CPDefinitionSpecificationOptionValue findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException
NoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionSpecificationOptionValueException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByUuid_C_PrevAndNext(long CPDefinitionSpecificationOptionValueId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByGroupId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valuegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByCPDefinitionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId)
CPSpecificationOptionId
- the cp specification option IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByCPSpecificationOptionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByCPSpecificationOptionId(long CPSpecificationOptionId)
CPSpecificationOptionId
- the cp specification option IDpublic static int countByCPSpecificationOptionId(long CPSpecificationOptionId)
CPSpecificationOptionId
- the cp specification option IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByCPOptionCategoryId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the current cp definition specification option valueCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDpublic static int countByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDpublic static CPDefinitionSpecificationOptionValue findByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException
NoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDNoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId)
null
if it could not be found. Uses the finder cache.CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDnull
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDNoSuchCPDefinitionSpecificationOptionValueException
public static int countByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId)
CPDefinitionSpecificationOptionValueId
- the cp definition specification option value IDCPDefinitionId
- the cp definition IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByC_CSO_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
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 (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDpublic static int countByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
CPDefinitionId
- the cp definition IDCPSpecificationOptionId
- the cp specification option IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId)
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDpublic static java.util.List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPDefinitionSpecificationOptionValue findByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue findByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition specification option value could not be foundpublic static CPDefinitionSpecificationOptionValue[] findByC_COC_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
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 (optionally null
)NoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static void removeByC_COC(long CPDefinitionId, long CPOptionCategoryId)
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDpublic static int countByC_COC(long CPDefinitionId, long CPOptionCategoryId)
CPDefinitionId
- the cp definition IDCPOptionCategoryId
- the cp option category IDpublic static void cacheResult(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
cpDefinitionSpecificationOptionValue
- the cp definition specification option valuepublic static void cacheResult(java.util.List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues)
cpDefinitionSpecificationOptionValues
- the cp definition specification option valuespublic static CPDefinitionSpecificationOptionValue create(long CPDefinitionSpecificationOptionValueId)
CPDefinitionSpecificationOptionValueId
- the primary key for the new cp definition specification option valuepublic static CPDefinitionSpecificationOptionValue remove(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException
CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option valueNoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static CPDefinitionSpecificationOptionValue updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
public static CPDefinitionSpecificationOptionValue findByPrimaryKey(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException
NoSuchCPDefinitionSpecificationOptionValueException
if it could not be found.CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option valueNoSuchCPDefinitionSpecificationOptionValueException
- if a cp definition specification option value with the primary key could not be foundpublic static CPDefinitionSpecificationOptionValue fetchByPrimaryKey(long CPDefinitionSpecificationOptionValueId)
null
if it could not be found.CPDefinitionSpecificationOptionValueId
- the primary key of the cp definition specification option valuenull
if a cp definition specification option value with the primary key could not be foundpublic static java.util.List<CPDefinitionSpecificationOptionValue> findAll()
public static java.util.List<CPDefinitionSpecificationOptionValue> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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)public static java.util.List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)public static java.util.List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionSpecificationOptionValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CPDefinitionSpecificationOptionValuePersistence getPersistence()