Liferay 6.0.5

com.liferay.portlet.login.action
Class FacebookConnectAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.login.action.FacebookConnectAction

public class FacebookConnectAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
FacebookConnectAction()
           
 
Method Summary
protected  void addUser(ActionRequest actionRequest, ActionResponse actionResponse, ThemeDisplay themeDisplay)
           
protected  String getAccessToken(long companyId, String code)
           
protected  void getFacebookCredentials(javax.servlet.http.HttpSession session, long companyId, String token)
           
protected  String getRedirect(javax.servlet.http.HttpServletRequest request, ThemeDisplay themeDisplay)
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void setFacebookCredentials(javax.servlet.http.HttpSession session, long companyId, String token)
           
 org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, redirectToLogin, render, sendRedirect, sendRedirect, serveResource, setForward
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacebookConnectAction

public FacebookConnectAction()
Method Detail

processAction

public void processAction(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          PortletConfig portletConfig,
                          ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws Exception
Overrides:
processAction in class PortletAction
Throws:
Exception

strutsExecute

public org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping,
                                                            org.apache.struts.action.ActionForm form,
                                                            javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response)
                                                     throws Exception
Overrides:
strutsExecute in class PortletAction
Throws:
Exception

addUser

protected void addUser(ActionRequest actionRequest,
                       ActionResponse actionResponse,
                       ThemeDisplay themeDisplay)
                throws Exception
Throws:
Exception

getAccessToken

protected String getAccessToken(long companyId,
                                String code)
                         throws Exception
Throws:
Exception

getFacebookCredentials

protected void getFacebookCredentials(javax.servlet.http.HttpSession session,
                                      long companyId,
                                      String token)
                               throws Exception
Throws:
Exception

getRedirect

protected String getRedirect(javax.servlet.http.HttpServletRequest request,
                             ThemeDisplay themeDisplay)
                      throws Exception
Throws:
Exception

setFacebookCredentials

protected void setFacebookCredentials(javax.servlet.http.HttpSession session,
                                      long companyId,
                                      String token)
                               throws Exception
Throws:
Exception

Liferay 6.0.5