@ProviderType public interface CPDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinition>
Caching information and settings can be found in portal.properties
CPDefinitionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDefinition cpDefinition)
Caches the cp definition in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPDefinition> cpDefinitions)
Caches the cp definitions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp definitions.
|
int |
countByC_S(long CProductId,
int status)
Returns the number of cp definitions where CProductId = ? and status = ?.
|
int |
countByC_V(long CProductId,
int version)
Returns the number of cp definitions where CProductId = ? and version = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of cp definitions where companyId = ?.
|
int |
countByCPTaxCategoryId(long CPTaxCategoryId)
Returns the number of cp definitions where CPTaxCategoryId = ?.
|
int |
countByG_S(long groupId,
int status)
Returns the number of cp definitions where groupId = ? and status = ?.
|
int |
countByG_SE(long groupId,
boolean subscriptionEnabled)
Returns the number of cp definitions where groupId = ? and subscriptionEnabled = ?.
|
int |
countByGroupId(long groupId)
Returns the number of cp definitions where groupId = ?.
|
int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of cp definitions where displayDate < ? and status = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definitions where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definitions where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp definitions where uuid = ?.
|
CPDefinition |
create(long CPDefinitionId)
Creates a new cp definition with the primary key.
|
CPDefinition |
fetchByC_S_First(long CProductId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
|
CPDefinition |
fetchByC_S_Last(long CProductId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
|
CPDefinition |
fetchByC_V(long CProductId,
int version)
Returns the cp definition where CProductId = ? and version = ? or returns
null if it could not be found. |
CPDefinition |
fetchByC_V(long CProductId,
int version,
boolean useFinderCache)
Returns the cp definition where CProductId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where companyId = ?.
|
CPDefinition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where companyId = ?.
|
CPDefinition |
fetchByCPTaxCategoryId_First(long CPTaxCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
|
CPDefinition |
fetchByCPTaxCategoryId_Last(long CPTaxCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
|
CPDefinition |
fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ? and status = ?.
|
CPDefinition |
fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ? and status = ?.
|
CPDefinition |
fetchByG_SE_First(long groupId,
boolean subscriptionEnabled,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
|
CPDefinition |
fetchByG_SE_Last(long groupId,
boolean subscriptionEnabled,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
|
CPDefinition |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ?.
|
CPDefinition |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ?.
|
CPDefinition |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where displayDate < ? and status = ?.
|
CPDefinition |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where displayDate < ? and status = ?.
|
CPDefinition |
fetchByPrimaryKey(long CPDefinitionId)
Returns the cp definition with the primary key or returns
null if it could not be found. |
CPDefinition |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where uuid = ? and companyId = ?.
|
CPDefinition |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where uuid = ? and companyId = ?.
|
CPDefinition |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where uuid = ?.
|
CPDefinition |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPDefinition |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where uuid = ?.
|
java.util.List<CPDefinition> |
findAll()
Returns all the cp definitions.
|
java.util.List<CPDefinition> |
findAll(int start,
int end)
Returns a range of all the cp definitions.
|
java.util.List<CPDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions.
|
java.util.List<CPDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions.
|
CPDefinition |
findByC_S_First(long CProductId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
|
CPDefinition |
findByC_S_Last(long CProductId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
|
CPDefinition[] |
findByC_S_PrevAndNext(long CPDefinitionId,
long CProductId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where CProductId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByC_S(long CProductId,
int status)
Returns all the cp definitions where CProductId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByC_S(long CProductId,
int status,
int start,
int end)
Returns a range of all the cp definitions where CProductId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByC_S(long CProductId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where CProductId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByC_S(long CProductId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where CProductId = ? and status = ?.
|
CPDefinition |
findByC_V(long CProductId,
int version)
Returns the cp definition where CProductId = ? and version = ? or throws a
NoSuchCPDefinitionException if it could not be found. |
CPDefinition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where companyId = ?.
|
CPDefinition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where companyId = ?.
|
CPDefinition[] |
findByCompanyId_PrevAndNext(long CPDefinitionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where companyId = ?.
|
java.util.List<CPDefinition> |
findByCompanyId(long companyId)
Returns all the cp definitions where companyId = ?.
|
java.util.List<CPDefinition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp definitions where companyId = ?.
|
java.util.List<CPDefinition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where companyId = ?.
|
java.util.List<CPDefinition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where companyId = ?.
|
CPDefinition |
findByCPTaxCategoryId_First(long CPTaxCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
|
CPDefinition |
findByCPTaxCategoryId_Last(long CPTaxCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
|
CPDefinition[] |
findByCPTaxCategoryId_PrevAndNext(long CPDefinitionId,
long CPTaxCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where CPTaxCategoryId = ?.
|
java.util.List<CPDefinition> |
findByCPTaxCategoryId(long CPTaxCategoryId)
Returns all the cp definitions where CPTaxCategoryId = ?.
|
java.util.List<CPDefinition> |
findByCPTaxCategoryId(long CPTaxCategoryId,
int start,
int end)
Returns a range of all the cp definitions where CPTaxCategoryId = ?.
|
java.util.List<CPDefinition> |
findByCPTaxCategoryId(long CPTaxCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.
|
java.util.List<CPDefinition> |
findByCPTaxCategoryId(long CPTaxCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.
|
CPDefinition |
findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ? and status = ?.
|
CPDefinition |
findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ? and status = ?.
|
CPDefinition[] |
findByG_S_PrevAndNext(long CPDefinitionId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByG_S(long groupId,
int status)
Returns all the cp definitions where groupId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the cp definitions where groupId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where groupId = ? and status = ?.
|
java.util.List<CPDefinition> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where groupId = ? and status = ?.
|
CPDefinition |
findByG_SE_First(long groupId,
boolean subscriptionEnabled,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
|
CPDefinition |
findByG_SE_Last(long groupId,
boolean subscriptionEnabled,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
|
CPDefinition[] |
findByG_SE_PrevAndNext(long CPDefinitionId,
long groupId,
boolean subscriptionEnabled,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
|
java.util.List<CPDefinition> |
findByG_SE(long groupId,
boolean subscriptionEnabled)
Returns all the cp definitions where groupId = ? and subscriptionEnabled = ?.
|
java.util.List<CPDefinition> |
findByG_SE(long groupId,
boolean subscriptionEnabled,
int start,
int end)
Returns a range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
|
java.util.List<CPDefinition> |
findByG_SE(long groupId,
boolean subscriptionEnabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
|
java.util.List<CPDefinition> |
findByG_SE(long groupId,
boolean subscriptionEnabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
|
CPDefinition |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where groupId = ?.
|
CPDefinition |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where groupId = ?.
|
CPDefinition[] |
findByGroupId_PrevAndNext(long CPDefinitionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ?.
|
java.util.List<CPDefinition> |
findByGroupId(long groupId)
Returns all the cp definitions where groupId = ?.
|
java.util.List<CPDefinition> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp definitions where groupId = ?.
|
java.util.List<CPDefinition> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where groupId = ?.
|
java.util.List<CPDefinition> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where groupId = ?.
|
CPDefinition |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where displayDate < ? and status = ?.
|
CPDefinition |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where displayDate < ? and status = ?.
|
CPDefinition[] |
findByLtD_S_PrevAndNext(long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where displayDate < ? and status = ?.
|
java.util.List<CPDefinition> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the cp definitions where displayDate < ? and status = ?.
|
java.util.List<CPDefinition> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cp definitions where displayDate < ? and status = ?.
|
java.util.List<CPDefinition> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where displayDate < ? and status = ?.
|
java.util.List<CPDefinition> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where displayDate < ? and status = ?.
|
CPDefinition |
findByPrimaryKey(long CPDefinitionId)
Returns the cp definition with the primary key or throws a
NoSuchCPDefinitionException if it could not be found. |
CPDefinition |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where uuid = ? and companyId = ?.
|
CPDefinition |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where uuid = ? and companyId = ?.
|
CPDefinition[] |
findByUuid_C_PrevAndNext(long CPDefinitionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definitions where uuid = ? and companyId = ?.
|
java.util.List<CPDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definitions where uuid = ? and companyId = ?.
|
java.util.List<CPDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where uuid = ? and companyId = ?.
|
java.util.List<CPDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where uuid = ? and companyId = ?.
|
CPDefinition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the first cp definition in the ordered set where uuid = ?.
|
CPDefinition |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionException if it could not be found. |
CPDefinition |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the last cp definition in the ordered set where uuid = ?.
|
CPDefinition[] |
findByUuid_PrevAndNext(long CPDefinitionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ?.
|
java.util.List<CPDefinition> |
findByUuid(java.lang.String uuid)
Returns all the cp definitions where uuid = ?.
|
java.util.List<CPDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definitions where uuid = ?.
|
java.util.List<CPDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
Returns an ordered range of all the cp definitions where uuid = ?.
|
java.util.List<CPDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definitions where uuid = ?.
|
CPDefinition |
remove(long CPDefinitionId)
Removes the cp definition with the primary key from the database.
|
void |
removeAll()
Removes all the cp definitions from the database.
|
void |
removeByC_S(long CProductId,
int status)
Removes all the cp definitions where CProductId = ? and status = ? from the database.
|
CPDefinition |
removeByC_V(long CProductId,
int version)
Removes the cp definition where CProductId = ? and version = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the cp definitions where companyId = ? from the database.
|
void |
removeByCPTaxCategoryId(long CPTaxCategoryId)
Removes all the cp definitions where CPTaxCategoryId = ? from the database.
|
void |
removeByG_S(long groupId,
int status)
Removes all the cp definitions where groupId = ? and status = ? from the database.
|
void |
removeByG_SE(long groupId,
boolean subscriptionEnabled)
Removes all the cp definitions where groupId = ? and subscriptionEnabled = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the cp definitions where groupId = ? from the database.
|
void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the cp definitions where displayDate < ? and status = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definitions where uuid = ? and companyId = ? from the database.
|
CPDefinition |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp definitions where uuid = ? from the database.
|
CPDefinition |
updateImpl(CPDefinition cpDefinition) |
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<CPDefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByUuid_PrevAndNext(long CPDefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPDefinition findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionException
NoSuchCPDefinitionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp definition could not be foundCPDefinition fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition could not be foundCPDefinition removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPDefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByUuid_C_PrevAndNext(long CPDefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition 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 IDjava.util.List<CPDefinition> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPDefinition> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPDefinitionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByGroupId_PrevAndNext(long CPDefinitionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPDefinition> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPDefinition> 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 CPDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByCompanyId_PrevAndNext(long CPDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDjava.util.List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, 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 CPDefinitionModelImpl
.
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
CPTaxCategoryId
- the cp tax category IDstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
CPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByCPTaxCategoryId_PrevAndNext(long CPDefinitionId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitionCPTaxCategoryId
- the cp tax category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDint countByCPTaxCategoryId(long CPTaxCategoryId)
CPTaxCategoryId
- the cp tax category IDjava.util.List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled)
groupId
- the group IDsubscriptionEnabled
- the subscription enabledjava.util.List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, 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 CPDefinitionModelImpl
.
groupId
- the group IDsubscriptionEnabled
- the subscription enabledstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDsubscriptionEnabled
- the subscription enabledstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDsubscriptionEnabled
- the subscription enabledstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDsubscriptionEnabled
- the subscription enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDsubscriptionEnabled
- the subscription enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDsubscriptionEnabled
- the subscription enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDsubscriptionEnabled
- the subscription enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByG_SE_PrevAndNext(long CPDefinitionId, long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitiongroupId
- the group IDsubscriptionEnabled
- the subscription enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByG_SE(long groupId, boolean subscriptionEnabled)
groupId
- the group IDsubscriptionEnabled
- the subscription enabledint countByG_SE(long groupId, boolean subscriptionEnabled)
groupId
- the group IDsubscriptionEnabled
- the subscription enabledjava.util.List<CPDefinition> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<CPDefinition> findByG_S(long groupId, int status, 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 CPDefinitionModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByG_S_PrevAndNext(long CPDefinitionId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitiongroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusint countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusCPDefinition findByC_V(long CProductId, int version) throws NoSuchCPDefinitionException
NoSuchCPDefinitionException
if it could not be found.CProductId
- the c product IDversion
- the versionNoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByC_V(long CProductId, int version)
null
if it could not be found. Uses the finder cache.CProductId
- the c product IDversion
- the versionnull
if a matching cp definition could not be foundCPDefinition fetchByC_V(long CProductId, int version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CProductId
- the c product IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching cp definition could not be foundCPDefinition removeByC_V(long CProductId, int version) throws NoSuchCPDefinitionException
CProductId
- the c product IDversion
- the versionNoSuchCPDefinitionException
int countByC_V(long CProductId, int version)
CProductId
- the c product IDversion
- the versionjava.util.List<CPDefinition> findByC_S(long CProductId, int status)
CProductId
- the c product IDstatus
- the statusjava.util.List<CPDefinition> findByC_S(long CProductId, int status, 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 CPDefinitionModelImpl
.
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
CProductId
- the c product IDstatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
CProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByC_S_PrevAndNext(long CPDefinitionId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitionCProductId
- the c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByC_S(long CProductId, int status)
CProductId
- the c product IDstatus
- the statusint countByC_S(long CProductId, int status)
CProductId
- the c product IDstatus
- the statusjava.util.List<CPDefinition> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CPDefinition> findByLtD_S(java.util.Date displayDate, int status, 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 CPDefinitionModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinition findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a matching cp definition could not be foundCPDefinition fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition could not be foundCPDefinition[] findByLtD_S_PrevAndNext(long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the current cp definitiondisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundvoid removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusint countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusvoid cacheResult(CPDefinition cpDefinition)
cpDefinition
- the cp definitionvoid cacheResult(java.util.List<CPDefinition> cpDefinitions)
cpDefinitions
- the cp definitionsCPDefinition create(long CPDefinitionId)
CPDefinitionId
- the primary key for the new cp definitionCPDefinition remove(long CPDefinitionId) throws NoSuchCPDefinitionException
CPDefinitionId
- the primary key of the cp definitionNoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundCPDefinition updateImpl(CPDefinition cpDefinition)
CPDefinition findByPrimaryKey(long CPDefinitionId) throws NoSuchCPDefinitionException
NoSuchCPDefinitionException
if it could not be found.CPDefinitionId
- the primary key of the cp definitionNoSuchCPDefinitionException
- if a cp definition with the primary key could not be foundCPDefinition fetchByPrimaryKey(long CPDefinitionId)
null
if it could not be found.CPDefinitionId
- the primary key of the cp definitionnull
if a cp definition with the primary key could not be foundjava.util.List<CPDefinition> findAll()
java.util.List<CPDefinition> 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 CPDefinitionModelImpl
.
start
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)java.util.List<CPDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
start
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> 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 CPDefinitionModelImpl
.
start
- the lower bound of the range of cp definitionsend
- the upper bound of the range of cp definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()