|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceObserver
A PersistenceObserver
is used to monitor the loading and saving
of persistence palo objects like
s and
Subset
s. Currently the API tries to load or save a
persistence palo object completely and calls one of the defined callback
methods afterwards.
CubeView
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 |
Method Detail |
---|
void loadFailed(java.lang.String sourceId, PersistenceError[] errors)
sourceId
- the id of failed palo objecterrors
- additional information about the reasonsvoid loadIncomplete(java.lang.Object source, PersistenceError[] errors)
source
- an instance of the loaded palo objecterrors
- additional information about the reasonsvoid loadComplete(java.lang.Object source)
source
- instance of loaded palo objectvoid saveFailed(java.lang.Object source, PersistenceError[] errors)
source
- palo object which could not be savederrors
- additional information about the reasonsvoid saveIncomplete(java.lang.Object source, PersistenceError[] errors)
source
- palo object which could not be completely savederrors
- additional information about the reasonsvoid saveComplete(java.lang.Object source)
source
- palo object which was saved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |