public class UserOperationLogQueryImpl extends AbstractQuery<UserOperationLogQuery,UserOperationLogEntry> implements UserOperationLogQuery
Modifier and Type | Field and Description |
---|---|
protected String |
caseDefinitionId |
protected String |
caseExecutionId |
protected String |
caseInstanceId |
protected String |
entityType |
protected String |
executionId |
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, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
Constructor and Description |
---|
UserOperationLogQueryImpl() |
UserOperationLogQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
UserOperationLogQuery |
afterTimestamp(Date after)
Query entries after the time stamp.
|
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 |
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.
|
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, addOrder, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
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 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 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 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.Copyright © 2018. All rights reserved.