com.atlassian.gadgets.opensocial.internal
Class ShindigPersonServiceImpl
java.lang.Object
com.atlassian.gadgets.opensocial.internal.ShindigPersonServiceImpl
- All Implemented Interfaces:
- org.apache.shindig.social.opensocial.spi.PersonService
public class ShindigPersonServiceImpl
- extends Object
- implements org.apache.shindig.social.opensocial.spi.PersonService
A service adapter that handles Shindig PersonService
requests and maps them to PersonService
requests.
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.spi.PersonService |
org.apache.shindig.social.opensocial.spi.PersonService.FilterOperation, org.apache.shindig.social.opensocial.spi.PersonService.SortOrder |
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 |
Method Summary |
Future<org.apache.shindig.social.opensocial.spi.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShindigPersonServiceImpl
public ShindigPersonServiceImpl(PersonService personService,
com.atlassian.sal.api.transaction.TransactionTemplate txTemplate)
getPeople
public Future<org.apache.shindig.social.opensocial.spi.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.social.opensocial.spi.SocialSpiException
- Specified by:
getPeople
in interface org.apache.shindig.social.opensocial.spi.PersonService
- Throws:
org.apache.shindig.social.opensocial.spi.SocialSpiException
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.social.opensocial.spi.SocialSpiException
- Specified by:
getPerson
in interface org.apache.shindig.social.opensocial.spi.PersonService
- Throws:
org.apache.shindig.social.opensocial.spi.SocialSpiException
Copyright © 2009 Atlassian. All Rights Reserved.