|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.auditing.config.AnnotationAuditingConfiguration
public class AnnotationAuditingConfiguration
Default implementation for AuditingConfiguration.
| Constructor Summary | |
|---|---|
AnnotationAuditingConfiguration(AnnotationMetadata metadata,
Class<? extends Annotation> annotation)
Creates a new instance of AnnotationAuditingConfiguration for the given AnnotationMetadata and
annotation type. |
|
| Method Summary | |
|---|---|
String |
getAuditorAwareRef()
Returns the bean name of the AuditorAware instance to be used.. |
String |
getDateTimeProviderRef()
Returns the bean name of the DateTimeProvider to be used. |
boolean |
isModifyOnCreate()
Returns whether the entity shall be marked as modified on creation. |
boolean |
isSetDates()
Returns whether the creation and modification dates shall be set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationAuditingConfiguration(AnnotationMetadata metadata,
Class<? extends Annotation> annotation)
AnnotationAuditingConfiguration for the given AnnotationMetadata and
annotation type.
metadata - must not be null.annotation - must not be null.| Method Detail |
|---|
public String getAuditorAwareRef()
AuditingConfigurationAuditorAware instance to be used..
getAuditorAwareRef in interface AuditingConfigurationpublic boolean isSetDates()
AuditingConfiguration
isSetDates in interface AuditingConfigurationpublic String getDateTimeProviderRef()
AuditingConfigurationDateTimeProvider to be used.
getDateTimeProviderRef in interface AuditingConfigurationpublic boolean isModifyOnCreate()
AuditingConfiguration
isModifyOnCreate in interface AuditingConfiguration
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||