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 DatasetGet theDatasetbeing operated on.@NotNull EntityInfoGet info object containing metadata about the changed entity.@NotNull SchemaGet theSchemaof this entity change operation.Methods inherited from interface de.espirit.firstspirit.event.IDProviderChange
getChangeDetails, getChangedLanguages, getEventInfo
-
Method Details
-
getSchema
Get theSchemaof 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 theDatasetbeing 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
releasesession.
- Specified by:
getElementin interfaceIDProviderChange- Returns:
- The dataset.
- Throws:
IllegalStateException- Thrown if the dataset was not found.- Since:
- 5.2.210505
-