public interface SystemEvent extends Accessible
Modifier and Type | Interface and Description |
---|---|
static class |
SystemEvent.Impl
Implementation of complex methods.
|
Modifier and Type | Method and Description |
---|---|
Actioner |
getActioner()
Fetch the actioner who triggered this event.
|
Entity |
getEventScope()
Fetch the "scope" of this event, or the context in which a
given creation/modification/deletion event is happening.
|
EventTypes |
getEventType()
Fetch the event type of this event.
|
Accessible |
getFirstSubject()
Fetch the first subject of this event.
|
String |
getLogMessage()
Fetch the log message associated with this event.
|
SystemEvent |
getPriorEvent()
Fetch the event chronologically prior to this one.
|
Iterable<Version> |
getPriorVersions()
If new versions have been created, fetch the prior versions
of the subjects that were affected by this event.
|
Iterable<Accessible> |
getSubjects()
Fetch the subject items to whom this event pertains.
|
String |
getTimestamp()
Fetch the time stamp of this event.
|
void |
setEventScope(Entity frame)
Set the scope of this event.
|
int |
subjectCount() |
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
int subjectCount()
String getTimestamp()
EventTypes getEventType()
EventTypes
valueString getLogMessage()
Actioner getActioner()
Iterable<Accessible> getSubjects()
Iterable<Version> getPriorVersions()
Accessible getFirstSubject()
SystemEvent getPriorEvent()
Entity getEventScope()
void setEventScope(Entity frame)
frame
- a scope itemCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.