public class AppDataHandler extends Object
| Constructor and Description |
|---|
AppDataHandler(AppDataService service) |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
create(SocialRequestItem request)
/appdata/{userId}/{groupId}/{appId} - fields={field1, field2}
examples: /appdata/john.doe/@friends/app?
|
Future<?> |
delete(SocialRequestItem request)
Allowed endpoints /appdata/{userId}/{groupId}/{appId} - fields={field1, field2}
examples: /appdata/john.doe/@friends/app?
|
Future<?> |
get(SocialRequestItem request)
/appdata/{userId}+/{groupId}/{appId} - fields={field1, field2}
examples: /appdata/john.doe/@friends/app?
|
static boolean |
isValidKey(String key)
Determines whether the input is a valid key.
|
Future<?> |
update(SocialRequestItem request)
Allowed endpoints /appdata/{userId}/{groupId}/{appId} - fields={field1, field2}
examples: /appdata/john.doe/@friends/app?
|
@Inject public AppDataHandler(AppDataService service)
public Future<?> delete(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> update(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> create(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> get(SocialRequestItem request) throws ProtocolException
ProtocolExceptionpublic static boolean isValidKey(String key)
key - the key to validate.Copyright © 2007-2012. All Rights Reserved.