org.sakaiproject.profile2.logic
Class ProfileExternalIntegrationLogicImpl

java.lang.Object
  extended by org.sakaiproject.profile2.logic.ProfileExternalIntegrationLogicImpl
All Implemented Interfaces:
ProfileExternalIntegrationLogic

public class ProfileExternalIntegrationLogicImpl
extends Object
implements ProfileExternalIntegrationLogic

Implementation of ProfileExternalIntegrationLogic API

Author:
Steve Swinsburg (steve.swinsburg@gmail.com)

Constructor Summary
ProfileExternalIntegrationLogicImpl()
           
 
Method Summary
 ExternalIntegrationInfo getExternalIntegrationInfo(String userUuid)
          
 String getGoogleAuthenticationUrl()
          
 String getTwitterName(ExternalIntegrationInfo info)
          
 Map<String,String> getTwitterOAuthConsumerDetails()
          
 void sendMessageToTwitter(String userUuid, String message)
          
 boolean updateExternalIntegrationInfo(ExternalIntegrationInfo info)
          
 boolean validateTwitterCredentials(ExternalIntegrationInfo info)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileExternalIntegrationLogicImpl

public ProfileExternalIntegrationLogicImpl()
Method Detail

getExternalIntegrationInfo

public ExternalIntegrationInfo getExternalIntegrationInfo(String userUuid)

Specified by:
getExternalIntegrationInfo in interface ProfileExternalIntegrationLogic

updateExternalIntegrationInfo

public boolean updateExternalIntegrationInfo(ExternalIntegrationInfo info)

Specified by:
updateExternalIntegrationInfo in interface ProfileExternalIntegrationLogic

getTwitterOAuthConsumerDetails

public Map<String,String> getTwitterOAuthConsumerDetails()

Specified by:
getTwitterOAuthConsumerDetails in interface ProfileExternalIntegrationLogic

getTwitterName

public String getTwitterName(ExternalIntegrationInfo info)

Specified by:
getTwitterName in interface ProfileExternalIntegrationLogic

validateTwitterCredentials

public boolean validateTwitterCredentials(ExternalIntegrationInfo info)

Specified by:
validateTwitterCredentials in interface ProfileExternalIntegrationLogic

sendMessageToTwitter

public void sendMessageToTwitter(String userUuid,
                                 String message)

Specified by:
sendMessageToTwitter in interface ProfileExternalIntegrationLogic

getGoogleAuthenticationUrl

public String getGoogleAuthenticationUrl()

Specified by:
getGoogleAuthenticationUrl in interface ProfileExternalIntegrationLogic


Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.