|
||||||||||
| 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 | |
|---|---|
java.util.concurrent.Future<java.lang.Void> |
deletePersonData(UserId userId,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.String> fields,
SecurityToken token)
Deletes data for the specified user and group. |
java.util.concurrent.Future<DataCollection> |
getPersonData(java.util.Set<UserId> userIds,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.String> fields,
SecurityToken token)
Retrives app data for the specified user list and group. |
java.util.concurrent.Future<java.lang.Void> |
updatePersonData(UserId userId,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.String> fields,
java.util.Map<java.lang.String,java.lang.String> values,
SecurityToken token)
Updates app data for the specified user and group with the new values. |
| Method Detail |
|---|
java.util.concurrent.Future<DataCollection> getPersonData(java.util.Set<UserId> userIds,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.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
java.util.concurrent.Future<java.lang.Void> deletePersonData(UserId userId,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.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
java.util.concurrent.Future<java.lang.Void> updatePersonData(UserId userId,
GroupId groupId,
java.lang.String appId,
java.util.Set<java.lang.String> fields,
java.util.Map<java.lang.String,java.lang.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 | |||||||||