Liferay 6.1.2-ce-ga3

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(javax.servlet.http.HttpSession session, long companyId, JSONObject jsonObject)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void setFacebookCredentials(javax.servlet.http.HttpSession session, long companyId, String token)
           
 org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void updateUser(User user, JSONObject jsonObject)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, isDisplaySuccessMessage, processAction, redirectToLogin, sendRedirect, sendRedirect, sendRedirect, serveResource, setForward, writeJSON, writeJSON
 
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

render

public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping,
                                                     org.apache.struts.action.ActionForm actionForm,
                                                     PortletConfig portletConfig,
                                                     RenderRequest renderRequest,
                                                     RenderResponse renderResponse)
                                              throws Exception
Overrides:
render in class PortletAction
Throws:
Exception

strutsExecute

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

addUser

protected void addUser(javax.servlet.http.HttpSession session,
                       long companyId,
                       JSONObject jsonObject)
                throws Exception
Throws:
Exception

setFacebookCredentials

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

updateUser

protected void updateUser(User user,
                          JSONObject jsonObject)
                   throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3