@Setup(mode=SINGLETON, priority=2000) public class NuxeoGroupJsonReader extends EntityJsonReader<NuxeoGroup>
NuxeoGroup.
Format is (any additional json property is ignored):
{
"entity-type":"group",
"groupname": "GROUP_NAME",
"grouplabel": "GROUP_DISPLAY_NAME",
"memberUsers": [
"USERNAME1",
"USERNAME2",
...
],
"memberGroups": [
"GROUPNAME1",
"GROUPNAME2",
...
]
}
ctx, registry| Constructor and Description |
|---|
NuxeoGroupJsonReader() |
| Modifier and Type | Method and Description |
|---|---|
protected NuxeoGroup |
readEntity(org.codehaus.jackson.JsonNode jn)
Implement this method to read the entity.
|
readaccept, getNode, getStringField, read, readEntitypublic NuxeoGroupJsonReader()
protected NuxeoGroup readEntity(org.codehaus.jackson.JsonNode jn) throws IOException
EntityJsonReaderreadEntity in class EntityJsonReader<NuxeoGroup>jn - A JsonNode pointing at the root of the json input.IOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.