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.AbstractQueryAbstractQuery.ResultType
 
- 
 - 
Field SummaryFields 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.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 - 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
- 
 - 
Constructor SummaryConstructors Constructor Description UserOperationLogQueryImpl()UserOperationLogQueryImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll 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.AbstractQueryaddExpression, 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.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 - 
Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
 
- 
 
- 
- 
- 
Field Detail- 
deploymentIdprotected java.lang.String deploymentId 
 - 
processDefinitionIdprotected java.lang.String processDefinitionId 
 - 
processDefinitionKeyprotected java.lang.String processDefinitionKey 
 - 
processInstanceIdprotected java.lang.String processInstanceId 
 - 
executionIdprotected java.lang.String executionId 
 - 
caseDefinitionIdprotected java.lang.String caseDefinitionId 
 - 
caseInstanceIdprotected java.lang.String caseInstanceId 
 - 
caseExecutionIdprotected java.lang.String caseExecutionId 
 - 
taskIdprotected java.lang.String taskId 
 - 
jobIdprotected java.lang.String jobId 
 - 
jobDefinitionIdprotected java.lang.String jobDefinitionId 
 - 
batchIdprotected java.lang.String batchId 
 - 
userIdprotected java.lang.String userId 
 - 
operationIdprotected java.lang.String operationId 
 - 
externalTaskIdprotected java.lang.String externalTaskId 
 - 
operationTypeprotected java.lang.String operationType 
 - 
propertyprotected java.lang.String property 
 - 
entityTypeprotected java.lang.String entityType 
 - 
categoryprotected java.lang.String category 
 - 
timestampAfterprotected java.util.Date timestampAfter 
 - 
timestampBeforeprotected java.util.Date timestampBefore 
 - 
entityTypesprotected java.lang.String[] entityTypes 
 - 
categoriesprotected java.lang.String[] categories 
 
- 
 - 
Constructor Detail- 
UserOperationLogQueryImplpublic UserOperationLogQueryImpl() 
 - 
UserOperationLogQueryImplpublic UserOperationLogQueryImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
deploymentIdpublic UserOperationLogQuery deploymentId(java.lang.String deploymentId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given deployment id.- Specified by:
- deploymentIdin interface- UserOperationLogQuery
 
 - 
processDefinitionIdpublic UserOperationLogQuery processDefinitionId(java.lang.String processDefinitionId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process definition id.- Specified by:
- processDefinitionIdin interface- UserOperationLogQuery
 
 - 
processDefinitionKeypublic 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 interface- UserOperationLogQuery
 
 - 
processInstanceIdpublic UserOperationLogQuery processInstanceId(java.lang.String processInstanceId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given process instance.- Specified by:
- processInstanceIdin interface- UserOperationLogQuery
 
 - 
executionIdpublic UserOperationLogQuery executionId(java.lang.String executionId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given execution.- Specified by:
- executionIdin interface- UserOperationLogQuery
 
 - 
caseDefinitionIdpublic UserOperationLogQuery caseDefinitionId(java.lang.String caseDefinitionId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case definition id.- Specified by:
- caseDefinitionIdin interface- UserOperationLogQuery
 
 - 
caseInstanceIdpublic UserOperationLogQuery caseInstanceId(java.lang.String caseInstanceId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case instance.- Specified by:
- caseInstanceIdin interface- UserOperationLogQuery
 
 - 
caseExecutionIdpublic UserOperationLogQuery caseExecutionId(java.lang.String caseExecutionId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the given case execution.- Specified by:
- caseExecutionIdin interface- UserOperationLogQuery
 
 - 
taskIdpublic UserOperationLogQuery taskId(java.lang.String taskId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the task.- Specified by:
- taskIdin interface- UserOperationLogQuery
 
 - 
jobIdpublic UserOperationLogQuery jobId(java.lang.String jobId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job.- Specified by:
- jobIdin interface- UserOperationLogQuery
 
 - 
jobDefinitionIdpublic UserOperationLogQuery jobDefinitionId(java.lang.String jobDefinitionId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the job definition.- Specified by:
- jobDefinitionIdin interface- UserOperationLogQuery
 
 - 
batchIdpublic UserOperationLogQuery batchId(java.lang.String batchId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the batch.- Specified by:
- batchIdin interface- UserOperationLogQuery
 
 - 
userIdpublic UserOperationLogQuery userId(java.lang.String userId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the user.- Specified by:
- userIdin interface- UserOperationLogQuery
 
 - 
operationIdpublic 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 interface- UserOperationLogQuery
 
 - 
externalTaskIdpublic UserOperationLogQuery externalTaskId(java.lang.String externalTaskId) Description copied from interface:UserOperationLogQueryQuery entries which are existing for the external task.- Specified by:
- externalTaskIdin interface- UserOperationLogQuery
 
 - 
operationTypepublic 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 interface- UserOperationLogQuery
 
 - 
propertypublic UserOperationLogQuery property(java.lang.String property) Description copied from interface:UserOperationLogQueryQuery entries that changed a property.- Specified by:
- propertyin interface- UserOperationLogQuery
 
 - 
entityTypepublic 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 interface- UserOperationLogQuery
- See Also:
- EntityTypes.TASK,- EntityTypes.IDENTITY_LINK,- EntityTypes.ATTACHMENT
 
 - 
entityTypeInpublic 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 interface- UserOperationLogQuery
- See Also:
- EntityTypes.TASK,- EntityTypes.IDENTITY_LINK,- EntityTypes.ATTACHMENT
 
 - 
categorypublic 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 interface- UserOperationLogQuery
- See Also:
- UserOperationLogEntry.CATEGORY_ADMIN,- UserOperationLogEntry.CATEGORY_OPERATOR,- UserOperationLogEntry.CATEGORY_TASK_WORKER
 
 - 
categoryInpublic 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 interface- UserOperationLogQuery
- See Also:
- UserOperationLogEntry.CATEGORY_ADMIN,- UserOperationLogEntry.CATEGORY_OPERATOR,- UserOperationLogEntry.CATEGORY_TASK_WORKER
 
 - 
afterTimestamppublic UserOperationLogQuery afterTimestamp(java.util.Date after) Description copied from interface:UserOperationLogQueryQuery entries after the time stamp.- Specified by:
- afterTimestampin interface- UserOperationLogQuery
 
 - 
beforeTimestamppublic UserOperationLogQuery beforeTimestamp(java.util.Date before) Description copied from interface:UserOperationLogQueryQuery entries before the time stamp.- Specified by:
- beforeTimestampin interface- UserOperationLogQuery
 
 - 
orderByTimestamppublic UserOperationLogQuery orderByTimestamp() Description copied from interface:UserOperationLogQueryOrder by time stamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTimestampin interface- UserOperationLogQuery
 
 - 
executeCountpublic long executeCount(CommandContext commandContext) - Specified by:
- executeCountin class- AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
 
 - 
executeListpublic 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 class- AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
- page- used if the results must be paged. If null, no paging will be applied.
 
 - 
hasExcludingConditionsprotected 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 class- AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
- Returns:
- trueif the query does have excluding conditions,- falseotherwise
 
 
- 
 
-