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<Language>
If the changes are limited to a set of languages, the set of changed languages is returned by this method.@NotNull Collection<? extends IDProviderChange>
Get all change operations for this revision.@NotNull Revision
Get theRevision
of this event.de.espirit.storage.Revision
Deprecated.@NotNull UserService
Get a readonlyUserService
based on the event'sRevision
.
-
Method Details
-
getRevision
Deprecated.since 5.2.250102 - usegetEventRevision()
insteadGet theRevision
of this event.- Returns:
- The revision.
- Since:
- 5.2.210505
-
getEventRevision
Get theRevision
of this event.- Returns:
- The revision.
- Throws:
UncheckedIOException
- if it was not possible to open the repository.- Since:
- 5.2.250102
-
getUserService
Get a readonlyUserService
based on the event'sRevision
.- Returns:
- A readonly
UserService
for theRevision
. - Since:
- 5.2.210505
-
getChangedLanguages
If the changes are limited to a set of languages, the set of changed languages is returned by this method. If the change is not limited to a set of languages or is not known, all project languages are returned here.- Returns:
- The changed languages or all project languages, if unknown or not limited.
- Since:
- 5.2.250102
-
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
-
getEventRevision()
instead