Package net.sf.basedb.core.log.db
Class BioMaterialEventLogger
java.lang.Object
net.sf.basedb.core.log.db.BioMaterialEventLogger
- All Implemented Interfaces:
EntityLogger
Logger for biomaterial events that logs UPDATE:s to
CREATION and HYBRIDIZATION events as updates to their
parent biomaterial/hybridization. OTHER events are not
logged.
- Version:
- 2.13
- Author:
- Nicklas
- Last modified
- $Date: 2013-11-25 09:20:23 +0100 (må, 25 nov 2013) $
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final DbLogManagerFactory
private final boolean
-
Constructor Summary
ConstructorDescriptionCreates a new biomaterial event logger. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
BioMaterialEventLogger
Creates a new biomaterial event logger.- Parameters:
factory
- The log manager factory
-
-
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
-