Annotation Interface EnableReactiveCouchbaseAuditing


@Inherited @Documented @Target(TYPE) @Retention(RUNTIME) @Import(org.springframework.data.couchbase.repository.auditing.ReactiveCouchbaseAuditingRegistrar.class) public @interface EnableReactiveCouchbaseAuditing
Annotation to enable auditing in Couchbase using reactive infrastructure via annotation configuration.
Since:
4.2
Author:
Jorge Rodríguez Martín
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configures the ReactiveAuditorAware bean to be used to lookup the current principal.
    Configures a DateTimeProvider bean name that allows customizing the timestamp 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 ReactiveAuditorAware bean to be used to lookup the current principal.
      Returns:
      empty String by default.
      Default:
      ""
    • setDates

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

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

      String dateTimeProviderRef
      Configures a DateTimeProvider bean name that allows customizing the timestamp to be used for setting creation and modification dates.
      Returns:
      empty String by default.
      Default:
      ""