nl.surfnet.coin.shindig.spi
Class TokenInfoServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.shindig.spi.TokenInfoServiceImpl
All Implemented Interfaces:
TokenInfoService

@Component(value="tokenInfoService")
@Transactional
public class TokenInfoServiceImpl
extends Object
implements TokenInfoService

Implementation of TokenInfoService based on hibernate


Constructor Summary
TokenInfoServiceImpl()
           
 
Method Summary
 void deleteCoinOAuthTokenInfo(String userId, String gadgetUri, String moduleId, String tokenName, String serviceName)
           
 CoinOAuthTokenInfo getCoinOAuthTokenInfo(String userId, String gadgetUri, String moduleId, String tokenName, String serviceName)
           
 void saveCoinOAuthTokenInfo(CoinOAuthTokenInfo tokenInfo)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenInfoServiceImpl

public TokenInfoServiceImpl()
Method Detail

setSessionFactory

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

getCoinOAuthTokenInfo

public CoinOAuthTokenInfo getCoinOAuthTokenInfo(String userId,
                                                String gadgetUri,
                                                String moduleId,
                                                String tokenName,
                                                String serviceName)
Specified by:
getCoinOAuthTokenInfo in interface TokenInfoService

saveCoinOAuthTokenInfo

public void saveCoinOAuthTokenInfo(CoinOAuthTokenInfo tokenInfo)
Specified by:
saveCoinOAuthTokenInfo in interface TokenInfoService

deleteCoinOAuthTokenInfo

public void deleteCoinOAuthTokenInfo(String userId,
                                     String gadgetUri,
                                     String moduleId,
                                     String tokenName,
                                     String serviceName)
Specified by:
deleteCoinOAuthTokenInfo in interface TokenInfoService


Copyright © 2007-2012. All Rights Reserved.