|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AppDataService
Data Service SPI interface. This interface represents is used to retrieve information bound to a person, there are methods to update and delete data.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 token
ProtocolException
Future<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 token
ProtocolException
Future<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 token
ProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||