org.camunda.bpm.engine.history
Interface UserOperationLogQuery

All Superinterfaces:
Query<UserOperationLogQuery,UserOperationLogEntry>
All Known Implementing Classes:
UserOperationLogQueryImpl

public interface UserOperationLogQuery
extends Query<UserOperationLogQuery,UserOperationLogEntry>

Programmatic querying for UserOperationLogEntry instances.

Author:
Danny Gräf

Method Summary
 UserOperationLogQuery afterTimestamp(Date after)
          Query entries after the time stamp.
 UserOperationLogQuery beforeTimestamp(Date before)
          Query entries before the time stamp.
 UserOperationLogQuery caseDefinitionId(String caseDefinitionId)
          Query entries which are existing for the given case definition id.
 UserOperationLogQuery caseExecutionId(String caseExecutionId)
          Query entries which are existing for the given case execution.
 UserOperationLogQuery caseInstanceId(String caseInstanceId)
          Query entries which are existing for the given case instance.
 UserOperationLogQuery deploymentId(String deploymentId)
          Query entries which are existing for the given deployment id.
 UserOperationLogQuery entityType(String entityType)
          Query for operations on entities of a given type only.
 UserOperationLogQuery executionId(String executionId)
          Query entries which are existing for the given execution.
 UserOperationLogQuery jobDefinitionId(String jobDefinitionId)
          Query entries which are existing for the job definition.
 UserOperationLogQuery jobId(String jobId)
          Query entries which are existing for the job.
 UserOperationLogQuery operationId(String operationId)
          Query entries of a composite operation.
 UserOperationLogQuery operationType(String operationType)
          Query for operations of a given type only.
 UserOperationLogQuery orderByTimestamp()
          Order by time stamp (needs to be followed by Query.asc() or Query.desc()).
 UserOperationLogQuery processDefinitionId(String processDefinitionId)
          Query entries which are existing for the given process definition id.
 UserOperationLogQuery processDefinitionKey(String processDefinitionKey)
          Query entries which are operate on all process definitions of the given key.
 UserOperationLogQuery processInstanceId(String processInstanceId)
          Query entries which are existing for the given process instance.
 UserOperationLogQuery property(String property)
          Query entries that changed a property.
 UserOperationLogQuery taskId(String taskId)
          Query entries which are existing for the task.
 UserOperationLogQuery userId(String userId)
          Query entries which are existing for the user.
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Method Detail

entityType

UserOperationLogQuery entityType(String entityType)
Query for operations on entities of a given type only. This allows you to restrict the result set to all operations which were performed on the same Entity (ie. all Task Operations, All IdentityLink Operations ...)

See Also:
UserOperationLogEntry.ENTITY_TYPE_TASK, UserOperationLogEntry.ENTITY_TYPE_IDENTITY_LINK, UserOperationLogEntry.ENTITY_TYPE_ATTACHMENT

operationType

UserOperationLogQuery operationType(String operationType)
Query for operations of a given type only. Types of operations depend on the entity on which the operation was performed. For Instance: Tasks may be delegated, claimed, completed ... Check the UserOperationLogEntry class for a list of constants of supported operations.


deploymentId

UserOperationLogQuery deploymentId(String deploymentId)
Query entries which are existing for the given deployment id.


processDefinitionId

UserOperationLogQuery processDefinitionId(String processDefinitionId)
Query entries which are existing for the given process definition id.


processDefinitionKey

UserOperationLogQuery processDefinitionKey(String processDefinitionKey)
Query entries which are operate on all process definitions of the given key.


processInstanceId

UserOperationLogQuery processInstanceId(String processInstanceId)
Query entries which are existing for the given process instance.


executionId

UserOperationLogQuery executionId(String executionId)
Query entries which are existing for the given execution.


caseDefinitionId

UserOperationLogQuery caseDefinitionId(String caseDefinitionId)
Query entries which are existing for the given case definition id.


caseInstanceId

UserOperationLogQuery caseInstanceId(String caseInstanceId)
Query entries which are existing for the given case instance.


caseExecutionId

UserOperationLogQuery caseExecutionId(String caseExecutionId)
Query entries which are existing for the given case execution.


taskId

UserOperationLogQuery taskId(String taskId)
Query entries which are existing for the task.


jobId

UserOperationLogQuery jobId(String jobId)
Query entries which are existing for the job.


jobDefinitionId

UserOperationLogQuery jobDefinitionId(String jobDefinitionId)
Query entries which are existing for the job definition.


userId

UserOperationLogQuery userId(String userId)
Query entries which are existing for the user.


operationId

UserOperationLogQuery operationId(String operationId)
Query entries of a composite operation. This allows grouping multiple updates which are part of the same operation: for instance, a User may update multiple fields of a UserTask when calling TaskService.saveTask(org.camunda.bpm.engine.task.Task) which will be logged as separate OperationLogEntries with the same 'operationId'


property

UserOperationLogQuery property(String property)
Query entries that changed a property.


afterTimestamp

UserOperationLogQuery afterTimestamp(Date after)
Query entries after the time stamp.


beforeTimestamp

UserOperationLogQuery beforeTimestamp(Date before)
Query entries before the time stamp.


orderByTimestamp

UserOperationLogQuery orderByTimestamp()
Order by time stamp (needs to be followed by Query.asc() or Query.desc()).



Copyright © 2016 camunda services GmbH. All rights reserved.