Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class IOLogEntryBase
extends Object

Audit log entry importer/exporter.

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

Author:
DM

Field Summary
static String DOCUMENT_TAG
           
static String LOGENTRY_TAG
           
 
Constructor Summary
IOLogEntryBase()
           
 
Method Summary
static List<LogEntry> read(InputStream in)
           
static List<LogEntry> translate(List<LogEntry> docLogs, DocumentRef newRef)
           
static void write(List<LogEntry> logEntries, 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 String DOCUMENT_TAG
See Also:
Constant Field Values

LOGENTRY_TAG

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

IOLogEntryBase

public IOLogEntryBase()
Method Detail

write

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

read

public static List<LogEntry> read(InputStream in)
                           throws IOException
Throws:
IOException

translate

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.