public class PersonHandler extends Object
| Constructor and Description |
|---|
PersonHandler(PersonService personService,
ContainerConfig config,
CollectionOptionsFactory collectionOptionsFactory) |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
get(SocialRequestItem request)
Allowed end-points /people/{userId}+/{groupId} /people/{userId}/{groupId}/{optionalPersonId}+
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self
|
List<Object> |
supportedFields(RequestItem request) |
Future<?> |
update(SocialRequestItem request)
Allowed end-points /people/{userId}/{groupId}
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self
|
@Inject public PersonHandler(PersonService personService, ContainerConfig config, CollectionOptionsFactory collectionOptionsFactory)
public Future<?> get(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> update(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic List<Object> supportedFields(RequestItem request)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.