nl.surfnet.coin.shindig.oauth
Class CoinOAuthTokenInfo

java.lang.Object
  extended by nl.surfnet.coin.shindig.oauth.CoinOAuthTokenInfo
All Implemented Interfaces:
Serializable

public class CoinOAuthTokenInfo
extends Object
implements Serializable

Domain object to store OAuthStore.TokenInfo objects in the database

See Also:
Serialized Form

Field Summary
static String MODULE_ID
           
 
Constructor Summary
CoinOAuthTokenInfo()
           
CoinOAuthTokenInfo(org.apache.shindig.auth.SecurityToken securityToken, String serviceName, String tokenName, OAuthStore.TokenInfo tokenInfo)
           
 
Method Summary
 String getAccessToken()
           
 String getAppUrl()
           
 String getId()
           
 String getModuleId()
           
 String getServiceName()
           
 String getSessionHandle()
           
 long getTokenExpireMillis()
           
 String getTokenName()
           
 String getTokenSecret()
           
 String getUserId()
           
 void setAccessToken(String accessToken)
           
 void setAppUrl(String appUrl)
           
 void setId(String id)
           
 void setModuleId(String moduleId)
           
 void setServiceName(String serviceName)
           
 void setSessionHandle(String sessionHandle)
           
 void setTokenExpireMillis(long tokenExpireMillis)
           
 void setTokenName(String tokenName)
           
 void setTokenSecret(String tokenSecret)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_ID

public static final String MODULE_ID
See Also:
Constant Field Values
Constructor Detail

CoinOAuthTokenInfo

public CoinOAuthTokenInfo()

CoinOAuthTokenInfo

public CoinOAuthTokenInfo(org.apache.shindig.auth.SecurityToken securityToken,
                          String serviceName,
                          String tokenName,
                          OAuthStore.TokenInfo tokenInfo)
Method Detail

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getAccessToken

public String getAccessToken()
Returns:
the accessToken

setAccessToken

public void setAccessToken(String accessToken)
Parameters:
accessToken - the accessToken to set

getTokenSecret

public String getTokenSecret()
Returns:
the tokenSecret

setTokenSecret

public void setTokenSecret(String tokenSecret)
Parameters:
tokenSecret - the tokenSecret to set

getSessionHandle

public String getSessionHandle()
Returns:
the sessionHandle

setSessionHandle

public void setSessionHandle(String sessionHandle)
Parameters:
sessionHandle - the sessionHandle to set

getTokenExpireMillis

public long getTokenExpireMillis()
Returns:
the tokenExpireMillis

setTokenExpireMillis

public void setTokenExpireMillis(long tokenExpireMillis)
Parameters:
tokenExpireMillis - the tokenExpireMillis to set

getAppUrl

public String getAppUrl()
Returns:
the appUrl

setAppUrl

public void setAppUrl(String appUrl)
Parameters:
appUrl - the appUrl to set

getModuleId

public String getModuleId()
Returns:
the moduleId

setModuleId

public void setModuleId(String moduleId)
Parameters:
moduleId - the moduleId to set

getServiceName

public String getServiceName()
Returns:
the serviceName

setServiceName

public void setServiceName(String serviceName)
Parameters:
serviceName - the serviceName to set

getTokenName

public String getTokenName()
Returns:
the tokenName

setTokenName

public void setTokenName(String tokenName)
Parameters:
tokenName - the tokenName to set

getUserId

public String getUserId()
Returns:
the userId

setUserId

public void setUserId(String userId)
Parameters:
userId - the userId to set


Copyright © 2007-2012. All Rights Reserved.