Class LogEntryListWriter
- java.lang.Object
-
- org.nuxeo.ecm.automation.jaxrs.io.EntityWriter<List<T>>
-
- org.nuxeo.ecm.automation.jaxrs.io.EntityListWriter<LogEntry>
-
- org.nuxeo.ecm.automation.jaxrs.io.audit.LogEntryListWriter
-
@Deprecated @Provider public class LogEntryListWriter extends EntityListWriter<LogEntry>
Deprecated.since 7.2 this marshaller was migrated to org.nuxeo.ecm.platform.audit.io.LogEntryListJsonWriter. To use it in JAX-RS, register theCoreIODelegate
to forward the JAX-RS marshalling to nuxeo-core-io.- Since:
- 5.7.3 - LogEntries Writer for Audit
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
factory
-
-
Constructor Summary
Constructors Constructor Description LogEntryListWriter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getEntityType()
Deprecated.Returns the entity-type value of the list (ie: users, groups....)boolean
isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
Deprecated.protected void
writeItem(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry item)
Deprecated.Writes the item in a JsonGenerator.-
Methods inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityListWriter
writeEntityBody, writeHeader, writePaginableHeader
-
Methods inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
getSize, writeEntity, writeTo
-
-
-
-
Method Detail
-
getEntityType
protected String getEntityType()
Deprecated.Description copied from class:EntityListWriter
Returns the entity-type value of the list (ie: users, groups....)- Specified by:
getEntityType
in classEntityListWriter<LogEntry>
- Returns:
- the string representing the entity-type.
-
isWriteable
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
Deprecated.- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<List<LogEntry>>
- Overrides:
isWriteable
in classEntityListWriter<LogEntry>
-
writeItem
protected void writeItem(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry item) throws IOException
Deprecated.Description copied from class:EntityListWriter
Writes the item in a JsonGenerator.- Specified by:
writeItem
in classEntityListWriter<LogEntry>
- Throws:
IOException
-
-