org.exoplatform.social.opensocial.service
Class ExoPeopleService
java.lang.Object
org.exoplatform.social.opensocial.service.ExoService
org.exoplatform.social.opensocial.service.ExoPeopleService
- All Implemented Interfaces:
- org.apache.shindig.social.opensocial.spi.AppDataService, org.apache.shindig.social.opensocial.spi.PersonService
public class ExoPeopleService
- extends ExoService
- implements org.apache.shindig.social.opensocial.spi.PersonService, org.apache.shindig.social.opensocial.spi.AppDataService
The Class ExoPeopleService.
| Fields inherited from interface org.apache.shindig.social.opensocial.spi.PersonService |
ALL_FILTER, HAS_APP_FILTER, IS_WITH_FRIENDS_FILTER, TOP_FRIENDS_FILTER, TOP_FRIENDS_SORT |
|
Constructor Summary |
ExoPeopleService(com.google.inject.Injector injector)
Instantiates a new exo people service. |
|
Method Summary |
Future<Void> |
deletePersonData(org.apache.shindig.social.opensocial.spi.UserId user,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
|
Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Person>> |
getPeople(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
org.apache.shindig.social.opensocial.spi.CollectionOptions collectionOptions,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
|
Future<org.apache.shindig.social.opensocial.model.Person> |
getPerson(org.apache.shindig.social.opensocial.spi.UserId id,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
|
Future<org.apache.shindig.protocol.DataCollection> |
getPersonData(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
|
Future<Void> |
updatePersonData(org.apache.shindig.social.opensocial.spi.UserId user,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
Map<String,String> values,
org.apache.shindig.auth.SecurityToken token)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExoPeopleService
@Inject
public ExoPeopleService(com.google.inject.Injector injector)
- Instantiates a new exo people service.
- Parameters:
injector - the injector
getPeople
public Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Person>> getPeople(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
org.apache.shindig.social.opensocial.spi.CollectionOptions collectionOptions,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.protocol.ProtocolException
-
- Specified by:
getPeople in interface org.apache.shindig.social.opensocial.spi.PersonService
- Throws:
org.apache.shindig.protocol.ProtocolException
getPerson
public Future<org.apache.shindig.social.opensocial.model.Person> getPerson(org.apache.shindig.social.opensocial.spi.UserId id,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.protocol.ProtocolException
-
- Specified by:
getPerson in interface org.apache.shindig.social.opensocial.spi.PersonService
- Throws:
org.apache.shindig.protocol.ProtocolException
getPersonData
public Future<org.apache.shindig.protocol.DataCollection> getPersonData(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.protocol.ProtocolException
-
- Specified by:
getPersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
- Throws:
org.apache.shindig.protocol.ProtocolException
deletePersonData
public Future<Void> deletePersonData(org.apache.shindig.social.opensocial.spi.UserId user,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.protocol.ProtocolException
-
- Specified by:
deletePersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
- Throws:
org.apache.shindig.protocol.ProtocolException
updatePersonData
public Future<Void> updatePersonData(org.apache.shindig.social.opensocial.spi.UserId user,
org.apache.shindig.social.opensocial.spi.GroupId groupId,
String appId,
Set<String> fields,
Map<String,String> values,
org.apache.shindig.auth.SecurityToken token)
throws org.apache.shindig.protocol.ProtocolException
-
- Specified by:
updatePersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
- Throws:
org.apache.shindig.protocol.ProtocolException
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.