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
Modifier and Type Method Description void
logChanges(LogManager logManager, EntityDetails details)
Called when changes has been detected to an entity.
-
Field Details
-
factory
-
detailedProperties
private final boolean detailedProperties -
oldPropertyValues
private final boolean oldPropertyValues
-
-
Constructor Details
-
AnnotationSetLogger
-
-
Method Details
-
logChanges
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
-