@ProviderType
public class ReportInstanceUtil
extends java.lang.Object
com.liferay.content.targeting.service.persistence.impl.ReportInstancePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ReportInstancePersistence
,
com.liferay.content.targeting.service.persistence.impl.ReportInstancePersistenceImpl
Constructor and Description |
---|
ReportInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ReportInstance> reportInstances)
Caches the report instances in the entity cache if it is enabled.
|
static void |
cacheResult(ReportInstance reportInstance)
Caches the report instance in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ReportInstance reportInstance) |
static int |
countAll()
Returns the number of report instances.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of report instances where classNameId = ? and classPK = ?.
|
static int |
countByR_C_C(java.lang.String reportKey,
long classNameId,
long classPK)
Returns the number of report instances where reportKey = ? and classNameId = ? and classPK = ?.
|
static int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of report instances where userId = ? and classNameId = ? and classPK = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of report instances where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of report instances where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of report instances where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ReportInstance |
create(long reportInstanceId)
Creates a new report instance with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static ReportInstance |
fetchByPrimaryKey(long reportInstanceId)
Returns the report instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ReportInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static java.util.List<ReportInstance> |
findAll()
Returns all the report instances.
|
static java.util.List<ReportInstance> |
findAll(int start,
int end)
Returns a range of all the report instances.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<ReportInstance> |
findByC_C(long classNameId,
long classPK)
Returns all the report instances where classNameId = ? and classPK = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static ReportInstance |
findByPrimaryKey(long reportInstanceId)
Returns the report instance with the primary key or throws a
NoSuchReportInstanceException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<ReportInstance> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the report instances where userId = ? and classNameId = ? and classPK = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<ReportInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the report instances where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid)
Returns all the report instances where uuid = ?.
|
static java.util.List<ReportInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the report instances where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<ReportInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ReportInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ReportInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static ReportInstancePersistence |
getPersistence() |
static ReportInstance |
remove(long reportInstanceId)
Removes the report instance with the primary key from the database.
|
static void |
removeAll()
Removes all the report instances from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the report instances where classNameId = ? and classPK = ? from the database.
|
static 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.
|
static void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes all the report instances where userId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the report instances where uuid = ? and companyId = ? from the database.
|
static ReportInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the report instance where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the report instances where uuid = ? from the database.
|
static ReportInstance |
update(ReportInstance reportInstance) |
static ReportInstance |
update(ReportInstance reportInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ReportInstance |
updateImpl(ReportInstance reportInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ReportInstance reportInstance)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<ReportInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ReportInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ReportInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReportInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ReportInstance update(ReportInstance reportInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ReportInstance update(ReportInstance reportInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ReportInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.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)public static 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
)public static 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 cachepublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance[] 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 foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchReportInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchReportInstanceException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<ReportInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance[] 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 foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ReportInstance> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kpublic static java.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)public static 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
)public static 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 cachepublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance[] 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 foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class p kpublic static java.util.List<ReportInstance> findByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kpublic static java.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)public static 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
)public static 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 cachepublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance[] 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 foundpublic static void removeByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kpublic static int countByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class p kpublic static java.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 kpublic static java.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)public static 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
)public static 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 cachepublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance 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 foundpublic static ReportInstance[] 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 foundpublic static void removeByR_C_C(java.lang.String reportKey, long classNameId, long classPK)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kpublic static int countByR_C_C(java.lang.String reportKey, long classNameId, long classPK)
reportKey
- the report keyclassNameId
- the class name IDclassPK
- the class p kpublic static void cacheResult(ReportInstance reportInstance)
reportInstance
- the report instancepublic static void cacheResult(java.util.List<ReportInstance> reportInstances)
reportInstances
- the report instancespublic static ReportInstance create(long reportInstanceId)
reportInstanceId
- the primary key for the new report instancepublic static ReportInstance remove(long reportInstanceId) throws NoSuchReportInstanceException
reportInstanceId
- the primary key of the report instanceNoSuchReportInstanceException
- if a report instance with the primary key could not be foundpublic static ReportInstance updateImpl(ReportInstance reportInstance)
public static 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 foundpublic static ReportInstance 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 foundpublic static java.util.Map<java.io.Serializable,ReportInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<ReportInstance> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static ReportInstancePersistence getPersistence()