|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.persistence.PersistenceObserverAdapter
public class PersistenceObserverAdapter
A PersistenceObserverAdapter
provides empty method
implementations for the
interface.
PersistenceObserver
Constructor Summary | |
---|---|
PersistenceObserverAdapter()
|
Method Summary | |
---|---|
void |
loadComplete(java.lang.Object source)
Called when the palo object could be loaded successfully |
void |
loadFailed(java.lang.String sourceId,
PersistenceError[] errors)
Called when the loading of the palo object failed |
void |
loadIncomplete(java.lang.Object source,
PersistenceError[] errors)
Called when the palo object could not be loaded completely. |
void |
saveComplete(java.lang.Object source)
Called when the saving of the given palo object was successful |
void |
saveFailed(java.lang.Object source,
PersistenceError[] errors)
Called when the saving of the given palo object failed |
void |
saveIncomplete(java.lang.Object source,
PersistenceError[] errors)
Called when the palo object could not be saved completely |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceObserverAdapter()
Method Detail |
---|
public void loadComplete(java.lang.Object source)
PersistenceObserver
loadComplete
in interface PersistenceObserver
source
- instance of loaded palo objectpublic void loadFailed(java.lang.String sourceId, PersistenceError[] errors)
PersistenceObserver
loadFailed
in interface PersistenceObserver
sourceId
- the id of failed palo objecterrors
- additional information about the reasonspublic void loadIncomplete(java.lang.Object source, PersistenceError[] errors)
PersistenceObserver
loadIncomplete
in interface PersistenceObserver
source
- an instance of the loaded palo objecterrors
- additional information about the reasonspublic void saveComplete(java.lang.Object source)
PersistenceObserver
saveComplete
in interface PersistenceObserver
source
- palo object which was savedpublic void saveFailed(java.lang.Object source, PersistenceError[] errors)
PersistenceObserver
saveFailed
in interface PersistenceObserver
source
- palo object which could not be savederrors
- additional information about the reasonspublic void saveIncomplete(java.lang.Object source, PersistenceError[] errors)
PersistenceObserver
saveIncomplete
in interface PersistenceObserver
source
- palo object which could not be completely savederrors
- additional information about the reasons
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |