Class RestEntitySavedEvent<E>

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.event.AbstractEntityEvent
io.jmix.restds.event.RestEntitySavedEvent<E>
Type Parameters:
E - entity type
All Implemented Interfaces:
Serializable, org.springframework.core.ResolvableTypeProvider

public class RestEntitySavedEvent<E> extends AbstractEntityEvent
A Spring application event which is sent after the entity is saved to the REST data store.
See Also:
  • Constructor Details

    • RestEntitySavedEvent

      public RestEntitySavedEvent(Object source, MetaClass metaClass, E savedEntity, E returnedEntity, boolean isNewEntity)
  • Method Details

    • getSavedEntity

      public E getSavedEntity()
      The saved entity instance with the state right before sending to the data store.
    • getReturnedEntity

      public E getReturnedEntity()
      The entity instance returned from the data store after saving.
    • isNewEntity

      public boolean isNewEntity()