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:
 java.io.Serializable,HistoricExternalTaskLogQuery,Command<java.lang.Object>,Query<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
public class HistoricExternalTaskLogQueryImpl extends AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog> implements HistoricExternalTaskLogQuery
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]activityIdsprotected java.lang.String[]activityInstanceIdsprotected java.lang.StringerrorMessageprotected java.lang.String[]executionIdsprotected java.lang.StringexternalTaskIdprotected java.lang.Stringidprotected booleanisTenantIdSetprotected java.lang.LongpriorityHigherThanOrEqualprotected java.lang.LongpriorityLowerThanOrEqualprotected java.lang.StringprocessDefinitionIdprotected java.lang.StringprocessDefinitionKeyprotected java.lang.StringprocessInstanceIdprotected ExternalTaskStatestateprotected java.lang.String[]tenantIdsprotected java.lang.StringtopicNameprotected java.lang.StringworkerId- 
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
Constructors Constructor Description HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricExternalTaskLogQueryactivityIdIn(java.lang.String... activityIds)Only select historic external task log entries which are associated with one of the given activity ids.HistoricExternalTaskLogQueryactivityInstanceIdIn(java.lang.String... activityInstanceIds)Only select historic external task log entries which are associated with one of the given activity instance ids.HistoricExternalTaskLogQuerycreationLog()Only select created historic external task log entries.HistoricExternalTaskLogQuerydeletionLog()Only select deleted historic external task log entries.HistoricExternalTaskLogQueryerrorMessage(java.lang.String errorMessage)Only select historic external task log entries with the given error message.longexecuteCount(CommandContext commandContext)java.util.List<HistoricExternalTaskLog>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.HistoricExternalTaskLogQueryexecutionIdIn(java.lang.String... executionIds)Only select historic external task log entries which are associated with one of the given execution ids.HistoricExternalTaskLogQueryexternalTaskId(java.lang.String externalTaskId)Only select historic external task log entries with the given external task id.HistoricExternalTaskLogQueryfailureLog()Only select failed historic external task log entries.booleanisTenantIdSet()HistoricExternalTaskLogQuerylogId(java.lang.String historicExternalTaskLogId)Only select historic external task log entries with the id.HistoricExternalTaskLogQueryorderByActivityId()Order by activity id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByActivityInstanceId()Order by activity instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByExternalTaskId()Order by external task id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByPriority()Order by external task priority (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByRetries()Order by external task retries (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByTimestamp()Order by timestamp (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByTopicName()Order by topic name (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQueryorderByWorkerId()Order by worker id (needs to be followed byQuery.asc()orQuery.desc()).HistoricExternalTaskLogQuerypriorityHigherThanOrEquals(long priority)Only select log entries where the external task had a priority higher than or equal to the given priority.HistoricExternalTaskLogQuerypriorityLowerThanOrEquals(long priority)Only select log entries where the external task had a priority lower than or equal to the given priority.HistoricExternalTaskLogQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select historic external task log entries with the process definition id.HistoricExternalTaskLogQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic external task log entries with the process instance key.HistoricExternalTaskLogQueryprocessInstanceId(java.lang.String processInstanceId)Only select historic external task log entries with the process instance id.protected voidsetState(ExternalTaskState state)HistoricExternalTaskLogQuerysuccessLog()Only select successful historic external task log entries.HistoricExternalTaskLogQuerytenantIdIn(java.lang.String... tenantIds)Only select historic external task log entries that belong to one of the given tenant ids.HistoricExternalTaskLogQuerytopicName(java.lang.String topicName)Only select historic external task log entries with the given topic name.HistoricExternalTaskLogQuerywithoutTenantId()Only selects historic external task log entries that have no tenant id.HistoricExternalTaskLogQueryworkerId(java.lang.String workerId)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 Detail
- 
id
protected java.lang.String id
 
- 
externalTaskId
protected java.lang.String externalTaskId
 
- 
topicName
protected java.lang.String topicName
 
- 
workerId
protected java.lang.String workerId
 
- 
errorMessage
protected java.lang.String errorMessage
 
- 
activityIds
protected java.lang.String[] activityIds
 
- 
activityInstanceIds
protected java.lang.String[] activityInstanceIds
 
- 
executionIds
protected java.lang.String[] executionIds
 
- 
processInstanceId
protected java.lang.String processInstanceId
 
- 
processDefinitionId
protected java.lang.String processDefinitionId
 
- 
processDefinitionKey
protected java.lang.String processDefinitionKey
 
- 
priorityHigherThanOrEqual
protected java.lang.Long priorityHigherThanOrEqual
 
- 
priorityLowerThanOrEqual
protected java.lang.Long priorityLowerThanOrEqual
 
- 
tenantIds
protected java.lang.String[] tenantIds
 
- 
isTenantIdSet
protected boolean isTenantIdSet
 
- 
state
protected ExternalTaskState state
 
 - 
 
- 
Constructor Detail
- 
HistoricExternalTaskLogQueryImpl
public HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor)
 
 - 
 
- 
Method Detail
- 
logId
public HistoricExternalTaskLogQuery logId(java.lang.String historicExternalTaskLogId)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the id.- Specified by:
 logIdin interfaceHistoricExternalTaskLogQuery
 
- 
externalTaskId
public HistoricExternalTaskLogQuery externalTaskId(java.lang.String externalTaskId)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the given external task id.- Specified by:
 externalTaskIdin interfaceHistoricExternalTaskLogQuery
 
- 
topicName
public HistoricExternalTaskLogQuery topicName(java.lang.String topicName)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the given topic name.- Specified by:
 topicNamein interfaceHistoricExternalTaskLogQuery
 
- 
workerId
public HistoricExternalTaskLogQuery workerId(java.lang.String workerId)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the given worker id.- Specified by:
 workerIdin interfaceHistoricExternalTaskLogQuery
 
- 
errorMessage
public HistoricExternalTaskLogQuery errorMessage(java.lang.String errorMessage)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the given error message.- Specified by:
 errorMessagein interfaceHistoricExternalTaskLogQuery
 
- 
activityIdIn
public HistoricExternalTaskLogQuery activityIdIn(java.lang.String... activityIds)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries which are associated with one of the given activity ids.- Specified by:
 activityIdInin interfaceHistoricExternalTaskLogQuery
 
- 
activityInstanceIdIn
public HistoricExternalTaskLogQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries which are associated with one of the given activity instance ids.- Specified by:
 activityInstanceIdInin interfaceHistoricExternalTaskLogQuery
 
- 
executionIdIn
public HistoricExternalTaskLogQuery executionIdIn(java.lang.String... executionIds)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries which are associated with one of the given execution ids.- Specified by:
 executionIdInin interfaceHistoricExternalTaskLogQuery
 
- 
processInstanceId
public HistoricExternalTaskLogQuery processInstanceId(java.lang.String processInstanceId)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the process instance id.- Specified by:
 processInstanceIdin interfaceHistoricExternalTaskLogQuery
 
- 
processDefinitionId
public HistoricExternalTaskLogQuery processDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the process definition id.- Specified by:
 processDefinitionIdin interfaceHistoricExternalTaskLogQuery
 
- 
processDefinitionKey
public HistoricExternalTaskLogQuery processDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries with the process instance key.- Specified by:
 processDefinitionKeyin interfaceHistoricExternalTaskLogQuery
 
- 
tenantIdIn
public HistoricExternalTaskLogQuery tenantIdIn(java.lang.String... tenantIds)
Description copied from interface:HistoricExternalTaskLogQueryOnly select historic external task log entries that belong to one of the given tenant ids.- Specified by:
 tenantIdInin interfaceHistoricExternalTaskLogQuery
 
- 
withoutTenantId
public HistoricExternalTaskLogQuery withoutTenantId()
Description copied from interface:HistoricExternalTaskLogQueryOnly selects historic external task log entries that have no tenant id.- Specified by:
 withoutTenantIdin interfaceHistoricExternalTaskLogQuery
 
- 
priorityHigherThanOrEquals
public HistoricExternalTaskLogQuery priorityHigherThanOrEquals(long priority)
Description copied from interface:HistoricExternalTaskLogQueryOnly select log entries where the external task had a priority higher than or equal to the given priority.- Specified by:
 priorityHigherThanOrEqualsin interfaceHistoricExternalTaskLogQuery
 
- 
priorityLowerThanOrEquals
public HistoricExternalTaskLogQuery priorityLowerThanOrEquals(long priority)
Description copied from interface:HistoricExternalTaskLogQueryOnly select log entries where the external task had a priority lower than or equal to the given priority.- Specified by:
 priorityLowerThanOrEqualsin interfaceHistoricExternalTaskLogQuery
 
- 
creationLog
public HistoricExternalTaskLogQuery creationLog()
Description copied from interface:HistoricExternalTaskLogQueryOnly select created historic external task log entries.- Specified by:
 creationLogin interfaceHistoricExternalTaskLogQuery
 
- 
failureLog
public HistoricExternalTaskLogQuery failureLog()
Description copied from interface:HistoricExternalTaskLogQueryOnly select failed historic external task log entries.- Specified by:
 failureLogin interfaceHistoricExternalTaskLogQuery
 
- 
successLog
public HistoricExternalTaskLogQuery successLog()
Description copied from interface:HistoricExternalTaskLogQueryOnly select successful historic external task log entries.- Specified by:
 successLogin interfaceHistoricExternalTaskLogQuery
 
- 
deletionLog
public HistoricExternalTaskLogQuery deletionLog()
Description copied from interface:HistoricExternalTaskLogQueryOnly select deleted historic external task log entries.- Specified by:
 deletionLogin interfaceHistoricExternalTaskLogQuery
 
- 
orderByTimestamp
public HistoricExternalTaskLogQuery orderByTimestamp()
Description copied from interface:HistoricExternalTaskLogQueryOrder by timestamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByTimestampin interfaceHistoricExternalTaskLogQuery
 
- 
orderByExternalTaskId
public HistoricExternalTaskLogQuery orderByExternalTaskId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by external task id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByExternalTaskIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByRetries
public HistoricExternalTaskLogQuery orderByRetries()
Description copied from interface:HistoricExternalTaskLogQueryOrder by external task retries (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByRetriesin interfaceHistoricExternalTaskLogQuery
 
- 
orderByPriority
public HistoricExternalTaskLogQuery orderByPriority()
Description copied from interface:HistoricExternalTaskLogQueryOrder by external task priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByPriorityin interfaceHistoricExternalTaskLogQuery
 
- 
orderByTopicName
public HistoricExternalTaskLogQuery orderByTopicName()
Description copied from interface:HistoricExternalTaskLogQueryOrder by topic name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByTopicNamein interfaceHistoricExternalTaskLogQuery
 
- 
orderByWorkerId
public HistoricExternalTaskLogQuery orderByWorkerId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by worker id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByWorkerIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByActivityId
public HistoricExternalTaskLogQuery orderByActivityId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by activity id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByActivityIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByActivityInstanceId
public HistoricExternalTaskLogQuery orderByActivityInstanceId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by activity instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByActivityInstanceIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByExecutionId
public HistoricExternalTaskLogQuery orderByExecutionId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByExecutionIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByProcessInstanceId
public HistoricExternalTaskLogQuery orderByProcessInstanceId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByProcessInstanceIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByProcessDefinitionId
public HistoricExternalTaskLogQuery orderByProcessDefinitionId()
Description copied from interface:HistoricExternalTaskLogQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByProcessDefinitionIdin interfaceHistoricExternalTaskLogQuery
 
- 
orderByProcessDefinitionKey
public HistoricExternalTaskLogQuery orderByProcessDefinitionKey()
Description copied from interface:HistoricExternalTaskLogQueryOrder by process definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
 orderByProcessDefinitionKeyin interfaceHistoricExternalTaskLogQuery
 
- 
orderByTenantId
public HistoricExternalTaskLogQuery orderByTenantId()
Description copied from interface:HistoricExternalTaskLogQueryOrder 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:
 orderByTenantIdin interfaceHistoricExternalTaskLogQuery
 
- 
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
 executeCountin classAbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
 
- 
executeList
public java.util.List<HistoricExternalTaskLog> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
 executeListin classAbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>page- used if the results must be paged. If null, no paging will be applied.
 
- 
setState
protected void setState(ExternalTaskState state)
 
- 
isTenantIdSet
public boolean isTenantIdSet()
 
 - 
 
 -