public class AuditingHandler extends AuditingHandlerSupport implements InitializingBean
| コンストラクターと説明 |
|---|
AuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext) 使用すべきではありません。 代わりに AuditingHandler(PersistentEntities) を使用してください。 |
AuditingHandler(PersistentEntities entities) リフレクションを介して監査メタデータを検索するときに、指定された PersistentEntities を使用して新しい AuditableBeanWrapper を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
<T> T | markCreated(T source) 指定されたオブジェクトを作成済みとしてマークします。 |
<T> T | markModified(T source) 指定されたオブジェクトを変更済みとしてマークします。 |
void | setAuditorAware(AuditorAware<?> auditorAware)Setter は、 AuditorAware コンポーネントを挿入して、現在の監査人を取得します。 |
isAuditable, setDateTimeForNow, setDateTimeProvider, setModifyOnCreationcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE@DeprecatedSE public AuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
AuditingHandler(PersistentEntities) を使用してください。MappingContext を使用して新しい AuditableBeanWrapper を作成します。mappingContext - null であってはなりません。public AuditingHandler(PersistentEntities entities)
PersistentEntities を使用して新しい AuditableBeanWrapper を作成します。entities - null であってはなりません。public void setAuditorAware(AuditorAware<?> auditorAware)
AuditorAware コンポーネントを挿入して、現在の監査人を取得します。auditorAware - null であってはなりません。public <T> T markCreated(T source)
source -public <T> T markModified(T source)
source -public void afterPropertiesSet()
InitializingBean 内の afterPropertiesSet Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.