Package de.xima.fc.gui.event.entity
Class DatabaseConnectionModifiedEvent
- java.lang.Object
-
- de.xima.fc.gui.event.entity.DatabaseConnectionModifiedEvent
-
- All Implemented Interfaces:
IApplicationEvent
,IEntityModifiedEvent<DatenbankZugriff>
,Serializable
public class DatabaseConnectionModifiedEvent extends Object
Event for when an entity was modified, either when it was created, updated, or deleted.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseConnectionModifiedEvent(DatenbankZugriff entity, de.xima.cmn.dao.enums.EDaoAction action, IEntityContext ec)
Creates a new entity POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.xima.cmn.dao.enums.EDaoAction
getAction()
E
getEntity()
IEntityContext
getEntityContext()
-
-
-
Constructor Detail
-
DatabaseConnectionModifiedEvent
public DatabaseConnectionModifiedEvent(DatenbankZugriff entity, de.xima.cmn.dao.enums.EDaoAction action, IEntityContext ec)
Creates a new entity POJO with the given data.- Parameters:
entity
- Entity that was modified.action
- Whether the entity was created, updated, or deleted.ec
- Current entity context.
-
-
Method Detail
-
getAction
public de.xima.cmn.dao.enums.EDaoAction getAction()
- Specified by:
getAction
in interfaceIEntityModifiedEvent<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Returns:
- Whether the entity was created, updated, or deleted.
-
getEntity
public E getEntity()
- Specified by:
getEntity
in interfaceIEntityModifiedEvent<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Returns:
- The entity that was changed.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContext
in interfaceIEntityModifiedEvent<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Returns:
- The current entity context.
-
-