Interface UserOperationLogEntry
-
- All Known Implementing Classes:
UserOperationLogEntryEventEntity
public interface UserOperationLogEntry
Log entry about an operation performed by a user. This is used for logging actions such as creating a new task, completing a task, canceling a process instance, ...Operation Type
The type of the operation which has been performed. A user may create a new task, complete a task, delegate a tasks, etc... Check this class for a list of built-in operation type constants.
Entity Type
The type of the entity on which the operation was performed. Operations may be performed on tasks, attachments, ...
Affected Entity Criteria
The methods that reference other entities (except users), such as
getProcessInstanceId()
orgetProcessDefinitionId()
, describe which entities were affected by the operation and represent restriction criteria. Anull
return value of any of those methods means that regarding this criterion, any entity was affected.For example, if an operation suspends all process instances that belong to a certain process definition id, one operation log entry is created. Its return value for the method
getProcessInstanceId()
isnull
, whilegetProcessDefinitionId()
returns an id. Thus, the return values of these methods can be understood as selection criteria of instances of the entity type that were affected by the operation.Additional Considerations
The event describes which user has requested out the operation and the time at which the operation was performed. Furthermore, one operation can result in multiple
UserOperationLogEntry
entities whicha are linked by the value of thegetOperationId()
method.- Author:
- Danny Gräf, Daniel Meyer
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAnnotation()
An arbitrary annotation set by a user for auditing reasonsString
getBatchId()
Batch reference.String
getCaseDefinitionId()
Case definition reference.String
getCaseExecutionId()
Case execution reference.String
getCaseInstanceId()
Case instance reference.String
getCategory()
The category this entry is associated withString
getDeploymentId()
Deployment referenceString
getEntityType()
The type of the entity on which this operation was executed.String
getExecutionId()
Execution reference.String
getExternalTaskId()
External task reference.String
getId()
The unique identifier of this log entry.String
getJobDefinitionId()
Job definition reference.String
getJobId()
Job instance reference.String
getNewValue()
The new value of the property.String
getOperationId()
The unique identifier of this operation.String
getOperationType()
Type of this operation, like create, assign, claim and so on.String
getOrgValue()
The original value of the property.String
getProcessDefinitionId()
Process definition reference.String
getProcessDefinitionKey()
Key of the process definition this log entry belongs to;null
means any.String
getProcessInstanceId()
Process instance reference.String
getProperty()
The property changed by this operation.Date
getRemovalTime()
The time the historic user operation log will be removed.String
getRootProcessInstanceId()
Root process instance reference.String
getTaskId()
Task instance reference.String
getTenantId()
The id of the tenant this user operation log belongs to.Date
getTimestamp()
Timestamp of this change.String
getUserId()
The User who performed the operation
-
-
-
Field Detail
-
ENTITY_TYPE_TASK
@Deprecated static final String ENTITY_TYPE_TASK
Deprecated.Please useEntityTypes.TASK
instead.- See Also:
- Constant Field Values
-
ENTITY_TYPE_IDENTITY_LINK
@Deprecated static final String ENTITY_TYPE_IDENTITY_LINK
Deprecated.Please useEntityTypes.IDENTITY_LINK
instead.- See Also:
- Constant Field Values
-
ENTITY_TYPE_ATTACHMENT
@Deprecated static final String ENTITY_TYPE_ATTACHMENT
Deprecated.Please useEntityTypes.ATTACHMENT
instead.- See Also:
- Constant Field Values
-
OPERATION_TYPE_ASSIGN
static final String OPERATION_TYPE_ASSIGN
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CLAIM
static final String OPERATION_TYPE_CLAIM
- See Also:
- Constant Field Values
-
OPERATION_TYPE_COMPLETE
static final String OPERATION_TYPE_COMPLETE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CREATE
static final String OPERATION_TYPE_CREATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELEGATE
static final String OPERATION_TYPE_DELEGATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELETE
static final String OPERATION_TYPE_DELETE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_RESOLVE
static final String OPERATION_TYPE_RESOLVE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_OWNER
static final String OPERATION_TYPE_SET_OWNER
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_PRIORITY
static final String OPERATION_TYPE_SET_PRIORITY
- See Also:
- Constant Field Values
-
OPERATION_TYPE_UPDATE
static final String OPERATION_TYPE_UPDATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ACTIVATE
static final String OPERATION_TYPE_ACTIVATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SUSPEND
static final String OPERATION_TYPE_SUSPEND
- See Also:
- Constant Field Values
-
OPERATION_TYPE_MIGRATE
static final String OPERATION_TYPE_MIGRATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ADD_USER_LINK
static final String OPERATION_TYPE_ADD_USER_LINK
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELETE_USER_LINK
static final String OPERATION_TYPE_DELETE_USER_LINK
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ADD_GROUP_LINK
static final String OPERATION_TYPE_ADD_GROUP_LINK
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELETE_GROUP_LINK
static final String OPERATION_TYPE_DELETE_GROUP_LINK
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_DUEDATE
static final String OPERATION_TYPE_SET_DUEDATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_RECALC_DUEDATE
static final String OPERATION_TYPE_RECALC_DUEDATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_UNLOCK
static final String OPERATION_TYPE_UNLOCK
- See Also:
- Constant Field Values
-
OPERATION_TYPE_EXECUTE
static final String OPERATION_TYPE_EXECUTE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_EVALUATE
static final String OPERATION_TYPE_EVALUATE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ADD_ATTACHMENT
static final String OPERATION_TYPE_ADD_ATTACHMENT
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELETE_ATTACHMENT
static final String OPERATION_TYPE_DELETE_ATTACHMENT
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SUSPEND_JOB_DEFINITION
static final String OPERATION_TYPE_SUSPEND_JOB_DEFINITION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ACTIVATE_JOB_DEFINITION
static final String OPERATION_TYPE_ACTIVATE_JOB_DEFINITION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SUSPEND_PROCESS_DEFINITION
static final String OPERATION_TYPE_SUSPEND_PROCESS_DEFINITION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ACTIVATE_PROCESS_DEFINITION
static final String OPERATION_TYPE_ACTIVATE_PROCESS_DEFINITION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CREATE_HISTORY_CLEANUP_JOB
static final String OPERATION_TYPE_CREATE_HISTORY_CLEANUP_JOB
- See Also:
- Constant Field Values
-
OPERATION_TYPE_UPDATE_HISTORY_TIME_TO_LIVE
static final String OPERATION_TYPE_UPDATE_HISTORY_TIME_TO_LIVE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_DELETE_HISTORY
static final String OPERATION_TYPE_DELETE_HISTORY
- See Also:
- Constant Field Values
-
OPERATION_TYPE_MODIFY_PROCESS_INSTANCE
static final String OPERATION_TYPE_MODIFY_PROCESS_INSTANCE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_RESTART_PROCESS_INSTANCE
static final String OPERATION_TYPE_RESTART_PROCESS_INSTANCE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SUSPEND_JOB
static final String OPERATION_TYPE_SUSPEND_JOB
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ACTIVATE_JOB
static final String OPERATION_TYPE_ACTIVATE_JOB
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_JOB_RETRIES
static final String OPERATION_TYPE_SET_JOB_RETRIES
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_EXTERNAL_TASK_RETRIES
static final String OPERATION_TYPE_SET_EXTERNAL_TASK_RETRIES
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_VARIABLE
static final String OPERATION_TYPE_SET_VARIABLE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_VARIABLES
static final String OPERATION_TYPE_SET_VARIABLES
- See Also:
- Constant Field Values
-
OPERATION_TYPE_REMOVE_VARIABLE
static final String OPERATION_TYPE_REMOVE_VARIABLE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_MODIFY_VARIABLE
static final String OPERATION_TYPE_MODIFY_VARIABLE
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SUSPEND_BATCH
static final String OPERATION_TYPE_SUSPEND_BATCH
- See Also:
- Constant Field Values
-
OPERATION_TYPE_ACTIVATE_BATCH
static final String OPERATION_TYPE_ACTIVATE_BATCH
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CREATE_INCIDENT
static final String OPERATION_TYPE_CREATE_INCIDENT
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_REMOVAL_TIME
static final String OPERATION_TYPE_SET_REMOVAL_TIME
- See Also:
- Constant Field Values
-
OPERATION_TYPE_SET_ANNOTATION
static final String OPERATION_TYPE_SET_ANNOTATION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CLEAR_ANNOTATION
static final String OPERATION_TYPE_CLEAR_ANNOTATION
- See Also:
- Constant Field Values
-
OPERATION_TYPE_CORRELATE_MESSAGE
static final String OPERATION_TYPE_CORRELATE_MESSAGE
- See Also:
- Constant Field Values
-
CATEGORY_ADMIN
static final String CATEGORY_ADMIN
- See Also:
- Constant Field Values
-
CATEGORY_OPERATOR
static final String CATEGORY_OPERATOR
- See Also:
- Constant Field Values
-
CATEGORY_TASK_WORKER
static final String CATEGORY_TASK_WORKER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
The unique identifier of this log entry.
-
getDeploymentId
String getDeploymentId()
Deployment reference
-
getProcessDefinitionId
String getProcessDefinitionId()
Process definition reference.
-
getProcessDefinitionKey
String getProcessDefinitionKey()
Key of the process definition this log entry belongs to;null
means any.
-
getRootProcessInstanceId
String getRootProcessInstanceId()
Root process instance reference.
-
getProcessInstanceId
String getProcessInstanceId()
Process instance reference.
-
getExecutionId
String getExecutionId()
Execution reference.
-
getCaseDefinitionId
String getCaseDefinitionId()
Case definition reference.
-
getCaseInstanceId
String getCaseInstanceId()
Case instance reference.
-
getCaseExecutionId
String getCaseExecutionId()
Case execution reference.
-
getTaskId
String getTaskId()
Task instance reference.
-
getJobId
String getJobId()
Job instance reference.
-
getJobDefinitionId
String getJobDefinitionId()
Job definition reference.
-
getBatchId
String getBatchId()
Batch reference.
-
getUserId
String getUserId()
The User who performed the operation
-
getTimestamp
Date getTimestamp()
Timestamp of this change.
-
getOperationId
String getOperationId()
The unique identifier of this operation. If an operation modifies multiple properties, multipleUserOperationLogEntry
instances will be created with a common operationId. This allows grouping multiple entries which are part of a composite operation.
-
getExternalTaskId
String getExternalTaskId()
External task reference.
-
getOperationType
String getOperationType()
Type of this operation, like create, assign, claim and so on.
-
getEntityType
String getEntityType()
The type of the entity on which this operation was executed.
-
getProperty
String getProperty()
The property changed by this operation.
-
getOrgValue
String getOrgValue()
The original value of the property.
-
getNewValue
String getNewValue()
The new value of the property.
-
getRemovalTime
Date getRemovalTime()
The time the historic user operation log will be removed.
-
getCategory
String getCategory()
The category this entry is associated with
-
getAnnotation
String getAnnotation()
An arbitrary annotation set by a user for auditing reasons
-
getTenantId
String getTenantId()
The id of the tenant this user operation log belongs to. Can benull
if the user operation log belongs to no single tenant.
-
-