@Provider public class NuxeoPrincipalListWriter extends EntityListWriter<NuxeoPrincipal>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE |
factory
Constructor and Description |
---|
NuxeoPrincipalListWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
Returns the entity-type value of the list (ie: users, groups....)
|
protected void |
writeItem(org.codehaus.jackson.JsonGenerator jg,
NuxeoPrincipal item)
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.