|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.opensocial.service.AppDataHandler
public class AppDataHandler
Handles REST/RPC requests for AppData
| Constructor Summary | |
|---|---|
AppDataHandler(AppDataService service)
|
|
| Method Summary | |
|---|---|
Future<?> |
create(SocialRequestItem request)
/appdata/{userId}/{groupId}/{appId} - fields={field1, field2} examples: /appdata/john.doe/@friends/app?fields=count /appdata/john.doe/@self/app The post data should be a regular json object. |
Future<?> |
delete(SocialRequestItem request)
Allowed endpoints /appdata/{userId}/{groupId}/{appId} - fields={field1, field2} examples: /appdata/john.doe/@friends/app?fields=count /appdata/john.doe/@self/app The post data should be a regular json object. |
Future<?> |
get(SocialRequestItem request)
/appdata/{userId}+/{groupId}/{appId} - fields={field1, field2} examples: /appdata/john.doe/@friends/app?fields=count /appdata/john.doe/@self/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?fields=count /appdata/john.doe/@self/app The post data should be a regular json object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public AppDataHandler(AppDataService service)
| Method Detail |
|---|
public Future<?> delete(SocialRequestItem request)
throws ProtocolException
ProtocolException
public Future<?> update(SocialRequestItem request)
throws ProtocolException
ProtocolException
public Future<?> create(SocialRequestItem request)
throws ProtocolException
ProtocolException
public Future<?> get(SocialRequestItem request)
throws ProtocolException
ProtocolExceptionpublic static boolean isValidKey(String key)
key - the key to validate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||