public class ActionManager.EventContext extends Object
Modifier and Type | Method and Description |
---|---|
ActionManager.EventContext |
addSubjects(Accessible... entities)
Add subjects to an event.
|
SystemEvent |
commit()
Flush this event log to the graph.
|
ActionManager.EventContext |
createVersion(Entity frame)
Create a snapshot of the given node's data.
|
ActionManager.EventContext |
createVersion(Entity frame,
Bundle bundle)
Create a snapshot of the given node using the provided data.
|
Actioner |
getActioner()
Get the event actioner.
|
EventTypes |
getEventType()
Get the type of this event context.
|
Optional<String> |
getLogMessage()
Get the event context log message.
|
Set<Accessible> |
getSubjects()
Return the subjects of this event.
|
public Actioner getActioner()
public Optional<String> getLogMessage()
public Set<Accessible> getSubjects()
public ActionManager.EventContext createVersion(Entity frame)
frame
- The subject nodepublic ActionManager.EventContext createVersion(Entity frame, Bundle bundle)
frame
- The subject nodebundle
- A bundle of the node's datapublic ActionManager.EventContext addSubjects(Accessible... entities)
entities
- A set of event subjectspublic EventTypes getEventType()
public SystemEvent commit()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.