|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.client.api.event.Event
org.exoplatform.social.client.api.event.CRUDLifecycleEvent<M>
M - The object which implements Model interfacepublic final class CRUDLifecycleEvent<M>
General event for notifying listeners of significant changes on a service that implements the CRUDLifecycle interface.
| Constructor Summary | |
|---|---|
CRUDLifecycleEvent(CRUDLifecycle<M> source,
String type)
Constructs a new CRUDLifecycleEvent with the specified parameters. |
|
CRUDLifecycleEvent(CRUDLifecycle<M> source,
String type,
M data)
Constructs a new LifecycleEvent with the specified parameters. |
|
| Method Summary | |
|---|---|
M |
getData()
Returns the event data of this event. |
CRUDLifecycle<M> |
getSource()
Returns the CRUDLifecycle on which this event occurred. |
String |
getType()
Returns the event type of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRUDLifecycleEvent(CRUDLifecycle<M> source,
String type)
source - Component on which this event occurredtype - Event type (required)
public CRUDLifecycleEvent(CRUDLifecycle<M> source,
String type,
M data)
source - Component on which this event occurredtype - Event type (required)data - Event data (if any)| Method Detail |
|---|
public String getType()
public M getData()
public CRUDLifecycle<M> getSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||