com.liferay.portal.facebook
Class FacebookConnectImpl
java.lang.Object
com.liferay.portal.facebook.FacebookConnectImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.facebook.FacebookConnect
public class FacebookConnectImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.facebook.FacebookConnect
- Author:
- Wilson Man, Mika Koivisto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookConnectImpl
public FacebookConnectImpl()
getAccessToken
public java.lang.String getAccessToken(long companyId,
java.lang.String redirect,
java.lang.String code)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAccessToken in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAccessTokenURL
public java.lang.String getAccessTokenURL(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAccessTokenURL in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAppId
public java.lang.String getAppId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAppId in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAppSecret
public java.lang.String getAppSecret(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAppSecret in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAuthURL
public java.lang.String getAuthURL(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAuthURL in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGraphResources
public com.liferay.portal.kernel.json.JSONObject getGraphResources(long companyId,
java.lang.String path,
java.lang.String accessToken,
java.lang.String fields)
- Specified by:
getGraphResources in interface com.liferay.portal.kernel.facebook.FacebookConnect
getGraphURL
public java.lang.String getGraphURL(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGraphURL in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
getProfileImageURL
public java.lang.String getProfileImageURL(javax.portlet.PortletRequest portletRequest)
- Specified by:
getProfileImageURL in interface com.liferay.portal.kernel.facebook.FacebookConnect
getRedirectURL
public java.lang.String getRedirectURL(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getRedirectURL in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
isEnabled
public boolean isEnabled(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
isEnabled in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException
isVerifiedAccountRequired
public boolean isVerifiedAccountRequired(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
isVerifiedAccountRequired in interface com.liferay.portal.kernel.facebook.FacebookConnect
- Throws:
com.liferay.portal.kernel.exception.SystemException