Class PostAddEvent

  • All Implemented Interfaces:
    IPortalEvent

    @StableMinor(version="16.0",
                 sinceVersion="4.2")
    public class PostAddEvent
    extends PersistenceEvent
    Event raised after the add of an entity to persistence.

    Note: A persistence event may have been generated during a JPA entity lifecycle callback. In such situations, JPA limitations (such as the application should not access EntityManager, other entities, or change relations) apply.

    Since:
    4.1.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Constructor Detail

      • PostAddEvent

        public PostAddEvent​(SessionConfig sessionConfig,
                            java.lang.Class<?> entityClass,
                            java.lang.Object entity,
                            ITransaction transaction)
      • PostAddEvent

        public PostAddEvent​(SessionConfig sessionConfig,
                            java.lang.Class<?> entityClass,
                            java.util.Collection<?> entities,
                            ITransaction transaction)