Class ConversionScheduledWriter
java.lang.Object
org.nuxeo.ecm.automation.jaxrs.io.EntityWriter<ConversionScheduled>
org.nuxeo.ecm.restapi.jaxrs.io.conversion.ConversionScheduledWriter
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<ConversionScheduled>
- Since:
- 7.4
-
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
factory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
get the Entity type of the current entity type.protected void
writeEntityBody
(com.fasterxml.jackson.core.JsonGenerator jg, ConversionScheduled conversionScheduled) Write the body of the entity.Methods inherited from class org.nuxeo.ecm.automation.jaxrs.io.EntityWriter
getSize, isWriteable, writeEntity, writeTo
-
Field Details
-
ENTITY_TYPE
- See Also:
-
-
Constructor Details
-
ConversionScheduledWriter
public ConversionScheduledWriter()
-
-
Method Details
-
writeEntityBody
protected void writeEntityBody(com.fasterxml.jackson.core.JsonGenerator jg, ConversionScheduled conversionScheduled) throws IOException 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<ConversionScheduled>
- Throws:
IOException
-
getEntityType
Description copied from class:EntityWriter
get the Entity type of the current entity type. It MUST follow camelCase notation- Specified by:
getEntityType
in classEntityWriter<ConversionScheduled>
- Returns:
- the string representing the entity-type.
-