Interface EntityTrackingRevisionListener

    • Method Detail

      • entityChanged

        void entityChanged​(Class entityClass,
                           String entityName,
                           Object entityId,
                           RevisionType revisionType,
                           Object revisionEntity)
        Called after audited entity data has been persisted.
        Parameters:
        entityClass - Audited entity class.
        entityName - Name of the audited entity. May be useful when Java class is mapped multiple times, potentially to different tables.
        entityId - Identifier of modified entity.
        revisionType - Modification type (addition, update or removal).
        revisionEntity - An instance of the entity annotated with RevisionEntity.