nl.surfnet.coin.shindig.spi
Class AppDataServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.shindig.spi.AppDataServiceImpl
All Implemented Interfaces:
AppDataService

@Component(value="appDataService")
@Transactional
public class AppDataServiceImpl
extends Object
implements AppDataService

Implementation of AppDataService


Constructor Summary
AppDataServiceImpl()
           
 
Method Summary
 Future<Void> deletePersonData(UserId userId, GroupId groupId, String appId, Set<String> fields, org.apache.shindig.auth.SecurityToken token)
           
 Future<org.apache.shindig.protocol.DataCollection> getPersonData(Set<UserId> userIds, GroupId groupId, String appId, Set<String> fields, org.apache.shindig.auth.SecurityToken token)
           
 void setOpenSocialId(OpenSocialValidator openSocialValidator)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 Future<Void> updatePersonData(UserId userId, 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

AppDataServiceImpl

public AppDataServiceImpl()
Method Detail

deletePersonData

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

getPersonData

public Future<org.apache.shindig.protocol.DataCollection> getPersonData(Set<UserId> userIds,
                                                                        GroupId groupId,
                                                                        String appId,
                                                                        Set<String> fields,
                                                                        org.apache.shindig.auth.SecurityToken token)
                                                                 throws org.apache.shindig.protocol.ProtocolException
Specified by:
getPersonData in interface AppDataService
Throws:
org.apache.shindig.protocol.ProtocolException

updatePersonData

public Future<Void> updatePersonData(UserId userId,
                                     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 AppDataService
Throws:
org.apache.shindig.protocol.ProtocolException

setOpenSocialId

public void setOpenSocialId(OpenSocialValidator openSocialValidator)
Parameters:
openSocialValidator - the openSocialId to set

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Parameters:
sessionFactory - the sessionFactory to set


Copyright © 2007-2012. All Rights Reserved.