com.atlassian.gadgets.opensocial.internal
Class ShindigAppDataServiceImpl

java.lang.Object
  extended by com.atlassian.gadgets.opensocial.internal.ShindigAppDataServiceImpl
All Implemented Interfaces:
org.apache.shindig.social.opensocial.spi.AppDataService

public class ShindigAppDataServiceImpl
extends Object
implements org.apache.shindig.social.opensocial.spi.AppDataService

A service adapter that handles org.apache.shindig.social.opensocial.spi.AppDataService and maps them to com.atlassian.gadgets.opensocial.spi.AppDataService requests


Constructor Summary
ShindigAppDataServiceImpl(AppDataService appDataService, PersonService personService, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate, com.atlassian.sal.api.ApplicationProperties applicationProperties)
           
 
Method Summary
 Future<Void> deletePersonData(org.apache.shindig.social.opensocial.spi.UserId userId, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> fields, org.apache.shindig.auth.SecurityToken token)
           
 Future<org.apache.shindig.social.opensocial.spi.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 userId, 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
 

Constructor Detail

ShindigAppDataServiceImpl

public ShindigAppDataServiceImpl(AppDataService appDataService,
                                 PersonService personService,
                                 com.atlassian.sal.api.transaction.TransactionTemplate txTemplate,
                                 com.atlassian.sal.api.ApplicationProperties applicationProperties)
Method Detail

getPersonData

public Future<org.apache.shindig.social.opensocial.spi.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.social.opensocial.spi.SocialSpiException
Specified by:
getPersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
Throws:
org.apache.shindig.social.opensocial.spi.SocialSpiException

deletePersonData

public Future<Void> deletePersonData(org.apache.shindig.social.opensocial.spi.UserId userId,
                                     org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                     String appId,
                                     Set<String> fields,
                                     org.apache.shindig.auth.SecurityToken token)
                              throws org.apache.shindig.social.opensocial.spi.SocialSpiException
Specified by:
deletePersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
Throws:
org.apache.shindig.social.opensocial.spi.SocialSpiException

updatePersonData

public Future<Void> updatePersonData(org.apache.shindig.social.opensocial.spi.UserId userId,
                                     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.social.opensocial.spi.SocialSpiException
Specified by:
updatePersonData in interface org.apache.shindig.social.opensocial.spi.AppDataService
Throws:
org.apache.shindig.social.opensocial.spi.SocialSpiException


Copyright © 2009 Atlassian. All Rights Reserved.