Liferay 6.2-ce-ga5

com.liferay.portlet.layoutprototypes.action
Class EditLayoutPrototypeAction

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

public class EditLayoutPrototypeAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditLayoutPrototypeAction()
           
 
Method Summary
protected  void deleteLayoutPrototypes(ActionRequest actionRequest)
           
 void processAction(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
 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 resetMergeFailCount(ActionRequest actionRequest)
          Resets the number of failed merge attempts for the page template, which is accessed from the action request's layoutPrototypeId param.
protected  void updateLayoutPrototype(ActionRequest actionRequest)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, getStrictPortletSetup, getStrictPortletSetup, hideDefaultSuccessMessage, hideDefaultSuccessMessage, isCheckMethodOnProcessAction, isDisplaySuccessMessage, processEvent, redirectToLogin, sendRedirect, sendRedirect, sendRedirect, serveResource, setForward, strutsExecute, 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

EditLayoutPrototypeAction

public EditLayoutPrototypeAction()
Method Detail

processAction

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

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

deleteLayoutPrototypes

protected void deleteLayoutPrototypes(ActionRequest actionRequest)
                               throws Exception
Throws:
Exception

resetMergeFailCount

protected void resetMergeFailCount(ActionRequest actionRequest)
                            throws Exception
Resets the number of failed merge attempts for the page template, which is accessed from the action request's layoutPrototypeId param.

No merge from the page template to the actual page(s) is performed at this point.

Parameters:
actionRequest - the action request
Throws:
Exception - if an exception occurred

updateLayoutPrototype

protected void updateLayoutPrototype(ActionRequest actionRequest)
                              throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5