Class UserOperationLogContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.oplog.UserOperationLogContext
-
public class UserOperationLogContext extends java.lang.Object
Provides information about user operations.
One context object can contain many entries. An entry represents one operation on a set of resources of the same type. One such operation can change multiple properties on these entities. For example, more than one entry is needed when a cascading command is logged. Then there is an entry for the changes performed on the addressed resource type as well as entries for those resource types that are affected by the cascading behavior.
- Author:
- Roman Smirnov, Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<UserOperationLogContextEntry>
entries
protected java.lang.String
operationId
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description UserOperationLogContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(UserOperationLogContextEntry entry)
java.util.List<UserOperationLogContextEntry>
getEntries()
java.lang.String
getOperationId()
java.lang.String
getUserId()
void
setOperationId(java.lang.String operationId)
void
setUserId(java.lang.String userId)
-
-
-
Field Detail
-
operationId
protected java.lang.String operationId
-
userId
protected java.lang.String userId
-
entries
protected java.util.List<UserOperationLogContextEntry> entries
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
setUserId
public void setUserId(java.lang.String userId)
-
getOperationId
public java.lang.String getOperationId()
-
setOperationId
public void setOperationId(java.lang.String operationId)
-
addEntry
public void addEntry(UserOperationLogContextEntry entry)
-
getEntries
public java.util.List<UserOperationLogContextEntry> getEntries()
-
-