@ProviderType public interface CPSpecificationOptionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPSpecificationOption>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOption>
Caching information and settings can be found in portal.properties
CPSpecificationOptionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPSpecificationOption cpSpecificationOption)
Caches the cp specification option in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPSpecificationOption> cpSpecificationOptions)
Caches the cp specification options in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp specification options.
|
int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of cp specification options where companyId = ? and key = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of cp specification options where companyId = ?.
|
int |
countByCPOptionCategoryId(long CPOptionCategoryId)
Returns the number of cp specification options where CPOptionCategoryId = ?.
|
int |
countByListTypeDefinitionId(long listTypeDefinitionId)
Returns the number of cp specification options where listTypeDefinitionId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp specification options where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp specification options where uuid = ?.
|
CPSpecificationOption |
create(long CPSpecificationOptionId)
Creates a new cp specification option with the primary key.
|
CPSpecificationOption |
fetchByC_K(long companyId,
java.lang.String key)
Returns the cp specification option where companyId = ? and key = ? or returns
null if it could not be found. |
CPSpecificationOption |
fetchByC_K(long companyId,
java.lang.String key,
boolean useFinderCache)
Returns the cp specification option where companyId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
CPSpecificationOption |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where companyId = ?.
|
CPSpecificationOption |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where companyId = ?.
|
CPSpecificationOption |
fetchByCPOptionCategoryId_First(long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where CPOptionCategoryId = ?.
|
CPSpecificationOption |
fetchByCPOptionCategoryId_Last(long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.
|
CPSpecificationOption |
fetchByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where listTypeDefinitionId = ?.
|
CPSpecificationOption |
fetchByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where listTypeDefinitionId = ?.
|
CPSpecificationOption |
fetchByPrimaryKey(long CPSpecificationOptionId)
Returns the cp specification option with the primary key or returns
null if it could not be found. |
CPSpecificationOption |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where uuid = ? and companyId = ?.
|
CPSpecificationOption |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.
|
CPSpecificationOption |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where uuid = ?.
|
CPSpecificationOption |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where uuid = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of cp specification options that the user has permission to view where companyId = ?.
|
int |
filterCountByCPOptionCategoryId(long CPOptionCategoryId)
Returns the number of cp specification options that the user has permission to view where CPOptionCategoryId = ?.
|
int |
filterCountByListTypeDefinitionId(long listTypeDefinitionId)
Returns the number of cp specification options that the user has permission to view where listTypeDefinitionId = ?.
|
int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp specification options that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of cp specification options that the user has permission to view where uuid = ?.
|
CPSpecificationOption[] |
filterFindByCompanyId_PrevAndNext(long CPSpecificationOptionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCompanyId(long companyId)
Returns all the cp specification options that the user has permission to view where companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp specification options that the user has permission to view where companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options that the user has permissions to view where companyId = ?.
|
CPSpecificationOption[] |
filterFindByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId,
long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCPOptionCategoryId(long CPOptionCategoryId)
Returns all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end)
Returns a range of all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options that the user has permissions to view where CPOptionCategoryId = ?.
|
CPSpecificationOption[] |
filterFindByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionId,
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByListTypeDefinitionId(long listTypeDefinitionId)
Returns all the cp specification options that the user has permission to view where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end)
Returns a range of all the cp specification options that the user has permission to view where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options that the user has permissions to view where listTypeDefinitionId = ?.
|
CPSpecificationOption[] |
filterFindByUuid_C_PrevAndNext(long CPSpecificationOptionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ? and companyId = ?.
|
CPSpecificationOption[] |
filterFindByUuid_PrevAndNext(long CPSpecificationOptionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid(java.lang.String uuid)
Returns all the cp specification options that the user has permission to view where uuid = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp specification options that the user has permission to view where uuid = ?.
|
java.util.List<CPSpecificationOption> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options that the user has permissions to view where uuid = ?.
|
java.util.List<CPSpecificationOption> |
findAll()
Returns all the cp specification options.
|
java.util.List<CPSpecificationOption> |
findAll(int start,
int end)
Returns a range of all the cp specification options.
|
java.util.List<CPSpecificationOption> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options.
|
java.util.List<CPSpecificationOption> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options.
|
CPSpecificationOption |
findByC_K(long companyId,
java.lang.String key)
Returns the cp specification option where companyId = ? and key = ? or throws a
NoSuchCPSpecificationOptionException if it could not be found. |
CPSpecificationOption |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where companyId = ?.
|
CPSpecificationOption |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where companyId = ?.
|
CPSpecificationOption[] |
findByCompanyId_PrevAndNext(long CPSpecificationOptionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set where companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByCompanyId(long companyId)
Returns all the cp specification options where companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp specification options where companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options where companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options where companyId = ?.
|
CPSpecificationOption |
findByCPOptionCategoryId_First(long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where CPOptionCategoryId = ?.
|
CPSpecificationOption |
findByCPOptionCategoryId_Last(long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where CPOptionCategoryId = ?.
|
CPSpecificationOption[] |
findByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId,
long CPOptionCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
findByCPOptionCategoryId(long CPOptionCategoryId)
Returns all the cp specification options where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
findByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end)
Returns a range of all the cp specification options where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
findByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.
|
java.util.List<CPSpecificationOption> |
findByCPOptionCategoryId(long CPOptionCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options where CPOptionCategoryId = ?.
|
CPSpecificationOption |
findByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where listTypeDefinitionId = ?.
|
CPSpecificationOption |
findByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where listTypeDefinitionId = ?.
|
CPSpecificationOption[] |
findByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionId,
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
findByListTypeDefinitionId(long listTypeDefinitionId)
Returns all the cp specification options where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end)
Returns a range of all the cp specification options where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options where listTypeDefinitionId = ?.
|
java.util.List<CPSpecificationOption> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options where listTypeDefinitionId = ?.
|
CPSpecificationOption |
findByPrimaryKey(long CPSpecificationOptionId)
Returns the cp specification option with the primary key or throws a
NoSuchCPSpecificationOptionException if it could not be found. |
CPSpecificationOption |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where uuid = ? and companyId = ?.
|
CPSpecificationOption |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where uuid = ? and companyId = ?.
|
CPSpecificationOption[] |
findByUuid_C_PrevAndNext(long CPSpecificationOptionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp specification options where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp specification options where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options where uuid = ? and companyId = ?.
|
CPSpecificationOption |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the first cp specification option in the ordered set where uuid = ?.
|
CPSpecificationOption |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the last cp specification option in the ordered set where uuid = ?.
|
CPSpecificationOption[] |
findByUuid_PrevAndNext(long CPSpecificationOptionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid(java.lang.String uuid)
Returns all the cp specification options where uuid = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp specification options where uuid = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
Returns an ordered range of all the cp specification options where uuid = ?.
|
java.util.List<CPSpecificationOption> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp specification options where uuid = ?.
|
CPSpecificationOption |
remove(long CPSpecificationOptionId)
Removes the cp specification option with the primary key from the database.
|
void |
removeAll()
Removes all the cp specification options from the database.
|
CPSpecificationOption |
removeByC_K(long companyId,
java.lang.String key)
Removes the cp specification option where companyId = ? and key = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the cp specification options where companyId = ? from the database.
|
void |
removeByCPOptionCategoryId(long CPOptionCategoryId)
Removes all the cp specification options where CPOptionCategoryId = ? from the database.
|
void |
removeByListTypeDefinitionId(long listTypeDefinitionId)
Removes all the cp specification options where listTypeDefinitionId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp specification options where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp specification options where uuid = ? from the database.
|
CPSpecificationOption |
updateImpl(CPSpecificationOption cpSpecificationOption) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CPSpecificationOption> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPSpecificationOption findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption[] findByUuid_PrevAndNext(long CPSpecificationOptionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPSpecificationOption> filterFindByUuid(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 CPSpecificationOptionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPSpecificationOption[] filterFindByUuid_PrevAndNext(long CPSpecificationOptionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPSpecificationOption> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPSpecificationOption findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption[] findByUuid_C_PrevAndNext(long CPSpecificationOptionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPSpecificationOption> filterFindByUuid_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 CPSpecificationOptionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPSpecificationOption[] filterFindByUuid_C_PrevAndNext(long CPSpecificationOptionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPSpecificationOption> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPSpecificationOptionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPSpecificationOption findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption[] findByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPSpecificationOption> filterFindByCompanyId(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 CPSpecificationOptionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPSpecificationOption[] filterFindByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDjava.util.List<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPSpecificationOption findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
CPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption[] findByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDjava.util.List<CPSpecificationOption> filterFindByCPOptionCategoryId(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 CPSpecificationOptionModelImpl
.
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
CPOptionCategoryId
- the cp option category IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPSpecificationOption[] filterFindByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionCPOptionCategoryId
- the cp option category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundvoid removeByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDint countByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDint filterCountByCPOptionCategoryId(long CPOptionCategoryId)
CPOptionCategoryId
- the cp option category IDjava.util.List<CPSpecificationOption> findByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDjava.util.List<CPSpecificationOption> findByListTypeDefinitionId(long listTypeDefinitionId, 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 CPSpecificationOptionModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPSpecificationOption findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp specification option could not be foundCPSpecificationOption[] findByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionlistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> filterFindByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDjava.util.List<CPSpecificationOption> filterFindByListTypeDefinitionId(long listTypeDefinitionId, 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 CPSpecificationOptionModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> filterFindByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPSpecificationOption[] filterFindByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the current cp specification optionlistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundvoid removeByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDint countByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDint filterCountByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDCPSpecificationOption findByC_K(long companyId, java.lang.String key) throws NoSuchCPSpecificationOptionException
NoSuchCPSpecificationOptionException
if it could not be found.companyId
- the company IDkey
- the keyNoSuchCPSpecificationOptionException
- if a matching cp specification option could not be foundCPSpecificationOption fetchByC_K(long companyId, java.lang.String key)
null
if it could not be found. Uses the finder cache.companyId
- the company IDkey
- the keynull
if a matching cp specification option could not be foundCPSpecificationOption fetchByC_K(long companyId, java.lang.String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching cp specification option could not be foundCPSpecificationOption removeByC_K(long companyId, java.lang.String key) throws NoSuchCPSpecificationOptionException
companyId
- the company IDkey
- the keyNoSuchCPSpecificationOptionException
int countByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keyvoid cacheResult(CPSpecificationOption cpSpecificationOption)
cpSpecificationOption
- the cp specification optionvoid cacheResult(java.util.List<CPSpecificationOption> cpSpecificationOptions)
cpSpecificationOptions
- the cp specification optionsCPSpecificationOption create(long CPSpecificationOptionId)
CPSpecificationOptionId
- the primary key for the new cp specification optionCPSpecificationOption remove(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException
CPSpecificationOptionId
- the primary key of the cp specification optionNoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundCPSpecificationOption updateImpl(CPSpecificationOption cpSpecificationOption)
CPSpecificationOption findByPrimaryKey(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException
NoSuchCPSpecificationOptionException
if it could not be found.CPSpecificationOptionId
- the primary key of the cp specification optionNoSuchCPSpecificationOptionException
- if a cp specification option with the primary key could not be foundCPSpecificationOption fetchByPrimaryKey(long CPSpecificationOptionId)
null
if it could not be found.CPSpecificationOptionId
- the primary key of the cp specification optionnull
if a cp specification option with the primary key could not be foundjava.util.List<CPSpecificationOption> findAll()
java.util.List<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)java.util.List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> 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 CPSpecificationOptionModelImpl
.
start
- the lower bound of the range of cp specification optionsend
- the upper bound of the range of cp specification options (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()