public class BatchEngineExportTaskUtil
extends java.lang.Object
com.liferay.batch.engine.service.persistence.impl.BatchEngineExportTaskPersistenceImpl
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
BatchEngineExportTaskPersistence
Constructor and Description |
---|
BatchEngineExportTaskUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(BatchEngineExportTask batchEngineExportTask)
Caches the batch engine export task in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<BatchEngineExportTask> batchEngineExportTasks)
Caches the batch engine export tasks in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(BatchEngineExportTask batchEngineExportTask) |
static int |
countAll()
Returns the number of batch engine export tasks.
|
static int |
countByExecuteStatus(java.lang.String executeStatus)
Returns the number of batch engine export tasks where executeStatus = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of batch engine export tasks where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of batch engine export tasks where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static BatchEngineExportTask |
create(long batchEngineExportTaskId)
Creates a new batch engine export task with the primary key.
|
static BatchEngineExportTask |
fetchByExecuteStatus_First(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where executeStatus = ?.
|
static BatchEngineExportTask |
fetchByExecuteStatus_Last(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where executeStatus = ?.
|
static BatchEngineExportTask |
fetchByPrimaryKey(long batchEngineExportTaskId)
Returns the batch engine export task with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,BatchEngineExportTask> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static BatchEngineExportTask |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineExportTask |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineExportTask |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where uuid = ?.
|
static BatchEngineExportTask |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findAll()
Returns all the batch engine export tasks.
|
static java.util.List<BatchEngineExportTask> |
findAll(int start,
int end)
Returns a range of all the batch engine export tasks.
|
static java.util.List<BatchEngineExportTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns an ordered range of all the batch engine export tasks.
|
static java.util.List<BatchEngineExportTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine export tasks.
|
static BatchEngineExportTask |
findByExecuteStatus_First(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where executeStatus = ?.
|
static BatchEngineExportTask |
findByExecuteStatus_Last(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where executeStatus = ?.
|
static BatchEngineExportTask[] |
findByExecuteStatus_PrevAndNext(long batchEngineExportTaskId,
java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where executeStatus = ?.
|
static java.util.List<BatchEngineExportTask> |
findByExecuteStatus(java.lang.String executeStatus)
Returns all the batch engine export tasks where executeStatus = ?.
|
static java.util.List<BatchEngineExportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end)
Returns a range of all the batch engine export tasks where executeStatus = ?.
|
static java.util.List<BatchEngineExportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns an ordered range of all the batch engine export tasks where executeStatus = ?.
|
static java.util.List<BatchEngineExportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine export tasks where executeStatus = ?.
|
static BatchEngineExportTask |
findByPrimaryKey(long batchEngineExportTaskId)
Returns the batch engine export task with the primary key or throws a
NoSuchExportTaskException if it could not be found. |
static BatchEngineExportTask |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineExportTask |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineExportTask[] |
findByUuid_C_PrevAndNext(long batchEngineExportTaskId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the batch engine export tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the batch engine export tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.
|
static BatchEngineExportTask |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the first batch engine export task in the ordered set where uuid = ?.
|
static BatchEngineExportTask |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the last batch engine export task in the ordered set where uuid = ?.
|
static BatchEngineExportTask[] |
findByUuid_PrevAndNext(long batchEngineExportTaskId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid(java.lang.String uuid)
Returns all the batch engine export tasks where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the batch engine export tasks where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Returns an ordered range of all the batch engine export tasks where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine export tasks where uuid = ?.
|
static java.util.List<BatchEngineExportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<BatchEngineExportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<BatchEngineExportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) |
static BatchEngineExportTaskPersistence |
getPersistence() |
static BatchEngineExportTask |
remove(long batchEngineExportTaskId)
Removes the batch engine export task with the primary key from the database.
|
static void |
removeAll()
Removes all the batch engine export tasks from the database.
|
static void |
removeByExecuteStatus(java.lang.String executeStatus)
Removes all the batch engine export tasks where executeStatus = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the batch engine export tasks where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the batch engine export tasks where uuid = ? from the database.
|
static BatchEngineExportTask |
update(BatchEngineExportTask batchEngineExportTask) |
static BatchEngineExportTask |
update(BatchEngineExportTask batchEngineExportTask,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static BatchEngineExportTask |
updateImpl(BatchEngineExportTask batchEngineExportTask) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(BatchEngineExportTask batchEngineExportTask)
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.Map<java.io.Serializable,BatchEngineExportTask> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static BatchEngineExportTask update(BatchEngineExportTask batchEngineExportTask)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static BatchEngineExportTask update(BatchEngineExportTask batchEngineExportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<BatchEngineExportTask> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<BatchEngineExportTask> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)public static java.util.List<BatchEngineExportTask> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineExportTask> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineExportTask findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask[] findByUuid_PrevAndNext(long batchEngineExportTaskId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
batchEngineExportTaskId
- the primary key of the current batch engine export taskuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a batch engine export task 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 java.util.List<BatchEngineExportTask> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<BatchEngineExportTask> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)public static java.util.List<BatchEngineExportTask> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineExportTask> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineExportTask findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask[] findByUuid_C_PrevAndNext(long batchEngineExportTaskId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
batchEngineExportTaskId
- the primary key of the current batch engine export taskuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a batch engine export task 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<BatchEngineExportTask> findByExecuteStatus(java.lang.String executeStatus)
executeStatus
- the execute statuspublic static java.util.List<BatchEngineExportTask> findByExecuteStatus(java.lang.String executeStatus, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)public static java.util.List<BatchEngineExportTask> findByExecuteStatus(java.lang.String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineExportTask> findByExecuteStatus(java.lang.String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineExportTask findByExecuteStatus_First(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByExecuteStatus_First(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask findByExecuteStatus_Last(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a matching batch engine export task could not be foundpublic static BatchEngineExportTask fetchByExecuteStatus_Last(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine export task could not be foundpublic static BatchEngineExportTask[] findByExecuteStatus_PrevAndNext(long batchEngineExportTaskId, java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException
batchEngineExportTaskId
- the primary key of the current batch engine export taskexecuteStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchExportTaskException
- if a batch engine export task with the primary key could not be foundpublic static void removeByExecuteStatus(java.lang.String executeStatus)
executeStatus
- the execute statuspublic static int countByExecuteStatus(java.lang.String executeStatus)
executeStatus
- the execute statuspublic static void cacheResult(BatchEngineExportTask batchEngineExportTask)
batchEngineExportTask
- the batch engine export taskpublic static void cacheResult(java.util.List<BatchEngineExportTask> batchEngineExportTasks)
batchEngineExportTasks
- the batch engine export taskspublic static BatchEngineExportTask create(long batchEngineExportTaskId)
batchEngineExportTaskId
- the primary key for the new batch engine export taskpublic static BatchEngineExportTask remove(long batchEngineExportTaskId) throws NoSuchExportTaskException
batchEngineExportTaskId
- the primary key of the batch engine export taskNoSuchExportTaskException
- if a batch engine export task with the primary key could not be foundpublic static BatchEngineExportTask updateImpl(BatchEngineExportTask batchEngineExportTask)
public static BatchEngineExportTask findByPrimaryKey(long batchEngineExportTaskId) throws NoSuchExportTaskException
NoSuchExportTaskException
if it could not be found.batchEngineExportTaskId
- the primary key of the batch engine export taskNoSuchExportTaskException
- if a batch engine export task with the primary key could not be foundpublic static BatchEngineExportTask fetchByPrimaryKey(long batchEngineExportTaskId)
null
if it could not be found.batchEngineExportTaskId
- the primary key of the batch engine export tasknull
if a batch engine export task with the primary key could not be foundpublic static java.util.List<BatchEngineExportTask> findAll()
public static java.util.List<BatchEngineExportTask> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
start
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)public static java.util.List<BatchEngineExportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
start
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineExportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from BatchEngineExportTaskModelImpl
.
start
- the lower bound of the range of batch engine export tasksend
- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static BatchEngineExportTaskPersistence getPersistence()