public interface AppDataService
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
deletePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Deletes data for the specified user and group.
|
Future<DataCollection> |
getPersonData(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Retrives app data for the specified user list and group.
|
Future<Void> |
updatePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
Map<String,String> values,
SecurityToken token)
Updates app data for the specified user and group with the new values.
|
Future<DataCollection> getPersonData(Set<UserId> userIds, GroupId groupId, String appId, Set<String> fields, SecurityToken token) throws ProtocolException
userIds - A set of UserIds.groupId - The groupappId - The appfields - The fields to filter the data by. Empty set implies alltoken - The security tokenProtocolExceptionFuture<Void> deletePersonData(UserId userId, GroupId groupId, String appId, Set<String> fields, SecurityToken token) throws ProtocolException
userId - The usergroupId - The groupappId - The appfields - The fields to delete. Empty set implies alltoken - The security tokenProtocolExceptionFuture<Void> updatePersonData(UserId userId, GroupId groupId, String appId, Set<String> fields, Map<String,String> values, SecurityToken token) throws ProtocolException
userId - The usergroupId - The groupappId - The appfields - The fields to filter the data by. Empty set implies allvalues - The values to settoken - The security tokenProtocolExceptionCopyright © 2007-2012. All Rights Reserved.