public final class SuggestCommentAction extends SuggestAction
$Id $
Constructor and Description |
---|
SuggestCommentAction() |
Modifier and Type | Method and Description |
---|---|
protected CommentRecord |
createRecord(org.apache.struts.action.ActionForm form)
Update the SuggestionRecord (managed by SuggestCommentHelper) with values
from the form bean.
|
protected SuggestCommentHelper |
getSuggestHelper()
Gets the SuggestCommentHelper attribute of the SuggestCommentAction
object
|
protected org.apache.struts.action.ActionForward |
handleCancelCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
handleDoneCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
handleEditCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
handleOtherCommands(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
handleSubmitCommand(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
protected org.apache.struts.action.ActionForward |
initializeSuggestor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
NOT YET DOCUMENTED
|
static void |
setDebug(boolean db)
Sets the debug attribute of the SuggestCommentAction class
|
protected org.apache.struts.action.ActionErrors |
validateSuggestForm(org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
The required fields for suggest-a-url are: url, nameFirst, nameLast,
emailPrimary, instName
|
execute, getSchemaHelper, handleStaleData
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected SuggestCommentHelper getSuggestHelper() throws javax.servlet.ServletException
getSuggestHelper
in class SuggestAction
javax.servlet.ServletException
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward initializeSuggestor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
SuggestAction
initializeSuggestor
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDjavax.servlet.ServletException
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward handleOtherCommands(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
handleOtherCommands
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDjavax.servlet.ServletException
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward handleEditCommand(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
handleEditCommand
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDjava.lang.Exception
- if SuggestionForm cannot be populated with required
info.protected org.apache.struts.action.ActionForward handleCancelCommand(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
handleCancelCommand
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward handleDoneCommand(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
handleDoneCommand
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionForward handleSubmitCommand(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
handleSubmitCommand
in class SuggestAction
mapping
- NOT YET DOCUMENTEDform
- NOT YET DOCUMENTEDrequest
- NOT YET DOCUMENTEDresponse
- NOT YET DOCUMENTEDprotected org.apache.struts.action.ActionErrors validateSuggestForm(org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validateSuggestForm
in class SuggestAction
mapping
- Description of the Parameterrequest
- Description of the Parameterform
- NOT YET DOCUMENTEDprotected CommentRecord createRecord(org.apache.struts.action.ActionForm form) throws java.lang.Exception
createRecord
in class SuggestAction
form
- NOT YET DOCUMENTEDjava.lang.Exception
- Description of the Exceptionpublic static void setDebug(boolean db)
db
- The new debug value