@Setup(mode=SINGLETON, priority=2000) public class UserProfileEnricher extends AbstractJsonEnricher<NuxeoPrincipal>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
ENTITY_ENRICHER_NAMEctx, registry| Constructor and Description |
|---|
UserProfileEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(org.codehaus.jackson.JsonGenerator jg,
NuxeoPrincipal nuxeoPrincipal)
When implementing this method, the provided
JsonGenerator expect you write a field name and a field value
(or many). |
accept, writegetGenerator, write, writeEntity, writeEntity, writeEntityFieldpublic static final String NAME
public UserProfileEnricher()
public void write(org.codehaus.jackson.JsonGenerator jg, NuxeoPrincipal nuxeoPrincipal) throws IOException
AbstractJsonEnricherJsonGenerator expect you write a field name and a field value
(or many).write in class AbstractJsonEnricher<NuxeoPrincipal>jg - The JsonGenerator to use.nuxeoPrincipal - The enriched entity.IOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.