com.liferay.portlet.login.action
Class FacebookConnectAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.login.action.FacebookConnectAction
public class FacebookConnectAction
- extends PortletAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
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 |
FacebookConnectAction
public FacebookConnectAction()
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