2.17.2: 2011-06-17

net.sf.basedb.core.log.db
Class BioMaterialEventLogger

java.lang.Object
  extended by net.sf.basedb.core.log.db.BioMaterialEventLogger
All Implemented Interfaces:
EntityLogger

public class BioMaterialEventLogger
extends Object
implements 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: 2010-08-13 10:50:27 +0200 (Fri, 13 Aug 2010) $

Field Summary
private  boolean detailedProperties
           
 
Constructor Summary
BioMaterialEventLogger(boolean detailedProperties)
          Creates a new biomaterial event logger.
 
Method Summary
 void logChanges(LogManager logManager, EntityDetails details)
          Called when changes has been detected to an entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detailedProperties

private final boolean detailedProperties
Constructor Detail

BioMaterialEventLogger

public BioMaterialEventLogger(boolean detailedProperties)
Creates a new biomaterial event logger.

Parameters:
detailedProperties - If TRUE, the log includes a list with the properties that was modified
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 interface EntityLogger
Parameters:
logManager - The log manager for the current transaction
details - Detailed information about the entity that has changed

2.17.2: 2011-06-17