Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.facebook
Class FacebookConnectUtil

java.lang.Object
  extended by com.liferay.portal.kernel.facebook.FacebookConnectUtil

public class FacebookConnectUtil
extends Object


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

Constructor Detail

FacebookConnectUtil

public FacebookConnectUtil()
Method Detail

getAccessToken

public static String getAccessToken(long companyId,
                                    String redirect,
                                    String code)
                             throws SystemException
Throws:
SystemException

getAccessTokenURL

public static String getAccessTokenURL(long companyId)
                                throws SystemException
Throws:
SystemException

getAppId

public static String getAppId(long companyId)
                       throws SystemException
Throws:
SystemException

getAppSecret

public static String getAppSecret(long companyId)
                           throws SystemException
Throws:
SystemException

getAuthURL

public static String getAuthURL(long companyId)
                         throws SystemException
Throws:
SystemException

getFacebookConnect

public static FacebookConnect getFacebookConnect()

getGraphResources

public static JSONObject getGraphResources(long companyId,
                                           String path,
                                           String accessToken,
                                           String fields)

getGraphURL

public static String getGraphURL(long companyId)
                          throws SystemException
Throws:
SystemException

getProfileImageURL

public static String getProfileImageURL(PortletRequest portletRequest)

getRedirectURL

public static String getRedirectURL(long companyId)
                             throws SystemException
Throws:
SystemException

isEnabled

public static boolean isEnabled(long companyId)
                         throws SystemException
Throws:
SystemException

isVerifiedAccountRequired

public static boolean isVerifiedAccountRequired(long companyId)
                                         throws SystemException
Throws:
SystemException

setFacebookConnect

public void setFacebookConnect(FacebookConnect facebookConnect)

Liferay 6.1.2-ce-ga3