Package org.nuxeo.ecm.platform.audit.io
Class IOLogEntryBase
java.lang.Object
org.nuxeo.ecm.platform.audit.io.IOLogEntryBase
Audit log entry importer/exporter.
Could be overridden to externalize additional information of a redefined LogEntry.
- Author:
- DM
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static DateFormat
Specifies date-string conversion.read
(InputStream in) readDocument
(org.dom4j.Document doc) Will translate from a jdoc to a list of LogEntry objects.protected static LogEntry
readLogEntry
(AuditLogger audit, org.dom4j.Element logEntryElement) Could be overridden to get other (additional) data.translate
(List<LogEntry> docLogs, DocumentRef newRef) static void
write
(List<LogEntry> logEntries, OutputStream out) protected static void
writeLogEntry
(org.dom4j.Element logEntryElement, LogEntry logEntry) Could be overridden to put other (additional) data.protected static void
writeXML
(org.dom4j.Document doc, OutputStream out)
-
Field Details
-
DOCUMENT_TAG
- See Also:
-
LOGENTRY_TAG
- See Also:
-
-
Constructor Details
-
IOLogEntryBase
public IOLogEntryBase()
-
-
Method Details
-
write
- Throws:
IOException
-
writeLogEntry
Could be overridden to put other (additional) data. -
read
- Throws:
IOException
-
readDocument
Will translate from a jdoc to a list of LogEntry objects. -
readLogEntry
Could be overridden to get other (additional) data. -
getDateFormat
Specifies date-string conversion. -
writeXML
- Throws:
IOException
-
translate
-