Package 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 forUserOperationLogEntry
instances.- Author:
- Danny Gräf
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserOperationLogQuery
afterTimestamp(Date after)
Query entries after the time stamp.UserOperationLogQuery
batchId(String batchId)
Query entries which are existing for the batch.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
category(String category)
Query for operations of the given category only.UserOperationLogQuery
categoryIn(String... categories)
Query for operations of given categories only.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
entityTypeIn(String... entityTypes)
Query for operations on entities of a given type only.UserOperationLogQuery
executionId(String executionId)
Query entries which are existing for the given execution.UserOperationLogQuery
externalTaskId(String externalTaskId)
Query entries which are existing for the external task.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 byQuery.asc()
orQuery.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
tenantIdIn(String... tenantIds)
Only select entries which have the given tenant id.UserOperationLogQuery
userId(String userId)
Query entries which are existing for the user.UserOperationLogQuery
withoutTenantId()
Only selects entries that have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
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 ...)
-
entityTypeIn
UserOperationLogQuery entityTypeIn(String... entityTypes)
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 ...)
-
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 theUserOperationLogEntry
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.
-
batchId
UserOperationLogQuery batchId(String batchId)
Query entries which are existing for the batch.
-
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 callingTaskService.saveTask(org.camunda.bpm.engine.task.Task)
which will be logged as separateOperationLogEntries
with the same 'operationId'
-
externalTaskId
UserOperationLogQuery externalTaskId(String externalTaskId)
Query entries which are existing for the external task.
-
property
UserOperationLogQuery property(String property)
Query entries that changed a property.
-
category
UserOperationLogQuery category(String category)
Query for operations of the given category only. This allows you to restrict the result set to all operations which were performed in the same domain (ie. all Task Worker Operations, All Admin Operations ...)
-
categoryIn
UserOperationLogQuery categoryIn(String... categories)
Query for operations of given categories only. This allows you to restrict the result set to all operations which were performed in the same domain (ie. all Task Worker Operations, All Admin Operations ...)
-
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 byQuery.asc()
orQuery.desc()
).
-
tenantIdIn
UserOperationLogQuery tenantIdIn(String... tenantIds)
Only select entries which have the given tenant id.
-
withoutTenantId
UserOperationLogQuery withoutTenantId()
Only selects entries that have no tenant id.
-
-