Package net.sf.basedb.core.log.db
Class ManualEntryLogger
java.lang.Object
net.sf.basedb.core.log.db.ManualEntryLogger
- All Implemented Interfaces:
EntityLogger
Logger for manual entries. Note that this implementation will
ignore entries related to items not implementing the
LoggableData
interface.- Since:
- 3.9
- Author:
- Nicklas
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final DbLogManagerFactory
private final boolean
-
Constructor Summary
ConstructorDescriptionManualEntryLogger
(DbLogManagerFactory factory) Creates a new plate 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
-
ManualEntryLogger
Creates a new plate event logger.- Parameters:
factory
- The log manager factory currently in use
-
-
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
-