Liferay 6.1.2-ce-ga3

com.liferay.portal.facebook
Class FacebookConnectImpl

java.lang.Object
  extended by com.liferay.portal.facebook.FacebookConnectImpl
All Implemented Interfaces:
FacebookConnect

public class FacebookConnectImpl
extends Object
implements FacebookConnect


Constructor Summary
FacebookConnectImpl()
           
 
Method Summary
 String getAccessToken(long companyId, String redirect, String code)
           
 String getAccessTokenURL(long companyId)
           
 String getAppId(long companyId)
           
 String getAppSecret(long companyId)
           
 String getAuthURL(long companyId)
           
 JSONObject getGraphResources(long companyId, String path, String accessToken, String fields)
           
 String getGraphURL(long companyId)
           
 String getProfileImageURL(PortletRequest portletRequest)
           
 String getRedirectURL(long companyId)
           
 boolean isEnabled(long companyId)
           
 boolean isVerifiedAccountRequired(long companyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacebookConnectImpl

public FacebookConnectImpl()
Method Detail

getAccessToken

public String getAccessToken(long companyId,
                             String redirect,
                             String code)
                      throws SystemException
Specified by:
getAccessToken in interface FacebookConnect
Throws:
SystemException

getAccessTokenURL

public String getAccessTokenURL(long companyId)
                         throws SystemException
Specified by:
getAccessTokenURL in interface FacebookConnect
Throws:
SystemException

getAppId

public String getAppId(long companyId)
                throws SystemException
Specified by:
getAppId in interface FacebookConnect
Throws:
SystemException

getAppSecret

public String getAppSecret(long companyId)
                    throws SystemException
Specified by:
getAppSecret in interface FacebookConnect
Throws:
SystemException

getAuthURL

public String getAuthURL(long companyId)
                  throws SystemException
Specified by:
getAuthURL in interface FacebookConnect
Throws:
SystemException

getGraphResources

public JSONObject getGraphResources(long companyId,
                                    String path,
                                    String accessToken,
                                    String fields)
Specified by:
getGraphResources in interface FacebookConnect

getGraphURL

public String getGraphURL(long companyId)
                   throws SystemException
Specified by:
getGraphURL in interface FacebookConnect
Throws:
SystemException

getProfileImageURL

public String getProfileImageURL(PortletRequest portletRequest)
Specified by:
getProfileImageURL in interface FacebookConnect

getRedirectURL

public String getRedirectURL(long companyId)
                      throws SystemException
Specified by:
getRedirectURL in interface FacebookConnect
Throws:
SystemException

isEnabled

public boolean isEnabled(long companyId)
                  throws SystemException
Specified by:
isEnabled in interface FacebookConnect
Throws:
SystemException

isVerifiedAccountRequired

public boolean isVerifiedAccountRequired(long companyId)
                                  throws SystemException
Specified by:
isVerifiedAccountRequired in interface FacebookConnect
Throws:
SystemException

Liferay 6.1.2-ce-ga3