public class UserOperationLogQueryImpl extends AbstractQuery<UserOperationLogQuery,UserOperationLogEntry> implements UserOperationLogQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String |
batchId |
protected String |
caseDefinitionId |
protected String |
caseExecutionId |
protected String |
caseInstanceId |
protected String[] |
categories |
protected String |
category |
protected String |
deploymentId |
protected String |
entityType |
protected String[] |
entityTypes |
protected String |
executionId |
protected String |
externalTaskId |
protected String |
jobDefinitionId |
protected String |
jobId |
protected String |
operationId |
protected String |
operationType |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected String |
property |
protected String |
taskId |
protected Date |
timestampAfter |
protected Date |
timestampBefore |
protected String |
userId |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
UserOperationLogQueryImpl() |
UserOperationLogQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and 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.
|
long |
executeCount(CommandContext commandContext) |
List<UserOperationLogEntry> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
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.
|
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
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 by
Query.asc() or Query.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 |
userId(String userId)
Query entries which are existing for the user.
|
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
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
isRetryable
protected String deploymentId
protected String processDefinitionId
protected String processDefinitionKey
protected String processInstanceId
protected String executionId
protected String caseDefinitionId
protected String caseInstanceId
protected String caseExecutionId
protected String taskId
protected String jobId
protected String jobDefinitionId
protected String batchId
protected String userId
protected String operationId
protected String externalTaskId
protected String operationType
protected String property
protected String entityType
protected String category
protected Date timestampAfter
protected Date timestampBefore
protected String[] entityTypes
protected String[] categories
public UserOperationLogQueryImpl()
public UserOperationLogQueryImpl(CommandExecutor commandExecutor)
public UserOperationLogQuery deploymentId(String deploymentId)
UserOperationLogQuery
deploymentId
in interface UserOperationLogQuery
public UserOperationLogQuery processDefinitionId(String processDefinitionId)
UserOperationLogQuery
processDefinitionId
in interface UserOperationLogQuery
public UserOperationLogQuery processDefinitionKey(String processDefinitionKey)
UserOperationLogQuery
processDefinitionKey
in interface UserOperationLogQuery
public UserOperationLogQuery processInstanceId(String processInstanceId)
UserOperationLogQuery
processInstanceId
in interface UserOperationLogQuery
public UserOperationLogQuery executionId(String executionId)
UserOperationLogQuery
executionId
in interface UserOperationLogQuery
public UserOperationLogQuery caseDefinitionId(String caseDefinitionId)
UserOperationLogQuery
caseDefinitionId
in interface UserOperationLogQuery
public UserOperationLogQuery caseInstanceId(String caseInstanceId)
UserOperationLogQuery
caseInstanceId
in interface UserOperationLogQuery
public UserOperationLogQuery caseExecutionId(String caseExecutionId)
UserOperationLogQuery
caseExecutionId
in interface UserOperationLogQuery
public UserOperationLogQuery taskId(String taskId)
UserOperationLogQuery
taskId
in interface UserOperationLogQuery
public UserOperationLogQuery jobId(String jobId)
UserOperationLogQuery
jobId
in interface UserOperationLogQuery
public UserOperationLogQuery jobDefinitionId(String jobDefinitionId)
UserOperationLogQuery
jobDefinitionId
in interface UserOperationLogQuery
public UserOperationLogQuery batchId(String batchId)
UserOperationLogQuery
batchId
in interface UserOperationLogQuery
public UserOperationLogQuery userId(String userId)
UserOperationLogQuery
userId
in interface UserOperationLogQuery
public UserOperationLogQuery operationId(String operationId)
UserOperationLogQuery
TaskService.saveTask(org.camunda.bpm.engine.task.Task)
which will be logged as separate OperationLogEntries
with the same 'operationId'operationId
in interface UserOperationLogQuery
public UserOperationLogQuery externalTaskId(String externalTaskId)
UserOperationLogQuery
externalTaskId
in interface UserOperationLogQuery
public UserOperationLogQuery operationType(String operationType)
UserOperationLogQuery
UserOperationLogEntry
class for a list of constants of supported operations.operationType
in interface UserOperationLogQuery
public UserOperationLogQuery property(String property)
UserOperationLogQuery
property
in interface UserOperationLogQuery
public UserOperationLogQuery entityType(String entityType)
UserOperationLogQuery
entityType
in interface UserOperationLogQuery
EntityTypes.TASK
,
EntityTypes.IDENTITY_LINK
,
EntityTypes.ATTACHMENT
public UserOperationLogQuery entityTypeIn(String... entityTypes)
UserOperationLogQuery
entityTypeIn
in interface UserOperationLogQuery
EntityTypes.TASK
,
EntityTypes.IDENTITY_LINK
,
EntityTypes.ATTACHMENT
public UserOperationLogQuery category(String category)
UserOperationLogQuery
category
in interface UserOperationLogQuery
UserOperationLogEntry.CATEGORY_ADMIN
,
UserOperationLogEntry.CATEGORY_OPERATOR
,
UserOperationLogEntry.CATEGORY_TASK_WORKER
public UserOperationLogQuery categoryIn(String... categories)
UserOperationLogQuery
categoryIn
in interface UserOperationLogQuery
UserOperationLogEntry.CATEGORY_ADMIN
,
UserOperationLogEntry.CATEGORY_OPERATOR
,
UserOperationLogEntry.CATEGORY_TASK_WORKER
public UserOperationLogQuery afterTimestamp(Date after)
UserOperationLogQuery
afterTimestamp
in interface UserOperationLogQuery
public UserOperationLogQuery beforeTimestamp(Date before)
UserOperationLogQuery
beforeTimestamp
in interface UserOperationLogQuery
public UserOperationLogQuery orderByTimestamp()
UserOperationLogQuery
Query.asc()
or Query.desc()
).orderByTimestamp
in interface UserOperationLogQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
public List<UserOperationLogEntry> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
page
- used if the results must be paged. If null, no paging will be applied.protected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions
in class AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>
true
if the query does have excluding conditions, false
otherwiseCopyright © 2022. All rights reserved.