public interface CRUDLifecycle<M>
| Modifier and Type | Field and Description |
|---|---|
static String |
AFTER_CREATE_EVENT
The CRUDLifecycleEvent type for the "component after create"
|
static String |
AFTER_DELETE_EVENT
The CRUDLifecycleEvent type for the "component after delete"
|
static String |
AFTER_UPDATE_EVENT
The CRUDLifecycleEvent type for the "component after update"
|
static String |
BEFORE_CREATE_EVENT
The CRUDLifecycleEvent type for the "component before create"
|
static String |
BEFORE_DELETE_EVENT
The CRUDLifecycleEvent type for the "component before delete"
|
static String |
BEFORE_UPDATE_EVENT
The CRUDLifecycleEvent type for the "component before update"
|
static String |
CREATE_EVENT
The CRUDLifecycleEvent type for the "component create" event.
|
static String |
DELETE_EVENT
The CRUDLifecycleEvent type for the "component delete" event.
|
static String |
UPDATE_EVENT
The CRUDLifecycleEvent type for the "component update" event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
Adds a CRUDLifecycleEvent listener to this component.
|
CRUDLifecycleListener<M>[] |
findCRUDLifecycleListeners()
Gets the lifecycle listeners associated with this lifecycle.
|
void |
removeCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
Removes a CRUDLifecycleEvent listener from this component.
|
static final String CREATE_EVENT
static final String BEFORE_CREATE_EVENT
static final String AFTER_CREATE_EVENT
static final String UPDATE_EVENT
static final String BEFORE_UPDATE_EVENT
static final String AFTER_UPDATE_EVENT
static final String DELETE_EVENT
static final String BEFORE_DELETE_EVENT
static final String AFTER_DELETE_EVENT
CRUDLifecycleListener<M>[] findCRUDLifecycleListeners()
void removeCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
listener - The listener to be removedvoid addCRUDLifecycleListener(CRUDLifecycleListener<M> listener)
listener - The listener to to be addedCopyright © 2011–2016 eXo Platform SAS. All rights reserved.