public static interface DataManager.TrackingHandler
| Modifier and Type | Method and Description |
|---|---|
void |
collectionChangeHandler(DataManager.ChangeKind kind,
Object target,
Integer location,
Object[] items)
Callback called when a collection is modified
|
void |
entityCollectionChangeHandler(DataManager.ChangeKind kind,
Object target,
Integer location,
Object[] items)
Callback called when a collection owned by an entity (x-to-many association) is modified
|
void |
entityMapChangeHandler(DataManager.ChangeKind kind,
Object target,
Integer location,
Object[] items)
Callback called when a map owned by an entity (x-to-many association) is modified
|
void |
entityPropertyChangeHandler(Object target,
String property,
Object oldValue,
Object newValue)
Callback when a property of an entity is modified
|
void |
mapChangeHandler(DataManager.ChangeKind kind,
Object target,
Integer location,
Object[] items)
Callback called when a map is modified
|
void collectionChangeHandler(DataManager.ChangeKind kind, Object target, Integer location, Object[] items)
kind - kind of collection changetarget - modified collectionlocation - index/key of the modificationitems - array of modified itemsvoid mapChangeHandler(DataManager.ChangeKind kind, Object target, Integer location, Object[] items)
kind - kind of map changetarget - modified maplocation - key of the modificationitems - array of modified entries (each entry is an array [ key, value ])void entityPropertyChangeHandler(Object target, String property, Object oldValue, Object newValue)
target - modified entityproperty - property nameoldValue - previous valuenewValue - new valuevoid entityCollectionChangeHandler(DataManager.ChangeKind kind, Object target, Integer location, Object[] items)
kind - kind of collection changetarget - modified collectionlocation - index/key of the modificationitems - array of modified itemsvoid entityMapChangeHandler(DataManager.ChangeKind kind, Object target, Integer location, Object[] items)
kind - kind of map changetarget - modified maplocation - key of the modificationitems - array of modified entries (each entry is an array [ key, value ])