org.camunda.bpm.engine.impl.oplog
Class UserOperationLogContext

java.lang.Object
  extended by 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
protected  List<UserOperationLogContextEntry> entries
           
protected  String operationId
           
protected  String userId
           
 
Constructor Summary
UserOperationLogContext()
           
 
Method Summary
 void addEntry(UserOperationLogContextEntry entry)
           
 List<UserOperationLogContextEntry> getEntries()
           
 String getOperationId()
           
 String getUserId()
           
 void setOperationId(String operationId)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operationId

protected String operationId

userId

protected String userId

entries

protected List<UserOperationLogContextEntry> entries
Constructor Detail

UserOperationLogContext

public UserOperationLogContext()
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()


Copyright © 2016 camunda services GmbH. All rights reserved.