M - The object which implements Model interfacepublic final class CRUDLifecycleEvent<M> extends Event
| Constructor and Description |
|---|
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.
|
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)public String getType()
public M getData()
public CRUDLifecycle<M> getSource()
Copyright © 2011–2015 eXo Platform SAS. All rights reserved.