Package net.sf.basedb.core.log.db
Class AnnotationSetLogger
- java.lang.Object
-
- net.sf.basedb.core.log.db.AnnotationSetLogger
-
- All Implemented Interfaces:
EntityLogger
public class AnnotationSetLogger extends Object implements EntityLogger
Logger for annotations sets that detects and logs changes to inherited anntations as updates to the parent item that are inheriting the annotations.- Version:
- 2.13
- Author:
- Nicklas
- Last modified
- $Date: 2017-05-22 14:35:27 +0200 (må, 22 maj 2017) $
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
detailedProperties
private DbLogManagerFactory
factory
private boolean
oldPropertyValues
-
Constructor Summary
Constructors Constructor Description AnnotationSetLogger(DbLogManagerFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logChanges(LogManager logManager, EntityDetails details)
Called when changes has been detected to an entity.
-
-
-
Field Detail
-
factory
private final DbLogManagerFactory factory
-
detailedProperties
private final boolean detailedProperties
-
oldPropertyValues
private final boolean oldPropertyValues
-
-
Constructor Detail
-
AnnotationSetLogger
public AnnotationSetLogger(DbLogManagerFactory factory)
-
-
Method Detail
-
logChanges
public void logChanges(LogManager logManager, EntityDetails details)
Description copied from interface:EntityLogger
Called when changes has been detected to an entity.- Specified by:
logChanges
in interfaceEntityLogger
- Parameters:
logManager
- The log manager for the current transactiondetails
- Detailed information about the entity that has changed
-
-