NuxeoPrincipalListJsonWriter
which is registered by default and available to marshal
NuxeoPrincipal
's list from the Nuxeo Rest API thanks to the JAX-RS marshaller
JsonCoreIODelegate
@Deprecated @Provider public class NuxeoPrincipalListWriter extends EntityListWriter<NuxeoPrincipal>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE
Deprecated.
|
factory
Constructor and Description |
---|
NuxeoPrincipalListWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
Deprecated.
Returns the entity-type value of the list (ie: users, groups....)
|
protected void |
writeItem(org.codehaus.jackson.JsonGenerator jg,
NuxeoPrincipal item)
Deprecated.
Writes the item in a JsonGenerator.
|
isWriteable, writeEntityBody, writeHeader, writePaginableHeader
getSize, writeEntity, writeTo
public static final String ENTITY_TYPE
public NuxeoPrincipalListWriter()
protected String getEntityType()
EntityListWriter
getEntityType
in class EntityListWriter<NuxeoPrincipal>
protected void writeItem(org.codehaus.jackson.JsonGenerator jg, NuxeoPrincipal item) throws IOException
EntityListWriter
writeItem
in class EntityListWriter<NuxeoPrincipal>
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.