|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceChangeListener
Notifications of a set resource changes. The start notification indicates the beginning of a "transaction". Event notifications will be fired for individual resource change information. The end notification indicates the end of a set of changes. Listeners should fully commit all changes received since start. Note that there is no rollback support. If one listener returns false from onChangeEnd(), then all listeners may receive duplicate resouce change information in a subsequent set of events.
| Method Summary | |
|---|---|
void |
onChangeEvent(ResourceChangeEvent event)
Data about a single resource change. |
boolean |
onChangeStreamEnd(org.eaglei.model.EIEntity institution,
java.util.Date lastModifiedDate)
Indicates the end of a set of resource change notifications. |
void |
onChangeStreamStart(org.eaglei.model.EIEntity institution)
Indicates the start of a set of resource changes from a given institution. |
void |
optimize()
Indicates its a good time to optimize the datastore. |
| Method Detail |
|---|
void onChangeStreamStart(org.eaglei.model.EIEntity institution)
institution - void onChangeEvent(ResourceChangeEvent event)
event -
boolean onChangeStreamEnd(org.eaglei.model.EIEntity institution,
java.util.Date lastModifiedDate)
void optimize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||