|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.transaction.updatenotifier.UpdateNotifierAbstract
org.nakedobjects.runtime.transaction.updatenotifier.UpdateNotifierDefault
public class UpdateNotifierDefault
| Constructor Summary | |
|---|---|
UpdateNotifierDefault()
|
|
| Method Summary | |
|---|---|
void |
addChangedObject(NakedObject adapter)
Used by the framework to add objects that have just changed. |
void |
addDisposedObject(NakedObject adapter)
Used by the framework to add objects that have just been disposed of. |
void |
clear()
|
void |
debugData(DebugString debug)
|
java.lang.String |
debugTitle()
|
void |
ensureEmpty()
|
java.util.List<NakedObject> |
getChangedObjects()
Returns an immutable List of changed objects. |
java.util.List<NakedObject> |
getDisposedObjects()
Returns an immutable List of disposed objects. |
java.lang.String |
toString()
|
| Methods inherited from class org.nakedobjects.runtime.transaction.updatenotifier.UpdateNotifierAbstract |
|---|
injectInto |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateNotifierDefault()
| Method Detail |
|---|
public void addChangedObject(NakedObject adapter)
UpdateNotifier
addChangedObject in interface UpdateNotifierpublic java.util.List<NakedObject> getChangedObjects()
UpdateNotifierList of changed objects.
Each changed object that was added is only ever provided during one call to this method so the list must be processed fully to avoid missing updates.
getChangedObjects in interface UpdateNotifierpublic void addDisposedObject(NakedObject adapter)
UpdateNotifier
addDisposedObject in interface UpdateNotifierpublic java.util.List<NakedObject> getDisposedObjects()
UpdateNotifierList of disposed objects.
Each object that was disposed of is only ever provided during one call to this method so the list must be processed fully to avoid missing deletions.
getDisposedObjects in interface UpdateNotifierpublic void ensureEmpty()
ensureEmpty in interface UpdateNotifierpublic void clear()
clear in interface UpdateNotifierpublic void debugData(DebugString debug)
debugData in interface DebugInfopublic java.lang.String debugTitle()
debugTitle in interface DebugInfopublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||