Class FormItemsPersistUpdatedEvent
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.event.FormItemsPersistUpdatedEvent
-
- All Implemented Interfaces:
IDesignerConversationEvent
,IApplicationEvent
,ISessionConversationEvent
,ISessionEvent
,IEvent
,Serializable
public class FormItemsPersistUpdatedEvent extends Object
When the persist JSON of a single items was modified.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormItemsPersistUpdatedEvent(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormPersistModifications
getDiff()
String
getSourceTabId()
Map<String,XItem>
getXItems()
-
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 Detail
-
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 Detail
-
getXItems
public Map<String,XItem> getXItems()
- Returns:
- The current set of items after the update was applied.
-
getDiff
public FormPersistModifications getDiff()
- Returns:
- Changes that were made to the form items.
-
getSourceTabId
public String 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.
-
-