public class UserOperationLogQueryImpl extends AbstractQuery<UserOperationLogQuery,UserOperationLogEntry> implements UserOperationLogQuery
| Modifier and Type | Field and Description |
|---|---|
protected String |
entityType |
protected String |
executionId |
protected String |
operationId |
protected String |
operationType |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected String |
property |
protected String |
taskId |
protected Date |
timestampAfter |
protected Date |
timestampBefore |
protected String |
userId |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
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 |
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 |
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.
|
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected String processDefinitionId
protected String processInstanceId
protected String executionId
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(CommandExecutor commandExecutor)
public UserOperationLogQuery processDefinitionId(String processDefinitionId)
UserOperationLogQueryprocessDefinitionId in interface UserOperationLogQuerypublic UserOperationLogQuery processInstanceId(String processInstanceId)
UserOperationLogQueryprocessInstanceId in interface UserOperationLogQuerypublic UserOperationLogQuery executionId(String executionId)
UserOperationLogQueryexecutionId in interface UserOperationLogQuerypublic UserOperationLogQuery taskId(String taskId)
UserOperationLogQuerytaskId in interface UserOperationLogQuerypublic UserOperationLogQuery userId(String userId)
UserOperationLogQueryuserId in interface UserOperationLogQuerypublic UserOperationLogQuery operationId(String operationId)
UserOperationLogQueryTaskService.saveTask(org.camunda.bpm.engine.task.Task)
which will be logged as separate OperationLogEntries with the same 'operationId'operationId in interface UserOperationLogQuerypublic UserOperationLogQuery operationType(String operationType)
UserOperationLogQueryUserOperationLogEntry class for a list of constants of supported operations.operationType in interface UserOperationLogQuerypublic UserOperationLogQuery property(String property)
UserOperationLogQueryproperty in interface UserOperationLogQuerypublic UserOperationLogQuery entityType(String entityType)
UserOperationLogQueryentityType in interface UserOperationLogQueryUserOperationLogEntry.ENTITY_TYPE_TASK,
UserOperationLogEntry.ENTITY_TYPE_IDENTITY_LINK,
UserOperationLogEntry.ENTITY_TYPE_ATTACHMENTpublic UserOperationLogQuery afterTimestamp(Date after)
UserOperationLogQueryafterTimestamp in interface UserOperationLogQuerypublic UserOperationLogQuery beforeTimestamp(Date before)
UserOperationLogQuerybeforeTimestamp in interface UserOperationLogQuerypublic UserOperationLogQuery orderByTimestamp()
UserOperationLogQueryQuery.asc() or Query.desc()).orderByTimestamp in interface UserOperationLogQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>public List<UserOperationLogEntry> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<UserOperationLogQuery,UserOperationLogEntry>page - used if the results must be paged. If null, no paging will be applied.Copyright © 2015. All rights reserved.