@ProviderType public interface ReportInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ReportInstance>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.service.persistence.impl.ReportInstancePersistenceImpl
,
ReportInstanceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ReportInstance> reportInstances)
Caches the report instances in the entity cache if it is enabled.
|
void |
cacheResult(ReportInstance reportInstance)
Caches the report instance in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of report instances.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of report instances where classNameId = ? and classPK = ?.
|
int |
countByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK)
Returns the number of report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of report instances where userId = ? and classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of report instances where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of report instances where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of report instances where uuid = ?.
|
ReportInstance |
create(long reportInstanceId)
Creates a new report instance with the primary key.
|
ReportInstance |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByPrimaryKey(long reportInstanceId)
Returns the report instance with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,ReportInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
ReportInstance |
fetchByR_C_C_First(java.lang.String reportKey,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where reportKey = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByR_C_C_Last(java.lang.String reportKey,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where reportKey = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where uuid = ? and companyId = ?.
|
ReportInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where uuid = ? and companyId = ?.
|
ReportInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where uuid = ?.
|
ReportInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the report instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
ReportInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the report instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
ReportInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where uuid = ?.
|
java.util.List<ReportInstance> |
findAll()
Returns all the report instances.
|
java.util.List<ReportInstance> |
findAll(int start,
int end)
Returns a range of all the report instances.
|
java.util.List<ReportInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances.
|
java.util.List<ReportInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances.
|
ReportInstance |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where classNameId = ? and classPK = ?.
|
ReportInstance |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where classNameId = ? and classPK = ?.
|
ReportInstance[] |
findByC_C_PrevAndNext(long reportInstanceId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the report instances before and after the current report instance in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByC_C(long classNameId,
long classPK)
Returns all the report instances where classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the report instances where classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances where classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances where classNameId = ? and classPK = ?.
|
ReportInstance |
findByPrimaryKey(long reportInstanceId)
Returns the report instance with the primary key or throws a
NoSuchReportInstanceException if it could not be found. |
ReportInstance |
findByR_C_C_First(java.lang.String reportKey,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where reportKey = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
findByR_C_C_Last(java.lang.String reportKey,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where reportKey = ? and classNameId = ? and classPK = ?.
|
ReportInstance[] |
findByR_C_C_PrevAndNext(long reportInstanceId,
java.lang.String reportKey,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the report instances before and after the current report instance in the ordered set where reportKey = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK)
Returns all the report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
findByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
findByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
ReportInstance[] |
findByU_C_C_PrevAndNext(long reportInstanceId,
long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the report instances before and after the current report instance in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the report instances where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the report instances where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<ReportInstance> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances where userId = ? and classNameId = ? and classPK = ?.
|
ReportInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where uuid = ? and companyId = ?.
|
ReportInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where uuid = ? and companyId = ?.
|
ReportInstance[] |
findByUuid_C_PrevAndNext(long reportInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the report instances before and after the current report instance in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ReportInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the report instances where uuid = ? and companyId = ?.
|
java.util.List<ReportInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the report instances where uuid = ? and companyId = ?.
|
java.util.List<ReportInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances where uuid = ? and companyId = ?.
|
java.util.List<ReportInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances where uuid = ? and companyId = ?.
|
ReportInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the first report instance in the ordered set where uuid = ?.
|
ReportInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the report instance where uuid = ? and groupId = ? or throws a
NoSuchReportInstanceException if it could not be found. |
ReportInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the last report instance in the ordered set where uuid = ?.
|
ReportInstance[] |
findByUuid_PrevAndNext(long reportInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns the report instances before and after the current report instance in the ordered set where uuid = ?.
|
java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid)
Returns all the report instances where uuid = ?.
|
java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the report instances where uuid = ?.
|
java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
Returns an ordered range of all the report instances where uuid = ?.
|
java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the report instances where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
ReportInstance |
remove(long reportInstanceId)
Removes the report instance with the primary key from the database.
|
void |
removeAll()
Removes all the report instances from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the report instances where classNameId = ? and classPK = ? from the database.
|
void |
removeByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK)
Removes all the report instances where reportKey = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes all the report instances where userId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the report instances where uuid = ? and companyId = ? from the database.
|
ReportInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the report instance where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the report instances where uuid = ? from the database.
|
ReportInstance |
updateImpl(ReportInstance reportInstance) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ReportInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheReportInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance[] findByUuid_PrevAndNext(long reportInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the current report instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a report instance with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidReportInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchReportInstanceException
NoSuchReportInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance 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 report instance could not be foundReportInstance fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching report instance could not be foundReportInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchReportInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchReportInstanceException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<ReportInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheReportInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance[] findByUuid_C_PrevAndNext(long reportInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the current report instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a report instance 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<ReportInstance> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kjava.util.List<ReportInstance> findByC_C(long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheReportInstance findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance[] findByC_C_PrevAndNext(long reportInstanceId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the current report instanceclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a report instance with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kjava.util.List<ReportInstance> findByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kjava.util.List<ReportInstance> findByU_C_C(long userId, long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheReportInstance findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance[] findByU_C_C_PrevAndNext(long reportInstanceId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the current report instanceuserId
- the user IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a report instance with the primary key could not be foundvoid removeByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kint countByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kjava.util.List<ReportInstance> findByR_C_C(java.lang.String reportKey, long classNameId, long classPK)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kjava.util.List<ReportInstance> findByR_C_C(java.lang.String reportKey, long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findByR_C_C(java.lang.String reportKey, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findByR_C_C(java.lang.String reportKey, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheReportInstance findByR_C_C_First(java.lang.String reportKey, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByR_C_C_First(java.lang.String reportKey, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance findByR_C_C_Last(java.lang.String reportKey, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a matching report instance could not be foundReportInstance fetchByR_C_C_Last(java.lang.String reportKey, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)null
if a matching report instance could not be foundReportInstance[] findByR_C_C_PrevAndNext(long reportInstanceId, java.lang.String reportKey, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the current report instancereportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)NoSuchReportInstanceException
- if a report instance with the primary key could not be foundvoid removeByR_C_C(java.lang.String reportKey, long classNameId, long classPK)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kint countByR_C_C(java.lang.String reportKey, long classNameId, long classPK)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kvoid cacheResult(ReportInstance reportInstance)
reportInstance
- the report instancevoid cacheResult(java.util.List<ReportInstance> reportInstances)
reportInstances
- the report instancesReportInstance create(long reportInstanceId)
reportInstanceId
- the primary key for the new report instanceReportInstance remove(long reportInstanceId) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the report instanceNoSuchReportInstanceException
- if a report instance with the primary key could not be foundReportInstance updateImpl(ReportInstance reportInstance)
ReportInstance findByPrimaryKey(long reportInstanceId) throws NoSuchReportInstanceException
NoSuchReportInstanceException
if it could not be found.reportInstanceId
- the primary key of the report instanceNoSuchReportInstanceException
- if a report instance with the primary key could not be foundReportInstance fetchByPrimaryKey(long reportInstanceId)
null
if it could not be found.reportInstanceId
- the primary key of the report instancenull
if a report instance with the primary key could not be foundjava.util.Map<java.io.Serializable,ReportInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ReportInstance>
java.util.List<ReportInstance> findAll()
java.util.List<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)java.util.List<ReportInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ReportInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ReportInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of report instancesend
- the upper bound of the range of report instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ReportInstance>