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