|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AppDataManager
This interface handles appData related to people
Implement this interface to according to the persistence storage of social data
| Method Summary | |
|---|---|
void |
deletePersonData(String userId,
String groupId,
String appId,
Set<String> fields)
Deletes data for the specified user and group |
Map<String,Map<String,String>> |
getPersonData(String[] userIds,
String groupId,
String appId,
Set<String> fields)
Retrieves app data for the specified user list and group |
void |
savePersonData(String userId,
String appId,
Map<String,String> values)
Save app data for the specified user with the given values |
void |
updatePersonData(String userId,
String groupId,
String appId,
Set<String> fields,
Map<String,String> values)
Updates app data for the specified user and group with the new values |
| Method Detail |
|---|
Map<String,Map<String,String>> getPersonData(String[] userIds,
String groupId,
String appId,
Set<String> fields)
throws SocialDataException
userIds - A set of userIds whose app data to be retrievedgroupId - The groupappId - The appfields - The fields to return
SocialDataException
void deletePersonData(String userId,
String groupId,
String appId,
Set<String> fields)
throws SocialDataException
userId - The userId of the person whose app data to be removedgroupId - The groupappId - The appfields - The fields to delete. Empty implies all
SocialDataException
void updatePersonData(String userId,
String groupId,
String appId,
Set<String> fields,
Map<String,String> values)
throws SocialDataException
userId - The userId of the person whose app data to be modifiedgroupId - The groupappId - The appfields - The fields to update. Empty implies allvalues - The new values to set
SocialDataException
void savePersonData(String userId,
String appId,
Map<String,String> values)
throws SocialDataException
userId - The userId of the person whose app data to be modifiedappId - The appvalues - The new values to set
SocialDataException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||