com.micromail.action
Class ReadAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.struts.actions.DispatchAction
          extended bycom.micromail.action.GeneralDispatchAction
              extended bycom.micromail.action.ReadAction

public class ReadAction
extends GeneralDispatchAction

This class contains action methods for the read page


Field Summary
 
Fields inherited from class com.micromail.action.GeneralDispatchAction
keyMethodMap, localeMap
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, 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
ReadAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deletes the current message
 org.apache.struts.action.ActionForward forward(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Forward the message
protected  java.util.Map getKeyMethodMap()
          Gets the Map mapping resource string keys to method names within this class
 org.apache.struts.action.ActionForward next(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Move to the next message
 org.apache.struts.action.ActionForward previous(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Move to the previous message
 org.apache.struts.action.ActionForward reply(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Reply to the sender
 org.apache.struts.action.ActionForward replyAll(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Reply to sender and other recipients
 org.apache.struts.action.ActionForward resumeDraft(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Restores a draft message to the compose page
 org.apache.struts.action.ActionForward viewPrintable(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class com.micromail.action.GeneralDispatchAction
execute
 
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

ReadAction

public ReadAction()
Method Detail

getKeyMethodMap

protected java.util.Map getKeyMethodMap()
Gets the Map mapping resource string keys to method names within this class

Specified by:
getKeyMethodMap in class GeneralDispatchAction
Returns:
the Map

delete

public org.apache.struts.action.ActionForward delete(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
Deletes the current message

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

next

public org.apache.struts.action.ActionForward next(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
Move to the next message

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

previous

public org.apache.struts.action.ActionForward previous(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
Move to the previous message

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

forward

public org.apache.struts.action.ActionForward forward(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
Forward the message

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

reply

public org.apache.struts.action.ActionForward reply(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
Reply to the sender

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

replyAll

public org.apache.struts.action.ActionForward replyAll(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
Reply to sender and other recipients

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

resumeDraft

public org.apache.struts.action.ActionForward resumeDraft(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
Restores a draft message to the compose page

Parameters:
mapping - the Struts ActionMapping object
request - the servlet request
response - the servlet response
Returns:
the ActionForward object
Throws:
java.lang.Exception

viewPrintable

public org.apache.struts.action.ActionForward viewPrintable(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
Throws:
java.lang.Exception