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 RevisionGet theRevisionof this event.de.espirit.storage.RevisionDeprecated.@NotNull UserServiceGet a readonlyUserServicebased on the event'sRevision.
-
Method Details
-
getRevision
Deprecated.since 5.2.250102 - usegetEventRevision()insteadGet theRevisionof this event.- Returns:
- The revision.
- Since:
- 5.2.210505
-
getEventRevision
Get theRevisionof this event.- Returns:
- The revision.
- Throws:
UncheckedIOException- if it was not possible to open the repository.- Since:
- 5.2.250102
-
getUserService
Get a readonlyUserServicebased on the event'sRevision.- Returns:
- A readonly
UserServicefor 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 ofIDProviderChangeorDatasetChange.- Returns:
- All change operations for this revision.
- Since:
- 5.2.210505
-
getEventRevision()instead