Package nl.gx.webmanager.services.event
Interface EntityEvent
-
- All Superinterfaces:
Event
- All Known Implementing Classes:
ElementEvent
,MediaItemEvent
,MediaItemVersionEvent
,PageEvent
,PageModelEvent
,PageVersionEvent
,WebsiteEvent
public interface EntityEvent extends Event
Events specific to CRUD operations. Usually associated with Entity and Persistence Managers.- Author:
- nikolam.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.gx.webmanager.services.event.Event
Event.Type
-
-
Field Summary
Fields Modifier and Type Field Description static String
COPY
Object was copied.static String
CREATE
Creation of a new object.static String
DELETE
Object was deleted.static String
MOVE
Object was moved.static String
RETRIEVE
Object retrieved from repository.static String
TOUCHED
Object was touched.static String
UPDATE
Object was updated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getEntity()
Return the (new) entity on which the action was performed.-
Methods inherited from interface nl.gx.webmanager.services.event.Event
getEventAction, getEventType, getScope, getSource
-
-
-
-
Field Detail
-
CREATE
static final String CREATE
Creation of a new object.- See Also:
- Constant Field Values
-
RETRIEVE
static final String RETRIEVE
Object retrieved from repository.- See Also:
- Constant Field Values
-
UPDATE
static final String UPDATE
Object was updated.- See Also:
- Constant Field Values
-
DELETE
static final String DELETE
Object was deleted.- See Also:
- Constant Field Values
-
MOVE
static final String MOVE
Object was moved.- See Also:
- Constant Field Values
-
COPY
static final String COPY
Object was copied.- See Also:
- Constant Field Values
-
TOUCHED
static final String TOUCHED
Object was touched.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntity
Object getEntity()
Return the (new) entity on which the action was performed.- Returns:
- get the entity this event refers to.
-
-