Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.audit.io
Class IOLogEntryBase

java.lang.Object
  extended by org.nuxeo.ecm.platform.audit.io.IOLogEntryBase

public class IOLogEntryBase
extends java.lang.Object

Audit log entry importer/exporter.

Could be overridden to externalize additional information of a redefined LogEntry.

Author:
DM

Field Summary
static java.lang.String DOCUMENT_TAG
           
static java.lang.String LOGENTRY_TAG
           
 
Constructor Summary
IOLogEntryBase()
           
 
Method Summary
static java.util.List<LogEntry> read(java.io.InputStream in)
           
static java.util.List<LogEntry> translate(java.util.List<LogEntry> docLogs, DocumentRef newRef)
           
static void write(java.util.List<LogEntry> logEntries, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOCUMENT_TAG

public static final java.lang.String DOCUMENT_TAG
See Also:
Constant Field Values

LOGENTRY_TAG

public static final java.lang.String LOGENTRY_TAG
See Also:
Constant Field Values
Constructor Detail

IOLogEntryBase

public IOLogEntryBase()
Method Detail

write

public static void write(java.util.List<LogEntry> logEntries,
                         java.io.OutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static java.util.List<LogEntry> read(java.io.InputStream in)
                                     throws java.io.IOException
Throws:
java.io.IOException

translate

public static java.util.List<LogEntry> translate(java.util.List<LogEntry> docLogs,
                                                 DocumentRef newRef)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.