Class PersistenceEvent

    • Constructor Detail

      • PersistenceEvent

        public PersistenceEvent​(SessionConfig sessionConfig,
                                java.lang.Class<?> entityClass,
                                java.util.Collection<?> entities,
                                boolean before,
                                ITransaction transaction)
    • Method Detail

      • getEntities

        public java.util.Collection<?> getEntities()
        Returns the entities affected by this persistence event.
        Returns:
        the entities.
        Since:
        4.1.0
      • isBefore

        public boolean isBefore()
        Indicates if this event was sent before the corresponding operation.
        Returns:
        true if this event was sent before, or false if this event was sent after the corresponding operation.
        Since:
        4.1.0