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 theCoreIODelegateto 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 StringgetEntityType()Deprecated.Returns the entity-type value of the list (ie: users, groups....)booleanisWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)Deprecated.protected voidwriteItem(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:EntityListWriterReturns the entity-type value of the list (ie: users, groups....)- Specified by:
getEntityTypein 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:
isWriteablein interfacejavax.ws.rs.ext.MessageBodyWriter<List<LogEntry>>- Overrides:
isWriteablein classEntityListWriter<LogEntry>
-
writeItem
protected void writeItem(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry item) throws IOExceptionDeprecated.Description copied from class:EntityListWriterWrites the item in a JsonGenerator.- Specified by:
writeItemin classEntityListWriter<LogEntry>- Throws:
IOException
-
-