@ProviderType public interface CPOptionCategoryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPOptionCategory>
Caching information and settings can be found in portal.properties
CPOptionCategoryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPOptionCategory cpOptionCategory)
Caches the cp option category in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPOptionCategory> cpOptionCategories)
Caches the cp option categories in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp option categories.
|
int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of cp option categories where companyId = ? and key = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of cp option categories where companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp option categories where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp option categories where uuid = ?.
|
CPOptionCategory |
create(long CPOptionCategoryId)
Creates a new cp option category with the primary key.
|
CPOptionCategory |
fetchByC_K(long companyId,
java.lang.String key)
Returns the cp option category where companyId = ? and key = ? or returns
null if it could not be found. |
CPOptionCategory |
fetchByC_K(long companyId,
java.lang.String key,
boolean useFinderCache)
Returns the cp option category where companyId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
CPOptionCategory |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where companyId = ?.
|
CPOptionCategory |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where companyId = ?.
|
CPOptionCategory |
fetchByPrimaryKey(long CPOptionCategoryId)
Returns the cp option category with the primary key or returns
null if it could not be found. |
CPOptionCategory |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where uuid = ? and companyId = ?.
|
CPOptionCategory |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where uuid = ? and companyId = ?.
|
CPOptionCategory |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where uuid = ?.
|
CPOptionCategory |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where uuid = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of cp option categories that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp option categories that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of cp option categories that the user has permission to view where uuid = ?.
|
CPOptionCategory[] |
filterFindByCompanyId_PrevAndNext(long CPOptionCategoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set of cp option categories that the user has permission to view where companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByCompanyId(long companyId)
Returns all the cp option categories that the user has permission to view where companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp option categories that the user has permission to view where companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories that the user has permissions to view where companyId = ?.
|
CPOptionCategory[] |
filterFindByUuid_C_PrevAndNext(long CPOptionCategoryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set of cp option categories that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp option categories that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp option categories that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories that the user has permissions to view where uuid = ? and companyId = ?.
|
CPOptionCategory[] |
filterFindByUuid_PrevAndNext(long CPOptionCategoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set of cp option categories that the user has permission to view where uuid = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid(java.lang.String uuid)
Returns all the cp option categories that the user has permission to view where uuid = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp option categories that the user has permission to view where uuid = ?.
|
java.util.List<CPOptionCategory> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories that the user has permissions to view where uuid = ?.
|
java.util.List<CPOptionCategory> |
findAll()
Returns all the cp option categories.
|
java.util.List<CPOptionCategory> |
findAll(int start,
int end)
Returns a range of all the cp option categories.
|
java.util.List<CPOptionCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories.
|
java.util.List<CPOptionCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp option categories.
|
CPOptionCategory |
findByC_K(long companyId,
java.lang.String key)
Returns the cp option category where companyId = ? and key = ? or throws a
NoSuchCPOptionCategoryException if it could not be found. |
CPOptionCategory |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where companyId = ?.
|
CPOptionCategory |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where companyId = ?.
|
CPOptionCategory[] |
findByCompanyId_PrevAndNext(long CPOptionCategoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set where companyId = ?.
|
java.util.List<CPOptionCategory> |
findByCompanyId(long companyId)
Returns all the cp option categories where companyId = ?.
|
java.util.List<CPOptionCategory> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp option categories where companyId = ?.
|
java.util.List<CPOptionCategory> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories where companyId = ?.
|
java.util.List<CPOptionCategory> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp option categories where companyId = ?.
|
CPOptionCategory |
findByPrimaryKey(long CPOptionCategoryId)
Returns the cp option category with the primary key or throws a
NoSuchCPOptionCategoryException if it could not be found. |
CPOptionCategory |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where uuid = ? and companyId = ?.
|
CPOptionCategory |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where uuid = ? and companyId = ?.
|
CPOptionCategory[] |
findByUuid_C_PrevAndNext(long CPOptionCategoryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp option categories where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp option categories where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories where uuid = ? and companyId = ?.
|
java.util.List<CPOptionCategory> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp option categories where uuid = ? and companyId = ?.
|
CPOptionCategory |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the first cp option category in the ordered set where uuid = ?.
|
CPOptionCategory |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the last cp option category in the ordered set where uuid = ?.
|
CPOptionCategory[] |
findByUuid_PrevAndNext(long CPOptionCategoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns the cp option categories before and after the current cp option category in the ordered set where uuid = ?.
|
java.util.List<CPOptionCategory> |
findByUuid(java.lang.String uuid)
Returns all the cp option categories where uuid = ?.
|
java.util.List<CPOptionCategory> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp option categories where uuid = ?.
|
java.util.List<CPOptionCategory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
Returns an ordered range of all the cp option categories where uuid = ?.
|
java.util.List<CPOptionCategory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp option categories where uuid = ?.
|
CPOptionCategory |
remove(long CPOptionCategoryId)
Removes the cp option category with the primary key from the database.
|
void |
removeAll()
Removes all the cp option categories from the database.
|
CPOptionCategory |
removeByC_K(long companyId,
java.lang.String key)
Removes the cp option category where companyId = ? and key = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the cp option categories where companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp option categories where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp option categories where uuid = ? from the database.
|
CPOptionCategory |
updateImpl(CPOptionCategory cpOptionCategory) |
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<CPOptionCategory> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPOptionCategory> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPOptionCategory findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory[] findByUuid_PrevAndNext(long CPOptionCategoryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categoryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category with the primary key could not be foundjava.util.List<CPOptionCategory> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPOptionCategory[] filterFindByUuid_PrevAndNext(long CPOptionCategoryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categoryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category 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<CPOptionCategory> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPOptionCategory> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPOptionCategory findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory[] findByUuid_C_PrevAndNext(long CPOptionCategoryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categoryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category with the primary key could not be foundjava.util.List<CPOptionCategory> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPOptionCategory[] filterFindByUuid_C_PrevAndNext(long CPOptionCategoryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categoryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category 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<CPOptionCategory> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPOptionCategory> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPOptionCategory findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp option category could not be foundCPOptionCategory[] findByCompanyId_PrevAndNext(long CPOptionCategoryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categorycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category with the primary key could not be foundjava.util.List<CPOptionCategory> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CPOptionCategory[] filterFindByCompanyId_PrevAndNext(long CPOptionCategoryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> orderByComparator) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the current cp option categorycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPOptionCategoryException
- if a cp option category 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 IDCPOptionCategory findByC_K(long companyId, java.lang.String key) throws NoSuchCPOptionCategoryException
NoSuchCPOptionCategoryException
if it could not be found.companyId
- the company IDkey
- the keyNoSuchCPOptionCategoryException
- if a matching cp option category could not be foundCPOptionCategory 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 option category could not be foundCPOptionCategory 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 option category could not be foundCPOptionCategory removeByC_K(long companyId, java.lang.String key) throws NoSuchCPOptionCategoryException
companyId
- the company IDkey
- the keyNoSuchCPOptionCategoryException
int countByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keyvoid cacheResult(CPOptionCategory cpOptionCategory)
cpOptionCategory
- the cp option categoryvoid cacheResult(java.util.List<CPOptionCategory> cpOptionCategories)
cpOptionCategories
- the cp option categoriesCPOptionCategory create(long CPOptionCategoryId)
CPOptionCategoryId
- the primary key for the new cp option categoryCPOptionCategory remove(long CPOptionCategoryId) throws NoSuchCPOptionCategoryException
CPOptionCategoryId
- the primary key of the cp option categoryNoSuchCPOptionCategoryException
- if a cp option category with the primary key could not be foundCPOptionCategory updateImpl(CPOptionCategory cpOptionCategory)
CPOptionCategory findByPrimaryKey(long CPOptionCategoryId) throws NoSuchCPOptionCategoryException
NoSuchCPOptionCategoryException
if it could not be found.CPOptionCategoryId
- the primary key of the cp option categoryNoSuchCPOptionCategoryException
- if a cp option category with the primary key could not be foundCPOptionCategory fetchByPrimaryKey(long CPOptionCategoryId)
null
if it could not be found.CPOptionCategoryId
- the primary key of the cp option categorynull
if a cp option category with the primary key could not be foundjava.util.List<CPOptionCategory> findAll()
java.util.List<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
start
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)java.util.List<CPOptionCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
start
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPOptionCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPOptionCategory> 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 CPOptionCategoryModelImpl
.
start
- the lower bound of the range of cp option categoriesend
- the upper bound of the range of cp option categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()