Annotation Interface EnableArangoAuditing
@Inherited
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@Import(ArangoAuditingRegistrar.class)
public @interface EnableArangoAuditing
Annotation to activate auditing in ArangoDB via annotation configuration.
- Author:
- Mark Vollmary
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionConfigures theAuditorAwarebean to be used to lookup the current principal.Configures aDateTimeProviderbean name that allows customizing the timestamp to be used for setting creation and modification dates.booleanConfigures whether the entity shall be marked as modified on creation.booleanConfigures whether the creation and modification dates are set.
-
Element Details
-
auditorAwareRef
String auditorAwareRefConfigures theAuditorAwarebean to be used to lookup the current principal.- Default:
- ""
-
setDates
boolean setDatesConfigures whether the creation and modification dates are set. Defaults to true.- Default:
- true
-
modifyOnCreate
boolean modifyOnCreateConfigures whether the entity shall be marked as modified on creation. Defaults to true.- Default:
- true
-
dateTimeProviderRef
String dateTimeProviderRefConfigures aDateTimeProviderbean name that allows customizing the timestamp to be used for setting creation and modification dates.- Default:
- ""
-