com.liferay.portal.action
Class UpdateLayoutAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.JSONAction
          extended by com.liferay.portal.action.UpdateLayoutAction

public class UpdateLayoutAction
extends JSONAction

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.struts.JSONAction
_servletContext
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
UpdateLayoutAction()
           
 
Method Summary
protected  void addPortlet(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String portletId)
           
 java.lang.String getJSON(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  java.lang.String getRootPortletId(com.liferay.portal.model.Portlet portlet)
           
protected  void populatePortletJSONObject(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.servlet.StringServletResponse stringResponse, com.liferay.portal.model.Portlet portlet, com.liferay.portal.kernel.json.JSONObject jsonObject)
           
 
Methods inherited from class com.liferay.portal.struts.JSONAction
execute, getReroutePath, rerouteExecute, setServletContext
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, 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

UpdateLayoutAction

public UpdateLayoutAction()
Method Detail

getJSON

public java.lang.String getJSON(org.apache.struts.action.ActionMapping mapping,
                                org.apache.struts.action.ActionForm form,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws java.lang.Exception
Specified by:
getJSON in class JSONAction
Throws:
java.lang.Exception

addPortlet

protected void addPortlet(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          java.lang.String portletId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getRootPortletId

protected java.lang.String getRootPortletId(com.liferay.portal.model.Portlet portlet)

populatePortletJSONObject

protected void populatePortletJSONObject(javax.servlet.http.HttpServletRequest request,
                                         com.liferay.portal.kernel.servlet.StringServletResponse stringResponse,
                                         com.liferay.portal.model.Portlet portlet,
                                         com.liferay.portal.kernel.json.JSONObject jsonObject)
                                  throws java.lang.Exception
Throws:
java.lang.Exception