Liferay 7.0-ce-m3

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)
Specified by:
getAccessToken in interface FacebookConnect

getAccessTokenURL

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

getAppId

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

getAppSecret

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

getAuthURL

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

getGraphResources

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

getGraphURL

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

getProfileImageURL

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

getRedirectURL

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

isEnabled

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

isVerifiedAccountRequired

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

Liferay 7.0-ce-m3