com.shephertz.app42.paas.sdk.jme.social
Class Social

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.App42Response
      extended by com.shephertz.app42.paas.sdk.jme.social.Social

public class Social
extends App42Response

This class Manage the response which comes from App42 server and set, get values from the response.


Field Summary
 java.lang.String facebookAccessToken
           
 java.lang.String facebookAppId
           
 java.lang.String facebookAppSecret
           
 java.lang.String linkedinAccessToken
           
 java.lang.String linkedinAccessTokenSecret
           
 java.lang.String linkedinApiKey
           
 java.lang.String linkedinSecretKey
           
 java.lang.String status
           
 java.lang.String twitterAccessToken
           
 java.lang.String twitterAccessTokenSecret
           
 java.lang.String twitterConsumerKey
           
 java.lang.String twitterConsumerSecret
           
 java.lang.String userName
           
 
Constructor Summary
Social()
           
 
Method Summary
 java.lang.String getFacebookAccessToken()
          Returns the access token for the Facebook.
 java.lang.String getFacebookAppId()
          Returns the app id for the Facebook.
 java.lang.String getFacebookAppSecret()
          Returns the app secret for the Facebook.
 java.lang.String getLinkedinAccessToken()
          Returns the access token for the LinkedIn.
 java.lang.String getLinkedinAccessTokenSecret()
          Returns the access token secret for the LinkedIn.
 java.lang.String getLinkedinApiKey()
          Returns the api key for the LinkedIn.
 java.lang.String getLinkedinSecretKey()
          Returns the secret key for the LinkedIn.
 java.lang.String getStatus()
          Returns the status for the social.
 java.lang.String getTwitterAccessToken()
          Returns the access token for the Twitter.
 java.lang.String getTwitterAccessTokenSecret()
          Returns the access token secret for the Twitter.
 java.lang.String getTwitterConsumerKey()
          Returns the consumer key for the Twitter.
 java.lang.String getTwitterConsumerSecret()
          Returns the consumer secret key for the Twitter.
 java.lang.String getUserName()
          Returns the user name for the social.
 void setFacebookAccessToken(java.lang.String facebookAccessToken)
          Sets the access token for the Facebook.
 void setFacebookAppId(java.lang.String facebookAppId)
          Sets the app id for the Facebook.
 void setFacebookAppSecret(java.lang.String facebookAppSecret)
          Sets the app secret for the Facebook.
 void setLinkedinAccessToken(java.lang.String linkedinAccessToken)
          Sets the access token for the LinkedIn.
 void setLinkedinAccessTokenSecret(java.lang.String linkedinAccessTokenSecret)
          Sets the access token secret for the LinkedIn.
 void setLinkedinApiKey(java.lang.String linkedinApiKey)
          Sets the api key for the LinkedIn.
 void setLinkedinSecretKey(java.lang.String linkedinSecretKey)
          Sets the secret key for the LinkedIn.
 void setStatus(java.lang.String status)
          Sets the status for the social.
 void setTwitterAccessToken(java.lang.String twitterAccessToken)
          Sets the access token for the Twitter.
 void setTwitterAccessTokenSecret(java.lang.String twitterAccessTokenSecret)
          Sets the access token secret for the Twitter.
 void setTwitterConsumerKey(java.lang.String twitterConsumerKey)
          Sets the consumer key for the Twitter.
 void setTwitterConsumerSecret(java.lang.String twitterConsumerSecret)
          Sets the consumer secret key for the Twitter.
 void setUserName(java.lang.String userName)
          Sets the user name for the social.
 
Methods inherited from class com.shephertz.app42.paas.sdk.jme.App42Response
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

facebookAccessToken

public java.lang.String facebookAccessToken

facebookAppId

public java.lang.String facebookAppId

facebookAppSecret

public java.lang.String facebookAppSecret

linkedinAccessToken

public java.lang.String linkedinAccessToken

linkedinAccessTokenSecret

public java.lang.String linkedinAccessTokenSecret

linkedinApiKey

public java.lang.String linkedinApiKey

linkedinSecretKey

public java.lang.String linkedinSecretKey

status

public java.lang.String status

twitterAccessToken

public java.lang.String twitterAccessToken

twitterAccessTokenSecret

public java.lang.String twitterAccessTokenSecret

twitterConsumerKey

public java.lang.String twitterConsumerKey

twitterConsumerSecret

public java.lang.String twitterConsumerSecret

userName

public java.lang.String userName
Constructor Detail

Social

public Social()
Method Detail

getFacebookAccessToken

public java.lang.String getFacebookAccessToken()
Returns the access token for the Facebook.

Returns:
the access token for the Facebook.

getFacebookAppId

public java.lang.String getFacebookAppId()
Returns the app id for the Facebook.

Returns:
the app id for the Facebook.

getFacebookAppSecret

public java.lang.String getFacebookAppSecret()
Returns the app secret for the Facebook.

Returns:
the app secret for the Facebook.

getLinkedinAccessToken

public java.lang.String getLinkedinAccessToken()
Returns the access token for the LinkedIn.

Returns:
the access token for the LinkedIn.

getLinkedinAccessTokenSecret

public java.lang.String getLinkedinAccessTokenSecret()
Returns the access token secret for the LinkedIn.

Returns:
the access token secret for the LinkedIn.

getLinkedinApiKey

public java.lang.String getLinkedinApiKey()
Returns the api key for the LinkedIn.

Returns:
the api key for the LinkedIn.

getLinkedinSecretKey

public java.lang.String getLinkedinSecretKey()
Returns the secret key for the LinkedIn.

Returns:
the secret key for the LinkedIn.

getStatus

public java.lang.String getStatus()
Returns the status for the social.

Returns:
the status for the social.

getTwitterAccessToken

public java.lang.String getTwitterAccessToken()
Returns the access token for the Twitter.

Returns:
the access token for the Twitter.

getTwitterAccessTokenSecret

public java.lang.String getTwitterAccessTokenSecret()
Returns the access token secret for the Twitter.

Returns:
the access token secret for the Twitter.

getTwitterConsumerKey

public java.lang.String getTwitterConsumerKey()
Returns the consumer key for the Twitter.

Returns:
the consumer key for the Twitter.

getTwitterConsumerSecret

public java.lang.String getTwitterConsumerSecret()
Returns the consumer secret key for the Twitter.

Returns:
the consumer secret key for the Twitter.

getUserName

public java.lang.String getUserName()
Returns the user name for the social.

Returns:
the user name for the social.

setFacebookAccessToken

public void setFacebookAccessToken(java.lang.String facebookAccessToken)
Sets the access token for the Facebook.

Parameters:
facebookAccessToken - - Facebook Access Token that has been received after authorization

setFacebookAppId

public void setFacebookAppId(java.lang.String facebookAppId)
Sets the app id for the Facebook.

Parameters:
facebookAppId - - App id for linking to the facebook account

setFacebookAppSecret

public void setFacebookAppSecret(java.lang.String facebookAppSecret)
Sets the app secret for the Facebook.

Parameters:
facebookAppSecret - - App secret for linking to the facebook account

setLinkedinAccessToken

public void setLinkedinAccessToken(java.lang.String linkedinAccessToken)
Sets the access token for the LinkedIn.

Parameters:
linkedinAccessToken - - LinkedIn Access Token that has been received after authorization

setLinkedinAccessTokenSecret

public void setLinkedinAccessTokenSecret(java.lang.String linkedinAccessTokenSecret)
Sets the access token secret for the LinkedIn.

Parameters:
linkedinAccessTokenSecret - - LinkedIn Access Token Secret that has been received after authorization

setLinkedinApiKey

public void setLinkedinApiKey(java.lang.String linkedinApiKey)
Sets the api key for the LinkedIn.

Parameters:
linkedinApiKey - - Api key for linking to the linkedIn account

setLinkedinSecretKey

public void setLinkedinSecretKey(java.lang.String linkedinSecretKey)
Sets the secret key for the LinkedIn.

Parameters:
linkedinSecretKey - - Secret key for linking to the linkedIn account

setStatus

public void setStatus(java.lang.String status)
Sets the status for the social.

Parameters:
userName - - Status for the social account which has to be updated

setTwitterAccessToken

public void setTwitterAccessToken(java.lang.String twitterAccessToken)
Sets the access token for the Twitter.

Parameters:
twitterAccessToken - - Twitter Access Token that has been received after authorization

setTwitterAccessTokenSecret

public void setTwitterAccessTokenSecret(java.lang.String twitterAccessTokenSecret)
Sets the access token secret for the Twitter.

Parameters:
twitterAccessTokenSecret - - Twitter Access Token Secret that has been received after authorization

setTwitterConsumerKey

public void setTwitterConsumerKey(java.lang.String twitterConsumerKey)
Sets the consumer key for the Twitter.

Parameters:
twitterConsumerKey - - Consumer key for linking to the twitter account

setTwitterConsumerSecret

public void setTwitterConsumerSecret(java.lang.String twitterConsumerSecret)
Sets the consumer secret key for the Twitter.

Parameters:
twitterConsumerSecret - - Consumer secret for linking to the twitter account

setUserName

public void setUserName(java.lang.String userName)
Sets the user name for the social.

Parameters:
userName - - Name of the user whose social account to be linked