Annotation Type EnableCosmosAuditing

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String auditorAwareRef
      Configures the AuditorAware bean to be used to lookup the current principal.
      String dateTimeProviderRef
      Configures a DateTimeProvider bean name that allows customizing the DateTime to be used for setting creation and modification dates.
      boolean modifyOnCreate
      Configures whether the entity shall be marked as modified on creation.
      boolean setDates
      Configures whether the creation and modification dates are set.
    • Element Detail

      • auditorAwareRef

        String auditorAwareRef
        Configures the AuditorAware bean to be used to lookup the current principal.
        Returns:
        default empty string
        Default:
        ""
      • setDates

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

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

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