public class NewSuggestionAction extends HiWishAction
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
RE_STL_COMMENT
regular expression to match an STL comment in the special notes
|
ID, logger
Constructor and Description |
---|
NewSuggestionAction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkQuota(java.sql.Connection conn,
javax.servlet.http.HttpServletRequest req)
Check the quota of the user in the session.
|
org.apache.struts.action.ActionForward |
create(org.apache.struts.action.ActionMapping map,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle creation action
|
org.apache.struts.action.ActionForward |
edit(org.apache.struts.action.ActionMapping map,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle editor re-edit action
|
org.apache.struts.action.ActionForward |
open(org.apache.struts.action.ActionMapping map,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle editor open action
|
org.apache.struts.action.ActionForward |
preview(org.apache.struts.action.ActionMapping map,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle preview action
|
protected org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping map,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
What to do if no action is specified
|
closeConnection, generateSecureToken, getConnection, getContextURL, getContextVariable, getMailSession, getWishQuota, memorizeUser, rememberUser, sendEmail, sha1hex
cancelled, dispatchMethod, execute, getMethod, getMethodName, getParameter
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected static final java.lang.String RE_STL_COMMENT
protected org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
unspecified
in class org.apache.struts.actions.DispatchAction
java.lang.Exception
public org.apache.struts.action.ActionForward open(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.sql.SQLException, javax.naming.NamingException
map
- strutsform
- inputreq
- incomingres
- outgoingjava.sql.SQLException
- query problemjavax.naming.NamingException
- lookup problempublic org.apache.struts.action.ActionForward edit(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.sql.SQLException, javax.naming.NamingException
map
- strutsform
- inputreq
- incomingres
- outgoingjava.sql.SQLException
- query problemjavax.naming.NamingException
- lookup problempublic org.apache.struts.action.ActionForward preview(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.sql.SQLException, javax.naming.NamingException
map
- strutsform
- inputreq
- incomingres
- outgoingjava.sql.SQLException
- query problemjavax.naming.NamingException
- lookup problempublic org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.sql.SQLException, javax.naming.NamingException
map
- strutsform
- inputreq
- incomingres
- outgoingjava.sql.SQLException
- query problemjavax.naming.NamingException
- lookup problemprotected boolean checkQuota(java.sql.Connection conn, javax.servlet.http.HttpServletRequest req) throws java.sql.SQLException
conn
- Open database connectionreq
- Current HTTP request containing a reference to an active sessionjava.sql.SQLException
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona