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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected Stringprotected Stringprotected Stringprotected String[]protected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected Dateprotected Dateprotected StringFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
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.longexecuteCount(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 booleanWhether or not the query has excluding conditions.booleanjobDefinitionId(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, validateMethods 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, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:UserOperationLogQueryQuery entries which are existing for the given deployment id.- Specified by:
deploymentIdin interfaceUserOperationLogQuery
-
processDefinitionId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process definition id.- Specified by:
processDefinitionIdin interfaceUserOperationLogQuery
-
processDefinitionKey
Description copied from interface:UserOperationLogQueryQuery entries which are operate on all process definitions of the given key.- Specified by:
processDefinitionKeyin interfaceUserOperationLogQuery
-
processInstanceId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process instance.- Specified by:
processInstanceIdin interfaceUserOperationLogQuery
-
executionId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given execution.- Specified by:
executionIdin interfaceUserOperationLogQuery
-
caseDefinitionId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case definition id.- Specified by:
caseDefinitionIdin interfaceUserOperationLogQuery
-
caseInstanceId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case instance.- Specified by:
caseInstanceIdin interfaceUserOperationLogQuery
-
caseExecutionId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case execution.- Specified by:
caseExecutionIdin interfaceUserOperationLogQuery
-
taskId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the task.- Specified by:
taskIdin interfaceUserOperationLogQuery
-
jobId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job.- Specified by:
jobIdin interfaceUserOperationLogQuery
-
jobDefinitionId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job definition.- Specified by:
jobDefinitionIdin interfaceUserOperationLogQuery
-
batchId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the batch.- Specified by:
batchIdin interfaceUserOperationLogQuery
-
userId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the user.- Specified by:
userIdin interfaceUserOperationLogQuery
-
operationId
Description copied from interface:UserOperationLogQueryQuery 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 separateOperationLogEntrieswith the same 'operationId'- Specified by:
operationIdin interfaceUserOperationLogQuery
-
externalTaskId
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the external task.- Specified by:
externalTaskIdin interfaceUserOperationLogQuery
-
operationType
Description copied from interface:UserOperationLogQueryQuery 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 theUserOperationLogEntryclass for a list of constants of supported operations.- Specified by:
operationTypein interfaceUserOperationLogQuery
-
property
Description copied from interface:UserOperationLogQueryQuery entries that changed a property.- Specified by:
propertyin interfaceUserOperationLogQuery
-
entityType
Description copied from interface:UserOperationLogQueryQuery 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 interfaceUserOperationLogQuery- See Also:
-
entityTypeIn
Description copied from interface:UserOperationLogQueryQuery 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:
entityTypeInin interfaceUserOperationLogQuery- See Also:
-
category
Description copied from interface:UserOperationLogQueryQuery 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:
categoryin interfaceUserOperationLogQuery- See Also:
-
categoryIn
Description copied from interface:UserOperationLogQueryQuery 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:
categoryInin interfaceUserOperationLogQuery- See Also:
-
afterTimestamp
Description copied from interface:UserOperationLogQueryQuery entries after the time stamp.- Specified by:
afterTimestampin interfaceUserOperationLogQuery
-
beforeTimestamp
Description copied from interface:UserOperationLogQueryQuery entries before the time stamp.- Specified by:
beforeTimestampin interfaceUserOperationLogQuery
-
orderByTimestamp
Description copied from interface:UserOperationLogQueryOrder by time stamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTimestampin interfaceUserOperationLogQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin 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:UserOperationLogQueryOnly select entries which have the given tenant id.- Specified by:
tenantIdInin interfaceUserOperationLogQuery
-
withoutTenantId
Description copied from interface:UserOperationLogQueryOnly selects entries that have no tenant id.- Specified by:
withoutTenantIdin interfaceUserOperationLogQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()Description copied from class:AbstractQueryWhether 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:
hasExcludingConditionsin classAbstractQuery<UserOperationLogQuery,UserOperationLogEntry> - Returns:
trueif the query does have excluding conditions,falseotherwise
-