|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
S - This is a generic object of source, it can be a File/Folder/Content or something else
which should be extended from BaseObject.D - This is a generic object of data. It can be an event type such as NODE_ADDED/PROPERTY_CHANGED/NODE_REMOVEDpublic interface EventListener<S,D>
This used to process all the dedicated work which be delegated from EventManager
To adapt with event manager system then all listeners should be implemented this interface.
| Method Summary | |
|---|---|
void |
create(org.exoplatform.services.listener.Event<S,D> event)
Process the dedicated work when the create event has been triggered. |
void |
remove(org.exoplatform.services.listener.Event<S,D> event)
Process the dedicated work when the remove event has been triggered. |
void |
update(org.exoplatform.services.listener.Event<S,D> event)
Process the dedicated work when the update event has been triggered. |
| Method Detail |
|---|
void create(org.exoplatform.services.listener.Event<S,D> event)
event - The Event object.void update(org.exoplatform.services.listener.Event<S,D> event)
event - The Event object.void remove(org.exoplatform.services.listener.Event<S,D> event)
event - The Event object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||