Annotation Interface EnableReactiveNeo4jAuditing


@Inherited @Documented @Target(TYPE) @Retention(RUNTIME) @Import(org.springframework.data.neo4j.config.ReactiveNeo4jAuditingRegistrar.class) public @interface EnableReactiveNeo4jAuditing
Annotation to enable auditing for SDN entities using reactive infrastructure via annotation configuration.
Since:
6.0
Author:
Michael J. Simons
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configures the AuditorAware bean to be used to look up the current principal.
    Configures a DateTimeProvider bean name that allows customizing actual date time class to be used for setting creation and modification dates.
    boolean
    Configures whether the entity shall be marked as modified on creation.
    boolean
    Configures whether the creation and modification dates are set.
  • Element Details

    • auditorAwareRef

      String auditorAwareRef
      Configures the AuditorAware bean to be used to look up the current principal.
      Returns:
      The name of the AuditorAware bean to be used to look up the current principal.
      Default:
      ""
    • setDates

      boolean setDates
      Configures whether the creation and modification dates are set. Defaults to true.
      Returns:
      whether to set the creation and modification dates.
      Default:
      true
    • modifyOnCreate

      boolean modifyOnCreate
      Configures whether the entity shall be marked as modified on creation. Defaults to true.
      Returns:
      whether to mark the entity as modified on creation.
      Default:
      true
    • dateTimeProviderRef

      String dateTimeProviderRef
      Configures a DateTimeProvider bean name that allows customizing actual date time class to be used for setting creation and modification dates.
      Returns:
      The name of the DateTimeProvider bean to provide the current date time for creation and modification dates.
      Default:
      ""