HiRISE

HiRISE.HiWish
Class CheckPairSuggestionAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.BaseAction
          extended by org.apache.struts.actions.DispatchAction
              extended by HiRISE.HiWish.HiWishAction
                  extended by HiRISE.HiWish.NewSuggestionAction
                      extended by HiRISE.HiWish.CheckPairSuggestionAction

public class CheckPairSuggestionAction
extends NewSuggestionAction

Create-A-Pair


Field Summary
 
Fields inherited from class HiRISE.HiWish.NewSuggestionAction
RE_STL_COMMENT
 
Fields inherited from class HiRISE.HiWish.HiWishAction
ID, logger
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, methods, types
 
Fields inherited from class org.apache.struts.actions.BaseAction
messages
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
CheckPairSuggestionAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Attempt to load the data needed to create a pair based on the input ID.
 
Methods inherited from class HiRISE.HiWish.NewSuggestionAction
checkQuota, create, edit, open, preview, unspecified
 
Methods inherited from class HiRISE.HiWish.HiWishAction
closeConnection, generateSecureToken, getConnection, getContextURL, getContextVariable, getMailSession, getWishQuota, memorizeUser, rememberUser, sendEmail, sha1hex
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, getMethodName, getParameter
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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

CheckPairSuggestionAction

public CheckPairSuggestionAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest req,
                                                      javax.servlet.http.HttpServletResponse res)
                                               throws SQLException,
                                                      NamingException
Attempt to load the data needed to create a pair based on the input ID. If successful, will forward to the creation page, otherwise to an error page.

Overrides:
execute in class org.apache.struts.actions.DispatchAction
Parameters:
map - Struts configured mapping
form - The form instance, if any
req - Request instance
res - Response instance
Throws:
SQLException
NamingException

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona