Class LogEntryWriter
- java.lang.Object
-
- org.nuxeo.ecm.automation.jaxrs.io.EntityWriter<LogEntry>
-
- org.nuxeo.ecm.automation.jaxrs.io.audit.LogEntryWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<LogEntry>
@Deprecated @Provider public class LogEntryWriter extends EntityWriter<LogEntry>
Deprecated.since 7.10 this marshaller was migrated to org.nuxeo.ecm.platform.audit.io.LogEntryJsonWriter. To use it in JAX-RS, register theCoreIODelegate
to forward the JAX-RS marshalling to nuxeo-core-io.- Since:
- 5.7.3 - LogEntry Writer for Audit.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_TYPE
Deprecated.-
Fields inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
factory
-
-
Constructor Summary
Constructors Constructor Description LogEntryWriter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getEntityType()
Deprecated.get the Entity type of the current entity type.protected void
writeEntityBody(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry)
Deprecated.Write the body of the entity.protected void
writeExtendedInfo(com.fasterxml.jackson.core.JsonGenerator jg, String key, Serializable value)
Deprecated.protected void
writeExtendedInfos(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry)
Deprecated.-
Methods inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
getSize, isWriteable, writeEntity, writeTo
-
-
-
-
Field Detail
-
ENTITY_TYPE
public static final String ENTITY_TYPE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityType
protected String getEntityType()
Deprecated.Description copied from class:EntityWriter
get the Entity type of the current entity type. It MUST follow camelCase notation- Specified by:
getEntityType
in classEntityWriter<LogEntry>
- Returns:
- the string representing the entity-type.
-
writeEntityBody
protected void writeEntityBody(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
Deprecated.Description copied from class:EntityWriter
Write the body of the entity. The object has already been opened and it entity-type rendered.- Specified by:
writeEntityBody
in classEntityWriter<LogEntry>
- Throws:
IOException
-
writeExtendedInfos
protected void writeExtendedInfos(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
Deprecated.- Throws:
IOException
-
writeExtendedInfo
protected void writeExtendedInfo(com.fasterxml.jackson.core.JsonGenerator jg, String key, Serializable value) throws IOException
Deprecated.- Throws:
IOException
-
-