Class DataSourceModifiedEvent

    • Constructor Detail

      • DataSourceModifiedEvent

        public DataSourceModifiedEvent​(Datenquelle 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 interface IEntityModifiedEvent<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 interface IEntityModifiedEvent<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
        Returns:
        The entity that was changed.