Class FormItemsPersistUpdatedEvent
java.lang.Object
de.xima.fc.gui.bean.designer.event.FormItemsPersistUpdatedEvent
- All Implemented Interfaces:
IDesignerConversationEvent
,IApplicationEvent
,ISessionConversationEvent
,ISessionEvent
,IEvent
,Serializable
When the persist JSON of a single items was modified.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFormItemsPersistUpdatedEvent
(EContentView contentView, FormPersistModifications diff, Map<String, XItem> xItems) A new POJO with the given data.FormItemsPersistUpdatedEvent
(String sourceTabId, FormPersistModifications diff, Map<String, XItem> xItems) A new POJO with the given data. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.gui.bean.designer.event.IDesignerConversationEvent
getSourceTabView
-
Constructor Details
-
FormItemsPersistUpdatedEvent
public FormItemsPersistUpdatedEvent(EContentView contentView, FormPersistModifications diff, Map<String, XItem> xItems) A new POJO with the given data.- Parameters:
contentView
- Content view whoseEContentView.getId()
will be returned byIDesignerConversationEvent.getSourceTabId()
.diff
- Value returned bygetDiff()
.xItems
- Value returned bygetXItems()
.
-
FormItemsPersistUpdatedEvent
public FormItemsPersistUpdatedEvent(String sourceTabId, FormPersistModifications diff, Map<String, XItem> xItems) A new POJO with the given data.- Parameters:
sourceTabId
- Value returned byIDesignerConversationEvent.getSourceTabId()
.diff
- Value returned bygetDiff()
.xItems
- Value returned bygetXItems()
.
-
-
Method Details
-
getXItems
- Returns:
- The current set of items after the update was applied.
-
getDiff
- Returns:
- Changes that were made to the form items.
-
getSourceTabId
- Specified by:
getSourceTabId
in interfaceIDesignerConversationEvent
- Returns:
- ID of the tab (see
TabModel.getId()
) that issued the event. Empty string if the event was issued by the designer parent frame.
-