Class EntityNewEvent

  • public class EntityNewEvent
    extends EntityPersistenceEvent
    The event object send out when an entity gets saved for the first time. To receive this event, create a class with a method which has this signature: public void onSave(@Observes EntityNewEvent event) { Note, the method name is unimportant, the @Observes EntityNewEvent specifies that this method will be called before persisting a new instance.
    • Constructor Detail

      • EntityNewEvent

        public EntityNewEvent()