public class BatchEngineImportTaskUtil
extends java.lang.Object
com.liferay.batch.engine.service.persistence.impl.BatchEngineImportTaskPersistenceImpl
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
BatchEngineImportTaskPersistence
Constructor and Description |
---|
BatchEngineImportTaskUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(BatchEngineImportTask batchEngineImportTask)
Caches the batch engine import task in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<BatchEngineImportTask> batchEngineImportTasks)
Caches the batch engine import tasks in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(BatchEngineImportTask batchEngineImportTask) |
static int |
countAll()
Returns the number of batch engine import tasks.
|
static int |
countByExecuteStatus(java.lang.String executeStatus)
Returns the number of batch engine import tasks where executeStatus = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of batch engine import tasks where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of batch engine import tasks where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static BatchEngineImportTask |
create(long batchEngineImportTaskId)
Creates a new batch engine import task with the primary key.
|
static BatchEngineImportTask |
fetchByExecuteStatus_First(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where executeStatus = ?.
|
static BatchEngineImportTask |
fetchByExecuteStatus_Last(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where executeStatus = ?.
|
static BatchEngineImportTask |
fetchByPrimaryKey(long batchEngineImportTaskId)
Returns the batch engine import task with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,BatchEngineImportTask> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static BatchEngineImportTask |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineImportTask |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineImportTask |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where uuid = ?.
|
static BatchEngineImportTask |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findAll()
Returns all the batch engine import tasks.
|
static java.util.List<BatchEngineImportTask> |
findAll(int start,
int end)
Returns a range of all the batch engine import tasks.
|
static java.util.List<BatchEngineImportTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns an ordered range of all the batch engine import tasks.
|
static java.util.List<BatchEngineImportTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine import tasks.
|
static BatchEngineImportTask |
findByExecuteStatus_First(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where executeStatus = ?.
|
static BatchEngineImportTask |
findByExecuteStatus_Last(java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where executeStatus = ?.
|
static BatchEngineImportTask[] |
findByExecuteStatus_PrevAndNext(long batchEngineImportTaskId,
java.lang.String executeStatus,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where executeStatus = ?.
|
static java.util.List<BatchEngineImportTask> |
findByExecuteStatus(java.lang.String executeStatus)
Returns all the batch engine import tasks where executeStatus = ?.
|
static java.util.List<BatchEngineImportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end)
Returns a range of all the batch engine import tasks where executeStatus = ?.
|
static java.util.List<BatchEngineImportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns an ordered range of all the batch engine import tasks where executeStatus = ?.
|
static java.util.List<BatchEngineImportTask> |
findByExecuteStatus(java.lang.String executeStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine import tasks where executeStatus = ?.
|
static BatchEngineImportTask |
findByPrimaryKey(long batchEngineImportTaskId)
Returns the batch engine import task with the primary key or throws a
NoSuchImportTaskException if it could not be found. |
static BatchEngineImportTask |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineImportTask |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.
|
static BatchEngineImportTask[] |
findByUuid_C_PrevAndNext(long batchEngineImportTaskId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the batch engine import tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the batch engine import tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.
|
static BatchEngineImportTask |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the first batch engine import task in the ordered set where uuid = ?.
|
static BatchEngineImportTask |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the last batch engine import task in the ordered set where uuid = ?.
|
static BatchEngineImportTask[] |
findByUuid_PrevAndNext(long batchEngineImportTaskId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid(java.lang.String uuid)
Returns all the batch engine import tasks where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the batch engine import tasks where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
Returns an ordered range of all the batch engine import tasks where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch engine import tasks where uuid = ?.
|
static java.util.List<BatchEngineImportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<BatchEngineImportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<BatchEngineImportTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) |
static BatchEngineImportTaskPersistence |
getPersistence() |
static BatchEngineImportTask |
remove(long batchEngineImportTaskId)
Removes the batch engine import task with the primary key from the database.
|
static void |
removeAll()
Removes all the batch engine import tasks from the database.
|
static void |
removeByExecuteStatus(java.lang.String executeStatus)
Removes all the batch engine import tasks where executeStatus = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the batch engine import tasks where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the batch engine import tasks where uuid = ? from the database.
|
static BatchEngineImportTask |
update(BatchEngineImportTask batchEngineImportTask) |
static BatchEngineImportTask |
update(BatchEngineImportTask batchEngineImportTask,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static BatchEngineImportTask |
updateImpl(BatchEngineImportTask batchEngineImportTask) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(BatchEngineImportTask batchEngineImportTask)
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,BatchEngineImportTask> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static BatchEngineImportTask update(BatchEngineImportTask batchEngineImportTask)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static BatchEngineImportTask update(BatchEngineImportTask batchEngineImportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<BatchEngineImportTask> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)public static java.util.List<BatchEngineImportTask> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTask> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineImportTask findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask[] findByUuid_PrevAndNext(long batchEngineImportTaskId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
batchEngineImportTaskId
- the primary key of the current batch engine import taskuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a batch engine import 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<BatchEngineImportTask> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)public static java.util.List<BatchEngineImportTask> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTask> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineImportTask findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask[] findByUuid_C_PrevAndNext(long batchEngineImportTaskId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
batchEngineImportTaskId
- the primary key of the current batch engine import taskuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a batch engine import 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<BatchEngineImportTask> findByExecuteStatus(java.lang.String executeStatus)
executeStatus
- the execute statuspublic static java.util.List<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)public static java.util.List<BatchEngineImportTask> findByExecuteStatus(java.lang.String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTask> findByExecuteStatus(java.lang.String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
executeStatus
- the execute statusstart
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchEngineImportTask findByExecuteStatus_First(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByExecuteStatus_First(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask findByExecuteStatus_Last(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a matching batch engine import task could not be foundpublic static BatchEngineImportTask fetchByExecuteStatus_Last(java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
executeStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task could not be foundpublic static BatchEngineImportTask[] findByExecuteStatus_PrevAndNext(long batchEngineImportTaskId, java.lang.String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
batchEngineImportTaskId
- the primary key of the current batch engine import taskexecuteStatus
- the execute statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskException
- if a batch engine import 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(BatchEngineImportTask batchEngineImportTask)
batchEngineImportTask
- the batch engine import taskpublic static void cacheResult(java.util.List<BatchEngineImportTask> batchEngineImportTasks)
batchEngineImportTasks
- the batch engine import taskspublic static BatchEngineImportTask create(long batchEngineImportTaskId)
batchEngineImportTaskId
- the primary key for the new batch engine import taskpublic static BatchEngineImportTask remove(long batchEngineImportTaskId) throws NoSuchImportTaskException
batchEngineImportTaskId
- the primary key of the batch engine import taskNoSuchImportTaskException
- if a batch engine import task with the primary key could not be foundpublic static BatchEngineImportTask updateImpl(BatchEngineImportTask batchEngineImportTask)
public static BatchEngineImportTask findByPrimaryKey(long batchEngineImportTaskId) throws NoSuchImportTaskException
NoSuchImportTaskException
if it could not be found.batchEngineImportTaskId
- the primary key of the batch engine import taskNoSuchImportTaskException
- if a batch engine import task with the primary key could not be foundpublic static BatchEngineImportTask fetchByPrimaryKey(long batchEngineImportTaskId)
null
if it could not be found.batchEngineImportTaskId
- the primary key of the batch engine import tasknull
if a batch engine import task with the primary key could not be foundpublic static java.util.List<BatchEngineImportTask> findAll()
public static java.util.List<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
start
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)public static java.util.List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
start
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> 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 BatchEngineImportTaskModelImpl
.
start
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import 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 BatchEngineImportTaskPersistence getPersistence()