Package org.camunda.bpm.engine.impl
Class UserOperationLogQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
org.camunda.bpm.engine.impl.UserOperationLogQueryImpl
- All Implemented Interfaces:
Serializable
,UserOperationLogQuery
,Command<Object>
,Query<UserOperationLogQuery,
UserOperationLogEntry>
public class UserOperationLogQueryImpl
extends AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
implements UserOperationLogQuery
- Author:
- Danny Gräf
- 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 String
protected String
protected String[]
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String[]
protected Date
protected Date
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 TypeMethodDescriptionafterTimestamp
(Date after) Query entries after the time stamp.Query entries which are existing for the batch.beforeTimestamp
(Date before) Query entries before the time stamp.caseDefinitionId
(String caseDefinitionId) Query entries which are existing for the given case definition id.caseExecutionId
(String caseExecutionId) Query entries which are existing for the given case execution.caseInstanceId
(String caseInstanceId) Query entries which are existing for the given case instance.Query for operations of the given category only.categoryIn
(String... categories) Query for operations of given categories only.deploymentId
(String deploymentId) Query entries which are existing for the given deployment id.entityType
(String entityType) Query for operations on entities of a given type only.entityTypeIn
(String... entityTypes) Query for operations on entities of a given type only.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId
(String executionId) Query entries which are existing for the given execution.externalTaskId
(String externalTaskId) Query entries which are existing for the external task.protected boolean
Whether or not the query has excluding conditions.boolean
jobDefinitionId
(String jobDefinitionId) Query entries which are existing for the job definition.Query entries which are existing for the job.operationId
(String operationId) Query entries of a composite operation.operationType
(String operationType) Query for operations of a given type only.Order by time stamp (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Query entries which are existing for the given process definition id.processDefinitionKey
(String processDefinitionKey) Query entries which are operate on all process definitions of the given key.processInstanceId
(String processInstanceId) Query entries which are existing for the given process instance.Query entries that changed a property.Query entries which are existing for the task.tenantIdIn
(String... tenantIds) Only select entries which have the given tenant id.Query entries which are existing for the user.Only selects entries that have no tenant 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, 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.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
deploymentId
-
processDefinitionId
-
processDefinitionKey
-
processInstanceId
-
executionId
-
caseDefinitionId
-
caseInstanceId
-
caseExecutionId
-
taskId
-
jobId
-
jobDefinitionId
-
batchId
-
userId
-
operationId
-
externalTaskId
-
operationType
-
property
-
entityType
-
category
-
timestampAfter
-
timestampBefore
-
tenantIds
-
isTenantIdSet
protected boolean isTenantIdSet -
entityTypes
-
categories
-
-
Constructor Details
-
UserOperationLogQueryImpl
public UserOperationLogQueryImpl() -
UserOperationLogQueryImpl
-
-
Method Details
-
deploymentId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given deployment id.- Specified by:
deploymentId
in interfaceUserOperationLogQuery
-
processDefinitionId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given process definition id.- Specified by:
processDefinitionId
in interfaceUserOperationLogQuery
-
processDefinitionKey
Description copied from interface:UserOperationLogQuery
Query entries which are operate on all process definitions of the given key.- Specified by:
processDefinitionKey
in interfaceUserOperationLogQuery
-
processInstanceId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given process instance.- Specified by:
processInstanceId
in interfaceUserOperationLogQuery
-
executionId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given execution.- Specified by:
executionId
in interfaceUserOperationLogQuery
-
caseDefinitionId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given case definition id.- Specified by:
caseDefinitionId
in interfaceUserOperationLogQuery
-
caseInstanceId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given case instance.- Specified by:
caseInstanceId
in interfaceUserOperationLogQuery
-
caseExecutionId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the given case execution.- Specified by:
caseExecutionId
in interfaceUserOperationLogQuery
-
taskId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the task.- Specified by:
taskId
in interfaceUserOperationLogQuery
-
jobId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the job.- Specified by:
jobId
in interfaceUserOperationLogQuery
-
jobDefinitionId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the job definition.- Specified by:
jobDefinitionId
in interfaceUserOperationLogQuery
-
batchId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the batch.- Specified by:
batchId
in interfaceUserOperationLogQuery
-
userId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the user.- Specified by:
userId
in interfaceUserOperationLogQuery
-
operationId
Description copied from interface:UserOperationLogQuery
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'- Specified by:
operationId
in interfaceUserOperationLogQuery
-
externalTaskId
Description copied from interface:UserOperationLogQuery
Query entries which are existing for the external task.- Specified by:
externalTaskId
in interfaceUserOperationLogQuery
-
operationType
Description copied from interface:UserOperationLogQuery
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.- Specified by:
operationType
in interfaceUserOperationLogQuery
-
property
Description copied from interface:UserOperationLogQuery
Query entries that changed a property.- Specified by:
property
in interfaceUserOperationLogQuery
-
entityType
Description copied from interface:UserOperationLogQuery
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 ...)- Specified by:
entityType
in interfaceUserOperationLogQuery
- See Also:
-
entityTypeIn
Description copied from interface:UserOperationLogQuery
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 ...)- Specified by:
entityTypeIn
in interfaceUserOperationLogQuery
- See Also:
-
category
Description copied from interface:UserOperationLogQuery
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 ...)- Specified by:
category
in interfaceUserOperationLogQuery
- See Also:
-
categoryIn
Description copied from interface:UserOperationLogQuery
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 ...)- Specified by:
categoryIn
in interfaceUserOperationLogQuery
- See Also:
-
afterTimestamp
Description copied from interface:UserOperationLogQuery
Query entries after the time stamp.- Specified by:
afterTimestamp
in interfaceUserOperationLogQuery
-
beforeTimestamp
Description copied from interface:UserOperationLogQuery
Query entries before the time stamp.- Specified by:
beforeTimestamp
in interfaceUserOperationLogQuery
-
orderByTimestamp
Description copied from interface:UserOperationLogQuery
Order by time stamp (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTimestamp
in interfaceUserOperationLogQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<UserOperationLogQuery,
UserOperationLogEntry>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<UserOperationLogQuery,
UserOperationLogEntry> page
- used if the results must be paged. If null, no paging will be applied.
-
isTenantIdSet
public boolean isTenantIdSet() -
tenantIdIn
Description copied from interface:UserOperationLogQuery
Only select entries which have the given tenant id.- Specified by:
tenantIdIn
in interfaceUserOperationLogQuery
-
withoutTenantId
Description copied from interface:UserOperationLogQuery
Only selects entries that have no tenant id.- Specified by:
withoutTenantId
in interfaceUserOperationLogQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()Description copied from class:AbstractQuery
Whether or not the query has excluding conditions. If the query has excluding conditions, (e.g. task due date before and after are excluding), the SQL query is avoided and a default result is returned. The returned result is the same as if the SQL was executed and there were no entries.- Overrides:
hasExcludingConditions
in classAbstractQuery<UserOperationLogQuery,
UserOperationLogEntry> - Returns:
true
if the query does have excluding conditions,false
otherwise
-