Class BioMaterialEventLogger

java.lang.Object
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: 2013-11-25 09:20:23 +0100 (må, 25 nov 2013) $
  • Field Details

    • factory

      private final DbLogManagerFactory factory
    • detailedProperties

      private final boolean detailedProperties
    • oldPropertyValues

      private final boolean oldPropertyValues
  • Constructor Details

    • BioMaterialEventLogger

      public BioMaterialEventLogger(DbLogManagerFactory factory)
      Creates a new biomaterial event logger.
      Parameters:
      factory - The log manager factory
  • Method Details

    • 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