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:
java.io.Serializable,UserOperationLogQuery,Command<java.lang.Object>,Query<UserOperationLogQuery,UserOperationLogEntry>
public class UserOperationLogQueryImpl extends AbstractQuery<UserOperationLogQuery,UserOperationLogEntry> implements UserOperationLogQuery
- Author:
- Danny Gräf
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringbatchIdprotected java.lang.StringcaseDefinitionIdprotected java.lang.StringcaseExecutionIdprotected java.lang.StringcaseInstanceIdprotected java.lang.String[]categoriesprotected java.lang.Stringcategoryprotected java.lang.StringdeploymentIdprotected java.lang.StringentityTypeprotected java.lang.String[]entityTypesprotected java.lang.StringexecutionIdprotected java.lang.StringexternalTaskIdprotected java.lang.StringjobDefinitionIdprotected java.lang.StringjobIdprotected java.lang.StringoperationIdprotected java.lang.StringoperationTypeprotected java.lang.StringprocessDefinitionIdprotected java.lang.StringprocessDefinitionKeyprotected java.lang.StringprocessInstanceIdprotected java.lang.Stringpropertyprotected java.lang.StringtaskIdprotected java.util.DatetimestampAfterprotected java.util.DatetimestampBeforeprotected java.lang.StringuserId-
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
Constructors Constructor Description UserOperationLogQueryImpl()UserOperationLogQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserOperationLogQueryafterTimestamp(java.util.Date after)Query entries after the time stamp.UserOperationLogQuerybatchId(java.lang.String batchId)Query entries which are existing for the batch.UserOperationLogQuerybeforeTimestamp(java.util.Date before)Query entries before the time stamp.UserOperationLogQuerycaseDefinitionId(java.lang.String caseDefinitionId)Query entries which are existing for the given case definition id.UserOperationLogQuerycaseExecutionId(java.lang.String caseExecutionId)Query entries which are existing for the given case execution.UserOperationLogQuerycaseInstanceId(java.lang.String caseInstanceId)Query entries which are existing for the given case instance.UserOperationLogQuerycategory(java.lang.String category)Query for operations of the given category only.UserOperationLogQuerycategoryIn(java.lang.String... categories)Query for operations of given categories only.UserOperationLogQuerydeploymentId(java.lang.String deploymentId)Query entries which are existing for the given deployment id.UserOperationLogQueryentityType(java.lang.String entityType)Query for operations on entities of a given type only.UserOperationLogQueryentityTypeIn(java.lang.String... entityTypes)Query for operations on entities of a given type only.longexecuteCount(CommandContext commandContext)java.util.List<UserOperationLogEntry>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.UserOperationLogQueryexecutionId(java.lang.String executionId)Query entries which are existing for the given execution.UserOperationLogQueryexternalTaskId(java.lang.String externalTaskId)Query entries which are existing for the external task.protected booleanhasExcludingConditions()Whether or not the query has excluding conditions.UserOperationLogQueryjobDefinitionId(java.lang.String jobDefinitionId)Query entries which are existing for the job definition.UserOperationLogQueryjobId(java.lang.String jobId)Query entries which are existing for the job.UserOperationLogQueryoperationId(java.lang.String operationId)Query entries of a composite operation.UserOperationLogQueryoperationType(java.lang.String operationType)Query for operations of a given type only.UserOperationLogQueryorderByTimestamp()Order by time stamp (needs to be followed byQuery.asc()orQuery.desc()).UserOperationLogQueryprocessDefinitionId(java.lang.String processDefinitionId)Query entries which are existing for the given process definition id.UserOperationLogQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Query entries which are operate on all process definitions of the given key.UserOperationLogQueryprocessInstanceId(java.lang.String processInstanceId)Query entries which are existing for the given process instance.UserOperationLogQueryproperty(java.lang.String property)Query entries that changed a property.UserOperationLogQuerytaskId(java.lang.String taskId)Query entries which are existing for the task.UserOperationLogQueryuserId(java.lang.String userId)Query entries which are existing for the user.-
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.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Field Detail
-
deploymentId
protected java.lang.String deploymentId
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processInstanceId
protected java.lang.String processInstanceId
-
executionId
protected java.lang.String executionId
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseInstanceId
protected java.lang.String caseInstanceId
-
caseExecutionId
protected java.lang.String caseExecutionId
-
taskId
protected java.lang.String taskId
-
jobId
protected java.lang.String jobId
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
batchId
protected java.lang.String batchId
-
userId
protected java.lang.String userId
-
operationId
protected java.lang.String operationId
-
externalTaskId
protected java.lang.String externalTaskId
-
operationType
protected java.lang.String operationType
-
property
protected java.lang.String property
-
entityType
protected java.lang.String entityType
-
category
protected java.lang.String category
-
timestampAfter
protected java.util.Date timestampAfter
-
timestampBefore
protected java.util.Date timestampBefore
-
entityTypes
protected java.lang.String[] entityTypes
-
categories
protected java.lang.String[] categories
-
-
Constructor Detail
-
UserOperationLogQueryImpl
public UserOperationLogQueryImpl()
-
UserOperationLogQueryImpl
public UserOperationLogQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public UserOperationLogQuery deploymentId(java.lang.String deploymentId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given deployment id.- Specified by:
deploymentIdin interfaceUserOperationLogQuery
-
processDefinitionId
public UserOperationLogQuery processDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process definition id.- Specified by:
processDefinitionIdin interfaceUserOperationLogQuery
-
processDefinitionKey
public UserOperationLogQuery processDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:UserOperationLogQueryQuery entries which are operate on all process definitions of the given key.- Specified by:
processDefinitionKeyin interfaceUserOperationLogQuery
-
processInstanceId
public UserOperationLogQuery processInstanceId(java.lang.String processInstanceId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process instance.- Specified by:
processInstanceIdin interfaceUserOperationLogQuery
-
executionId
public UserOperationLogQuery executionId(java.lang.String executionId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given execution.- Specified by:
executionIdin interfaceUserOperationLogQuery
-
caseDefinitionId
public UserOperationLogQuery caseDefinitionId(java.lang.String caseDefinitionId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case definition id.- Specified by:
caseDefinitionIdin interfaceUserOperationLogQuery
-
caseInstanceId
public UserOperationLogQuery caseInstanceId(java.lang.String caseInstanceId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case instance.- Specified by:
caseInstanceIdin interfaceUserOperationLogQuery
-
caseExecutionId
public UserOperationLogQuery caseExecutionId(java.lang.String caseExecutionId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case execution.- Specified by:
caseExecutionIdin interfaceUserOperationLogQuery
-
taskId
public UserOperationLogQuery taskId(java.lang.String taskId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the task.- Specified by:
taskIdin interfaceUserOperationLogQuery
-
jobId
public UserOperationLogQuery jobId(java.lang.String jobId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job.- Specified by:
jobIdin interfaceUserOperationLogQuery
-
jobDefinitionId
public UserOperationLogQuery jobDefinitionId(java.lang.String jobDefinitionId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job definition.- Specified by:
jobDefinitionIdin interfaceUserOperationLogQuery
-
batchId
public UserOperationLogQuery batchId(java.lang.String batchId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the batch.- Specified by:
batchIdin interfaceUserOperationLogQuery
-
userId
public UserOperationLogQuery userId(java.lang.String userId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the user.- Specified by:
userIdin interfaceUserOperationLogQuery
-
operationId
public UserOperationLogQuery operationId(java.lang.String 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
public UserOperationLogQuery externalTaskId(java.lang.String externalTaskId)
Description copied from interface:UserOperationLogQueryQuery entries which are existing for the external task.- Specified by:
externalTaskIdin interfaceUserOperationLogQuery
-
operationType
public UserOperationLogQuery operationType(java.lang.String 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
public UserOperationLogQuery property(java.lang.String property)
Description copied from interface:UserOperationLogQueryQuery entries that changed a property.- Specified by:
propertyin interfaceUserOperationLogQuery
-
entityType
public UserOperationLogQuery entityType(java.lang.String 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:
EntityTypes.TASK,EntityTypes.IDENTITY_LINK,EntityTypes.ATTACHMENT
-
entityTypeIn
public UserOperationLogQuery entityTypeIn(java.lang.String... entityTypes)
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:
EntityTypes.TASK,EntityTypes.IDENTITY_LINK,EntityTypes.ATTACHMENT
-
category
public UserOperationLogQuery category(java.lang.String 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:
UserOperationLogEntry.CATEGORY_ADMIN,UserOperationLogEntry.CATEGORY_OPERATOR,UserOperationLogEntry.CATEGORY_TASK_WORKER
-
categoryIn
public UserOperationLogQuery categoryIn(java.lang.String... categories)
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:
UserOperationLogEntry.CATEGORY_ADMIN,UserOperationLogEntry.CATEGORY_OPERATOR,UserOperationLogEntry.CATEGORY_TASK_WORKER
-
afterTimestamp
public UserOperationLogQuery afterTimestamp(java.util.Date after)
Description copied from interface:UserOperationLogQueryQuery entries after the time stamp.- Specified by:
afterTimestampin interfaceUserOperationLogQuery
-
beforeTimestamp
public UserOperationLogQuery beforeTimestamp(java.util.Date before)
Description copied from interface:UserOperationLogQueryQuery entries before the time stamp.- Specified by:
beforeTimestampin interfaceUserOperationLogQuery
-
orderByTimestamp
public UserOperationLogQuery orderByTimestamp()
Description copied from interface:UserOperationLogQueryOrder by time stamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTimestampin interfaceUserOperationLogQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
-
executeList
public java.util.List<UserOperationLogEntry> executeList(CommandContext commandContext, Page page)
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.
-
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
-
-