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 |
deploymentId |
protected String |
entityType |
protected String |
executionId |
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, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, 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 |
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.
|
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.
|
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, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck
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 operationType
protected String property
protected String entityType
protected Date timestampAfter
protected Date timestampBefore
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 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
UserOperationLogEntry.ENTITY_TYPE_TASK
,
UserOperationLogEntry.ENTITY_TYPE_IDENTITY_LINK
,
UserOperationLogEntry.ENTITY_TYPE_ATTACHMENT
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 © 2018. All rights reserved.