public class HistoricExternalTaskLogQueryImpl extends AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog> implements HistoricExternalTaskLogQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String[] |
activityIds |
protected String[] |
activityInstanceIds |
protected String |
errorMessage |
protected String[] |
executionIds |
protected String |
externalTaskId |
protected String |
id |
protected boolean |
isTenantIdSet |
protected Long |
priorityHigherThanOrEqual |
protected Long |
priorityLowerThanOrEqual |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected ExternalTaskState |
state |
protected String[] |
tenantIds |
protected String |
topicName |
protected String |
workerId |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricExternalTaskLogQuery |
activityIdIn(String... activityIds)
Only select historic external task log entries which are associated with one of the given activity ids.
|
HistoricExternalTaskLogQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select historic external task log entries which are associated with one of the given activity instance ids.
|
HistoricExternalTaskLogQuery |
creationLog()
Only select created historic external task log entries.
|
HistoricExternalTaskLogQuery |
deletionLog()
Only select deleted historic external task log entries.
|
HistoricExternalTaskLogQuery |
errorMessage(String errorMessage)
Only select historic external task log entries with the given error message.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricExternalTaskLog> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricExternalTaskLogQuery |
executionIdIn(String... executionIds)
Only select historic external task log entries which are associated with one of the given execution ids.
|
HistoricExternalTaskLogQuery |
externalTaskId(String externalTaskId)
Only select historic external task log entries with the given external task id.
|
HistoricExternalTaskLogQuery |
failureLog()
Only select failed historic external task log entries.
|
boolean |
isTenantIdSet() |
HistoricExternalTaskLogQuery |
logId(String historicExternalTaskLogId)
Only select historic external task log entries with the id.
|
HistoricExternalTaskLogQuery |
orderByActivityId()
Order by activity id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByActivityInstanceId()
Order by activity instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByExternalTaskId()
Order by external task id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByPriority()
Order by external task priority (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByRetries()
Order by external task retries (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByTimestamp()
Order by timestamp (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByTopicName()
Order by topic name (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
orderByWorkerId()
Order by worker id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricExternalTaskLogQuery |
priorityHigherThanOrEquals(long priority)
Only select log entries where the external task had a priority higher than or
equal to the given priority.
|
HistoricExternalTaskLogQuery |
priorityLowerThanOrEquals(long priority)
Only select log entries where the external task had a priority lower than or
equal to the given priority.
|
HistoricExternalTaskLogQuery |
processDefinitionId(String processDefinitionId)
Only select historic external task log entries with the process definition id.
|
HistoricExternalTaskLogQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic external task log entries with the process instance key.
|
HistoricExternalTaskLogQuery |
processInstanceId(String processInstanceId)
Only select historic external task log entries with the process instance id.
|
protected void |
setState(ExternalTaskState state) |
HistoricExternalTaskLogQuery |
successLog()
Only select successful historic external task log entries.
|
HistoricExternalTaskLogQuery |
tenantIdIn(String... tenantIds)
Only select historic external task log entries that belong to one of the given tenant ids.
|
HistoricExternalTaskLogQuery |
topicName(String topicName)
Only select historic external task log entries with the given topic name.
|
HistoricExternalTaskLogQuery |
withoutTenantId()
Only selects historic external task log entries that have no tenant id.
|
HistoricExternalTaskLogQuery |
workerId(String workerId)
Only select historic external task log entries with the given worker id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String id
protected String externalTaskId
protected String topicName
protected String workerId
protected String errorMessage
protected String[] activityIds
protected String[] activityInstanceIds
protected String[] executionIds
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected Long priorityHigherThanOrEqual
protected Long priorityLowerThanOrEqual
protected String[] tenantIds
protected boolean isTenantIdSet
protected ExternalTaskState state
public HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor)
public HistoricExternalTaskLogQuery logId(String historicExternalTaskLogId)
HistoricExternalTaskLogQuery
logId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery externalTaskId(String externalTaskId)
HistoricExternalTaskLogQuery
externalTaskId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery topicName(String topicName)
HistoricExternalTaskLogQuery
topicName
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery workerId(String workerId)
HistoricExternalTaskLogQuery
workerId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery errorMessage(String errorMessage)
HistoricExternalTaskLogQuery
errorMessage
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery activityIdIn(String... activityIds)
HistoricExternalTaskLogQuery
activityIdIn
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricExternalTaskLogQuery
activityInstanceIdIn
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery executionIdIn(String... executionIds)
HistoricExternalTaskLogQuery
executionIdIn
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery processInstanceId(String processInstanceId)
HistoricExternalTaskLogQuery
processInstanceId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery processDefinitionId(String processDefinitionId)
HistoricExternalTaskLogQuery
processDefinitionId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery processDefinitionKey(String processDefinitionKey)
HistoricExternalTaskLogQuery
processDefinitionKey
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery tenantIdIn(String... tenantIds)
HistoricExternalTaskLogQuery
tenantIdIn
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery withoutTenantId()
HistoricExternalTaskLogQuery
withoutTenantId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery priorityHigherThanOrEquals(long priority)
HistoricExternalTaskLogQuery
priorityHigherThanOrEquals
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery priorityLowerThanOrEquals(long priority)
HistoricExternalTaskLogQuery
priorityLowerThanOrEquals
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery creationLog()
HistoricExternalTaskLogQuery
creationLog
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery failureLog()
HistoricExternalTaskLogQuery
failureLog
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery successLog()
HistoricExternalTaskLogQuery
successLog
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery deletionLog()
HistoricExternalTaskLogQuery
deletionLog
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByTimestamp()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByTimestamp
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByExternalTaskId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByExternalTaskId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByRetries()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByRetries
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByPriority()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByPriority
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByTopicName()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByTopicName
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByWorkerId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByWorkerId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByActivityId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByActivityId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByActivityInstanceId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByActivityInstanceId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByExecutionId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByProcessInstanceId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByProcessDefinitionId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByProcessDefinitionKey()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionKey
in interface HistoricExternalTaskLogQuery
public HistoricExternalTaskLogQuery orderByTenantId()
HistoricExternalTaskLogQuery
Query.asc()
or Query.desc()
).
Note that the ordering of external task log entries without tenant id is database-specific.orderByTenantId
in interface HistoricExternalTaskLogQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
public List<HistoricExternalTaskLog> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
page
- used if the results must be paged. If null, no paging will be applied.protected void setState(ExternalTaskState state)
public boolean isTenantIdSet()
Copyright © 2019. All rights reserved.