Package de.espirit.firstspirit.event
Interface DatasetChange
- All Superinterfaces:
IDProviderChange
A
Dataset
change operation of an event.- Since:
- 5.2.210505
-
Method Summary
Modifier and TypeMethodDescription@NotNull Dataset
Get theDataset
being operated on.@NotNull EntityInfo
Get info object containing metadata about the changed entity.@NotNull Schema
Get theSchema
of this entity change operation.Methods inherited from interface de.espirit.firstspirit.event.IDProviderChange
getEventInfo
-
Method Details
-
getSchema
Get theSchema
of this entity change operation.- Returns:
- The schema of the entity events.
- Throws:
IllegalStateException
- Thrown if the schema was not found.- Since:
- 5.2.210505
-
getEntityInfo
Get info object containing metadata about the changed entity.- Returns:
- The entity info of the change.
- Since:
- 5.2.210505
-
getElement
Get theDataset
being operated on.- If the event was a delete operation, the dataset is returned in the last revision before its deletion.
- If the event was a release operation, the dataset is returned from a
release
session.
- Specified by:
getElement
in interfaceIDProviderChange
- Returns:
- The dataset.
- Throws:
IllegalStateException
- Thrown if the dataset was not found.- Since:
- 5.2.210505
-