Class UserOperationLogContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.oplog.UserOperationLogContext
-
public class UserOperationLogContext extends 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 List<UserOperationLogContextEntry>
entries
protected String
operationId
protected 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)
List<UserOperationLogContextEntry>
getEntries()
String
getOperationId()
String
getUserId()
void
setOperationId(String operationId)
void
setUserId(String userId)
-
-
-
Field Detail
-
operationId
protected String operationId
-
userId
protected String userId
-
entries
protected List<UserOperationLogContextEntry> entries
-
-
Method Detail
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getOperationId
public String getOperationId()
-
setOperationId
public void setOperationId(String operationId)
-
addEntry
public void addEntry(UserOperationLogContextEntry entry)
-
getEntries
public List<UserOperationLogContextEntry> getEntries()
-
-