@Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) public @interface Audited
Modifier and Type | Optional Element and Description |
---|---|
Class[] |
auditParents
Deprecated.
Use
@AuditOverride(forClass=SomeEntity.class) instead. |
ModificationStore |
modStore |
RelationTargetAuditMode |
targetAuditMode |
boolean |
withModifiedFlag |
public abstract ModificationStore modStore
public abstract RelationTargetAuditMode targetAuditMode
public abstract Class[] auditParents
@AuditOverride(forClass=SomeEntity.class)
instead.Audited
. Causes all properties of the listed classes to be audited, just as if the
classes had Audited
annotation applied on the class level.
The scope of this functionality is limited to the class hierarchy of the annotated entity.
If a parent type lists any of its parent types using this attribute, all properties in the specified classes
will also be audited.public abstract boolean withModifiedFlag
Copyright © 2018 JBoss by Red Hat. All rights reserved.