org.appfuse.webapp.action
Class TemplateAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.struts.actions.DispatchAction
          extended byorg.apache.struts.actions.LookupDispatchAction
              extended byorg.appfuse.webapp.action.BaseAction
                  extended byorg.appfuse.webapp.action.TemplateAction

public final class TemplateAction
extends BaseAction

Implementation of Action that interacts with the TemplateForm and retrieves values. It interacts with the TemplateManager to retrieve/persist values to the database.

View Source

Version:
$Revision: 1.1 $ $Date: 2004/03/31 13:04:24 $
Author:
Matt Raible

Field Summary
 
Fields inherited from class org.appfuse.webapp.action.BaseAction
ctx, SECURE
 
Fields inherited from class org.apache.struts.actions.LookupDispatchAction
keyMethodMap, localeMap
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
TemplateAction()
           
 
Method Summary
 ActionForward cancel(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward delete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward preview(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
          This method is for previewing the template with an existing position and contact.
 ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.appfuse.webapp.action.BaseAction
cancelled, checkSsl, convert, convertDates, convertLists, execute, getActionForm, getBean, getErrors, getKeyMethodMap, getLookupMapName, getMessages, getMethodName, getResumeId, getUser, removeFormBean, updateFormBean
 
Methods inherited from class org.apache.struts.actions.DispatchAction
dispatchMethod, getMethod, unspecified
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateAction

public TemplateAction()
Method Detail

cancel

public ActionForward cancel(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception

delete

public ActionForward delete(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception

edit

public ActionForward edit(ActionMapping mapping,
                          ActionForm form,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws Exception
Throws:
Exception

preview

public ActionForward preview(ActionMapping mapping,
                             ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response)
                      throws Exception
This method is for previewing the template with an existing position and contact.

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

save

public ActionForward save(ActionMapping mapping,
                          ActionForm form,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws Exception
Throws:
Exception

search

public ActionForward search(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception


Copyright © 2002-2004