NuxeoGroupJsonWriter
which is registered by default and available to marshal NuxeoGroup
from the Nuxeo Rest API thanks to the JAX-RS marshaller JsonCoreIODelegate
@Deprecated @Provider public class NuxeoGroupWriter extends EntityWriter<NuxeoGroup>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE
Deprecated.
|
factory
Constructor and Description |
---|
NuxeoGroupWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
Deprecated.
get the Entity type of the current entity type.
|
void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
NuxeoGroup group)
Deprecated.
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public NuxeoGroupWriter()
public void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, NuxeoGroup group) throws org.codehaus.jackson.JsonGenerationException, IOException
EntityWriter
writeEntityBody
in class EntityWriter<NuxeoGroup>
createGenerator
- group
- IOException
org.codehaus.jackson.JsonGenerationException
protected String getEntityType()
EntityWriter
getEntityType
in class EntityWriter<NuxeoGroup>
Copyright © 2015 Nuxeo SA. All rights reserved.