public class BatchQueryImpl extends AbstractQuery<BatchQuery,Batch> implements BatchQuery, CacheAwareQuery<BatchEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected BatchServiceConfiguration |
batchServiceConfiguration |
protected String |
batchType |
protected Date |
completeTimeHigherThan |
protected Date |
completeTimeLowerThan |
protected Date |
createTimeHigherThan |
protected Date |
createTimeLowerThan |
protected String |
id |
protected String |
searchKey |
protected String |
searchKey2 |
protected String |
status |
protected String |
tenantId |
protected String |
tenantIdLike |
protected boolean |
withoutTenantId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
BatchQueryImpl() |
BatchQueryImpl(CommandContext commandContext,
BatchServiceConfiguration batchServiceConfiguration) |
BatchQueryImpl(CommandExecutor commandExecutor,
BatchServiceConfiguration batchServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
BatchQuery |
batchId(String batchId)
Only select batches with the given id
|
BatchQuery |
batchType(String batchType)
Only select batches which exist for the given type.
|
BatchQuery |
completeTimeHigherThan(Date date)
Only select batches where the complete time is higher then the given date.
|
BatchQuery |
completeTimeLowerThan(Date date)
Only select batches where the complete time is lower than the given date.
|
BatchQuery |
createTimeHigherThan(Date date)
Only select batches where the create time is higher then the given date.
|
BatchQuery |
createTimeLowerThan(Date date)
Only select batches where the create time is lower than the given date.
|
long |
executeCount(CommandContext commandContext) |
List<Batch> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
String |
getBatchType() |
Date |
getCreateTimeHigherThan() |
Date |
getCreateTimeLowerThan() |
String |
getId() |
String |
getSearchKey() |
String |
getSearchKey2() |
String |
getStatus() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
isWithoutTenantId() |
BatchQuery |
orderByBatchCreateTime()
Order by batch create time (needs to be followed by
Query.asc() or Query.desc()). |
BatchQuery |
orderByBatchId()
Order by batch id (needs to be followed by
Query.asc() or Query.desc()). |
BatchQuery |
orderByBatchTenantId()
Order by batch create time (needs to be followed by
Query.asc() or Query.desc()). |
BatchQuery |
searchKey(String searchKey)
Only select batches which exist for the given search key.
|
BatchQuery |
searchKey2(String searchKey)
Only select batches which exist for the given search key.
|
BatchQuery |
status(String status)
Only select batches which exist for the given status.
|
BatchQuery |
tenantId(String tenantId)
Only select batches which exist for the given tenant id.
|
BatchQuery |
tenantIdLike(String tenantIdLike)
Only select batches with a tenant id like the given one.
|
BatchQuery |
withoutTenantId()
Only select batches that do not have a tenant id.
|
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected BatchServiceConfiguration batchServiceConfiguration
protected String id
protected String batchType
protected String searchKey
protected String searchKey2
protected Date createTimeHigherThan
protected Date createTimeLowerThan
protected Date completeTimeHigherThan
protected Date completeTimeLowerThan
protected String status
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
public BatchQueryImpl()
public BatchQueryImpl(CommandContext commandContext, BatchServiceConfiguration batchServiceConfiguration)
public BatchQueryImpl(CommandExecutor commandExecutor, BatchServiceConfiguration batchServiceConfiguration)
public BatchQuery batchId(String batchId)
BatchQuerybatchId in interface BatchQuerypublic BatchQuery batchType(String batchType)
BatchQuerybatchType in interface BatchQuerypublic BatchQuery searchKey(String searchKey)
BatchQuerysearchKey in interface BatchQuerypublic BatchQuery searchKey2(String searchKey)
BatchQuerysearchKey2 in interface BatchQuerypublic BatchQuery createTimeHigherThan(Date date)
BatchQuerycreateTimeHigherThan in interface BatchQuerypublic BatchQuery createTimeLowerThan(Date date)
BatchQuerycreateTimeLowerThan in interface BatchQuerypublic BatchQuery completeTimeHigherThan(Date date)
BatchQuerycompleteTimeHigherThan in interface BatchQuerypublic BatchQuery completeTimeLowerThan(Date date)
BatchQuerycompleteTimeLowerThan in interface BatchQuerypublic BatchQuery status(String status)
BatchQuerystatus in interface BatchQuerypublic BatchQuery tenantId(String tenantId)
BatchQuerytenantId in interface BatchQuerypublic BatchQuery tenantIdLike(String tenantIdLike)
BatchQuerytenantIdLike in interface BatchQuerypublic BatchQuery withoutTenantId()
BatchQuerywithoutTenantId in interface BatchQuerypublic BatchQuery orderByBatchCreateTime()
BatchQueryQuery.asc() or Query.desc()).orderByBatchCreateTime in interface BatchQuerypublic BatchQuery orderByBatchId()
BatchQueryQuery.asc() or Query.desc()).orderByBatchId in interface BatchQuerypublic BatchQuery orderByBatchTenantId()
BatchQueryQuery.asc() or Query.desc()).orderByBatchTenantId in interface BatchQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<BatchQuery,Batch>public List<Batch> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<BatchQuery,Batch>public String getId()
getId in interface CacheAwareQuery<BatchEntity>public String getBatchType()
public String getSearchKey()
public String getSearchKey2()
public Date getCreateTimeHigherThan()
public Date getCreateTimeLowerThan()
public String getStatus()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
Copyright © 2023 Flowable. All rights reserved.