Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.action
Class EditTemplateAction

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

public class EditTemplateAction
extends PortletAction


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditTemplateAction()
           
 
Method Summary
protected  void deleteTemplates(ActionRequest actionRequest)
           
protected  String getSaveAndContinueRedirect(PortletConfig portletConfig, ActionRequest actionRequest, DDMTemplate template, String redirect)
           
protected  String getScript(UploadPortletRequest uploadPortletRequest)
           
protected  boolean isValidFile(File file)
           
 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  DDMTemplate updateTemplate(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

EditTemplateAction

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

deleteTemplates

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

getSaveAndContinueRedirect

protected String getSaveAndContinueRedirect(PortletConfig portletConfig,
                                            ActionRequest actionRequest,
                                            DDMTemplate template,
                                            String redirect)
                                     throws Exception
Throws:
Exception

getScript

protected String getScript(UploadPortletRequest uploadPortletRequest)
                    throws Exception
Throws:
Exception

isValidFile

protected boolean isValidFile(File file)

updateTemplate

protected DDMTemplate updateTemplate(ActionRequest actionRequest)
                              throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5