Package io.jmix.uirecoveryflowui.facet
Class DraftsFacet.DraftRestoredEvent
java.lang.Object
java.util.EventObject
io.jmix.uirecoveryflowui.facet.DraftsFacet.DraftRestoredEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
DraftsFacet
Event fired after the facet restored a draft into the owning view's data context, so that the
view can react to the restored state.
Fired only when a draft was actually applied to at least one instance. It is not fired when the user discarded the draft or postponed the decision, when the payload turned out to be unusable, when every entry of it was skipped, or when a restore delegate prevented the facet's own restore.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDraftRestoredEvent(DraftsFacet source, ViewDraft draft, List<Object> restoredEntities) -
Method Summary
Modifier and TypeMethodDescriptiongetDraft()Returns the draft that was restored.Returns the managed instances the restore touched.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
draft
-
restoredEntities
-
-
Constructor Details
-
DraftRestoredEvent
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getDraft
Returns the draft that was restored. -
getRestoredEntities
Returns the managed instances the restore touched.
-