|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.client.core.util.CRUDLifecycleSupport<M>
public class CRUDLifecycleSupport<M>
This is a utility class that can be used by models that assist in firing CRUDLifecycleEvent notifications to registered CRUDLifecycleListeners and delegate various work to it
| Constructor Summary | |
|---|---|
CRUDLifecycleSupport(CRUDLifecycle<M> crudlifecycle)
Constructs a new LifecycleHelper object associated with the specified Lifecycle component. |
|
| Method Summary | |
|---|---|
void |
addCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
Add a Lifecycle event listener to this component |
void |
broadcastEvent(String type,
M data)
Notify all CRUDLifecycle event listeners that a particular event has occurred for this Container. |
CRUDLifecycleListener<M>[] |
findCRUDLifecycleListeners()
Get the crud lifecycle listeners associated with this lifecycle. |
void |
removeCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
Remove a CRUDLifecycle event listener which was registered to component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRUDLifecycleSupport(CRUDLifecycle<M> crudlifecycle)
crudlifecycle - | Method Detail |
|---|
public void addCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
listener - The listener is added.
public void broadcastEvent(String type,
M data)
type - Event typedata - Event datapublic void removeCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
listener - The listener will be removed.public CRUDLifecycleListener<M>[] findCRUDLifecycleListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||