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_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, 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, singleResult
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 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)
UserOperationLogQuery
processDefinitionId
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 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 © 2015. All rights reserved.