Annotation Interface Audit
Annotation that enables an audit trail for the annotated method and collects some data for it.
The actual storing of the audit information happens in the AuditAnnotationAspect.
- Author:
- Armin Müller
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe type of users for which the audit information should be recorded.The type of the audit event (e.g.The message to log in the audit trail.
-
Element Details
-
eventType
AuditEventType eventTypeThe type of the audit event (e.g. CREATE or DELETE).- Returns:
- the audit event type
- Default:
UNKNOWN
-
auditFor
AuditUserType auditForThe type of users for which the audit information should be recorded.- Returns:
- the audit user type
- Default:
ALL
-
message
String messageThe message to log in the audit trail.- Returns:
- the message
- Default:
""
-