Package org.nuxeo.ecm.platform.audit.io
Class LogEntryCSVWriter
- java.lang.Object
-
- org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter<LogEntry>
-
- org.nuxeo.ecm.platform.audit.io.LogEntryCSVWriter
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>DEFAULT_PROPERTIES-
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter
ctx, registry, schemaManager, TEXT_CSV, TEXT_CSV_TYPE
-
-
Constructor Summary
Constructors Constructor Description LogEntryCSVWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static List<String>getPropertiesToFetch(RenderingContext ctx)Gets the properties to fetch if specified.protected voidwrite(LogEntry entity, org.apache.commons.csv.CSVPrinter printer)static voidwriteHeader(org.apache.commons.csv.CSVPrinter printer, RenderingContext ctx)protected voidwriteHeader(LogEntry entity, org.apache.commons.csv.CSVPrinter printer)-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter
accept, getCSVPrinter, printCalendar, write
-
-
-
-
Method Detail
-
write
protected void write(LogEntry entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
- Specified by:
writein classAbstractCSVWriter<LogEntry>- Throws:
IOException
-
writeHeader
protected void writeHeader(LogEntry entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
- Specified by:
writeHeaderin classAbstractCSVWriter<LogEntry>- Throws:
IOException
-
getPropertiesToFetch
protected static List<String> getPropertiesToFetch(RenderingContext ctx)
Gets the properties to fetch if specified. Otherwise returns all default properties.- Returns:
- the list of properties to fetch
-
writeHeader
public static void writeHeader(org.apache.commons.csv.CSVPrinter printer, RenderingContext ctx) throws IOException- Throws:
IOException
-
-