org.camunda.bpm.engine.impl
Class HistoricExternalTaskLogQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
          extended by 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:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  String[] activityIds
           
protected  String[] activityInstanceIds
           
protected  String errorMessage
           
protected  String[] executionIds
           
protected  String externalTaskId
           
protected  String id
           
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
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, 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
HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 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.
 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 workerId(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, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, 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.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

id

protected String id

externalTaskId

protected String externalTaskId

topicName

protected String topicName

workerId

protected String workerId

errorMessage

protected String errorMessage

activityIds

protected String[] activityIds

activityInstanceIds

protected String[] activityInstanceIds

executionIds

protected String[] executionIds

processInstanceId

protected String processInstanceId

processDefinitionId

protected String processDefinitionId

processDefinitionKey

protected String processDefinitionKey

priorityHigherThanOrEqual

protected Long priorityHigherThanOrEqual

priorityLowerThanOrEqual

protected Long priorityLowerThanOrEqual

tenantIds

protected String[] tenantIds

state

protected ExternalTaskState state
Constructor Detail

HistoricExternalTaskLogQueryImpl

public HistoricExternalTaskLogQueryImpl(CommandExecutor commandExecutor)
Method Detail

logId

public HistoricExternalTaskLogQuery logId(String historicExternalTaskLogId)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the id.

Specified by:
logId in interface HistoricExternalTaskLogQuery

externalTaskId

public HistoricExternalTaskLogQuery externalTaskId(String externalTaskId)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the given external task id.

Specified by:
externalTaskId in interface HistoricExternalTaskLogQuery

topicName

public HistoricExternalTaskLogQuery topicName(String topicName)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the given topic name.

Specified by:
topicName in interface HistoricExternalTaskLogQuery

workerId

public HistoricExternalTaskLogQuery workerId(String workerId)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the given worker id.

Specified by:
workerId in interface HistoricExternalTaskLogQuery

errorMessage

public HistoricExternalTaskLogQuery errorMessage(String errorMessage)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the given error message.

Specified by:
errorMessage in interface HistoricExternalTaskLogQuery

activityIdIn

public HistoricExternalTaskLogQuery activityIdIn(String... activityIds)
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 interface HistoricExternalTaskLogQuery

activityInstanceIdIn

public HistoricExternalTaskLogQuery activityInstanceIdIn(String... activityInstanceIds)
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 interface HistoricExternalTaskLogQuery

executionIdIn

public HistoricExternalTaskLogQuery executionIdIn(String... executionIds)
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 interface HistoricExternalTaskLogQuery

processInstanceId

public HistoricExternalTaskLogQuery processInstanceId(String processInstanceId)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the process instance id.

Specified by:
processInstanceId in interface HistoricExternalTaskLogQuery

processDefinitionId

public HistoricExternalTaskLogQuery processDefinitionId(String processDefinitionId)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the process definition id.

Specified by:
processDefinitionId in interface HistoricExternalTaskLogQuery

processDefinitionKey

public HistoricExternalTaskLogQuery processDefinitionKey(String processDefinitionKey)
Description copied from interface: HistoricExternalTaskLogQuery
Only select historic external task log entries with the process instance key.

Specified by:
processDefinitionKey in interface HistoricExternalTaskLogQuery

tenantIdIn

public HistoricExternalTaskLogQuery tenantIdIn(String... tenantIds)
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 interface HistoricExternalTaskLogQuery

priorityHigherThanOrEquals

public HistoricExternalTaskLogQuery priorityHigherThanOrEquals(long priority)
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 interface HistoricExternalTaskLogQuery

priorityLowerThanOrEquals

public HistoricExternalTaskLogQuery priorityLowerThanOrEquals(long priority)
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 interface HistoricExternalTaskLogQuery

creationLog

public HistoricExternalTaskLogQuery creationLog()
Description copied from interface: HistoricExternalTaskLogQuery
Only select created historic external task log entries.

Specified by:
creationLog in interface HistoricExternalTaskLogQuery

failureLog

public HistoricExternalTaskLogQuery failureLog()
Description copied from interface: HistoricExternalTaskLogQuery
Only select failed historic external task log entries.

Specified by:
failureLog in interface HistoricExternalTaskLogQuery

successLog

public HistoricExternalTaskLogQuery successLog()
Description copied from interface: HistoricExternalTaskLogQuery
Only select successful historic external task log entries.

Specified by:
successLog in interface HistoricExternalTaskLogQuery

deletionLog

public HistoricExternalTaskLogQuery deletionLog()
Description copied from interface: HistoricExternalTaskLogQuery
Only select deleted historic external task log entries.

Specified by:
deletionLog in interface HistoricExternalTaskLogQuery

orderByTimestamp

public HistoricExternalTaskLogQuery orderByTimestamp()
Description copied from interface: HistoricExternalTaskLogQuery
Order by timestamp (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTimestamp in interface HistoricExternalTaskLogQuery

orderByExternalTaskId

public HistoricExternalTaskLogQuery orderByExternalTaskId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by external task id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByExternalTaskId in interface HistoricExternalTaskLogQuery

orderByRetries

public HistoricExternalTaskLogQuery orderByRetries()
Description copied from interface: HistoricExternalTaskLogQuery
Order by external task retries (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByRetries in interface HistoricExternalTaskLogQuery

orderByPriority

public HistoricExternalTaskLogQuery orderByPriority()
Description copied from interface: HistoricExternalTaskLogQuery
Order by external task priority (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByPriority in interface HistoricExternalTaskLogQuery

orderByTopicName

public HistoricExternalTaskLogQuery orderByTopicName()
Description copied from interface: HistoricExternalTaskLogQuery
Order by topic name (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTopicName in interface HistoricExternalTaskLogQuery

orderByWorkerId

public HistoricExternalTaskLogQuery orderByWorkerId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by worker id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByWorkerId in interface HistoricExternalTaskLogQuery

orderByActivityId

public HistoricExternalTaskLogQuery orderByActivityId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by activity id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByActivityId in interface HistoricExternalTaskLogQuery

orderByActivityInstanceId

public HistoricExternalTaskLogQuery orderByActivityInstanceId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by activity instance id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByActivityInstanceId in interface HistoricExternalTaskLogQuery

orderByExecutionId

public HistoricExternalTaskLogQuery orderByExecutionId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by execution id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByExecutionId in interface HistoricExternalTaskLogQuery

orderByProcessInstanceId

public HistoricExternalTaskLogQuery orderByProcessInstanceId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by process instance id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessInstanceId in interface HistoricExternalTaskLogQuery

orderByProcessDefinitionId

public HistoricExternalTaskLogQuery orderByProcessDefinitionId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by process definition id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessDefinitionId in interface HistoricExternalTaskLogQuery

orderByProcessDefinitionKey

public HistoricExternalTaskLogQuery orderByProcessDefinitionKey()
Description copied from interface: HistoricExternalTaskLogQuery
Order by process definition key (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessDefinitionKey in interface HistoricExternalTaskLogQuery

orderByTenantId

public HistoricExternalTaskLogQuery orderByTenantId()
Description copied from interface: HistoricExternalTaskLogQuery
Order by tenant id (needs to be followed by Query.asc() or Query.desc()). Note that the ordering of external task log entries without tenant id is database-specific.

Specified by:
orderByTenantId in interface HistoricExternalTaskLogQuery

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>

executeList

public List<HistoricExternalTaskLog> executeList(CommandContext commandContext,
                                                 Page page)
Description copied from class: AbstractQuery
Executes the actual query to retrieve the list of results.

Specified by:
executeList in class AbstractQuery<HistoricExternalTaskLogQuery,HistoricExternalTaskLog>
page - used if the results must be paged. If null, no paging will be applied.

setState

protected void setState(ExternalTaskState state)


Copyright © 2017 camunda services GmbH. All rights reserved.