public class UpdateJson extends java.lang.Object implements MapListener
addUpdateListener method. When the update event
occurs, that object's appropriate method is invoked.| Constructor and Description |
|---|
UpdateJson(IdMap map)
Instantiates a new update listener.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(Entity updateMessage,
Filter filter)
Execute.
|
Filter |
getFilter() |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
boolean |
removeObj(java.lang.Object oldValue,
boolean destroy)
Remove the given object from the IdMap
|
boolean |
resetNotification() |
boolean |
resumeNotification()
Reset notification.
|
boolean |
suspendNotification()
Suspend notification.
|
UpdateJson |
withFilter(Filter filter) |
public UpdateJson(IdMap map)
map - the mappublic boolean suspendNotification()
suspendNotification in interface MapListenerpublic boolean resumeNotification()
resumeNotification in interface MapListenerpublic boolean resetNotification()
resetNotification in interface MapListenerpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic java.lang.Object execute(Entity updateMessage, Filter filter)
execute in interface MapListenerupdateMessage - the update messagefilter - Filter for exclude UpdateMessagespublic UpdateJson withFilter(Filter filter)
withFilter in interface MapListenerpublic Filter getFilter()
getFilter in interface MapListenerpublic boolean removeObj(java.lang.Object oldValue,
boolean destroy)
oldValue - Object to removedestroy - switch for remove link from object