Package de.espirit.firstspirit.event
Interface RevisionEvent
public interface RevisionEvent
Definition of an event containing information about the causing
Revision
and all contained changes.- Since:
- 5.2.210505
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<? extends IDProviderChange>
Get all change operations for this revision.@NotNull de.espirit.storage.Revision
Get theRevision
of this event.@NotNull UserService
Get a readonlyUserService
based on the event'sRevision
.
-
Method Details
-
getRevision
@NotNull @NotNull de.espirit.storage.Revision getRevision()Get theRevision
of this event.- Returns:
- The revision.
- Since:
- 5.2.210505
-
getUserService
Get a readonlyUserService
based on the event'sRevision
.- Returns:
- A readonly
UserService
for theRevision
. - Since:
- 5.2.210505
-
getChanges
Get all change operations for this revision. Each change object is either an instance ofIDProviderChange
orDatasetChange
.- Returns:
- All change operations for this revision.
- Since:
- 5.2.210505
-