Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.action
Class CopyStructureAction

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

public class CopyStructureAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
CopyStructureAction()
           
 
Method Summary
protected  DDMStructure copyStructure(ActionRequest actionRequest)
           
protected  void copyTemplates(ActionRequest actionRequest, long structureId, long newStructureId)
           
protected  String getSaveAndContinueRedirect(PortletConfig portletConfig, ActionRequest actionRequest, DDMStructure structure)
           
 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)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, isDisplaySuccessMessage, 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

CopyStructureAction

public CopyStructureAction()
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

copyStructure

protected DDMStructure copyStructure(ActionRequest actionRequest)
                              throws Exception
Throws:
Exception

copyTemplates

protected void copyTemplates(ActionRequest actionRequest,
                             long structureId,
                             long newStructureId)
                      throws Exception
Throws:
Exception

getSaveAndContinueRedirect

protected String getSaveAndContinueRedirect(PortletConfig portletConfig,
                                            ActionRequest actionRequest,
                                            DDMStructure structure)
                                     throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3