public class ErrataSearchAction extends BaseSearchAction
ALL_CHANNELS, ARCHITECTURE, CHANNEL, CHANNEL_ARCH, CHANNEL_ARCHES, CHANNEL_FILTER, DEFAULT_ARCHES, DISPLAY_KEY, ERRATA_BUG, ERRATA_ENH, ERRATA_SEC, EXCLUDED_ARCHES, FINE_GRAINED, INVERT_RESULTS, LOG, OPT_ADVISORY, OPT_ALL_FIELDS, OPT_CONTENT_ONLY, OPT_CONTENT_TITLE, OPT_CVE, OPT_FREE_FORM, OPT_GROUPS_KEYS, OPT_GROUPS_MAP, OPT_ISSUE_DATE, OPT_NAME_AND_DESC, OPT_NAME_AND_SUMMARY, OPT_NAME_ONLY, OPT_PKG_NAME, OPT_TITLE_ONLY, RELEVANT, SCAN_DATE_SEARCH, SEARCH_OPT, SEARCH_STR, VALUE_KEY, VIEW_MODE, WHERE_ALL, WHERE_CRITERIA, WHERE_SSM, WHERE_TO_SEARCH
Constructor and Description |
---|
ErrataSearchAction() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.struts.action.ActionForward |
doExecute(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.DynaActionForm form)
This is the guts of a search action - do what needs doing,
and return what you think the next page should be
|
protected void |
insureFormDefaults(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.DynaActionForm form)
Make sure we have appropriate defaults no matter how we got here
Set the defaults (where needed) back into the form so that the rest of the action
can find them
|
protected java.util.List |
performSearch(javax.servlet.http.HttpServletRequest request,
java.lang.Long sessionId,
java.lang.String searchString,
java.lang.String mode,
org.apache.struts.action.DynaActionForm formIn) |
protected java.lang.String |
preprocessSearchString(java.lang.String searchstring,
java.lang.String mode) |
addOption, addOption, execute, executeBody
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet
protected org.apache.struts.action.ActionForward doExecute(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.DynaActionForm form) throws java.net.MalformedURLException, redstone.xmlrpc.XmlRpcFault
BaseSearchAction
doExecute
in class BaseSearchAction
request
- incoming HTTP requestmapping
- incoming action-mappingform
- form associated with this mappingjava.net.MalformedURLException
- malformed URL exceptionredstone.xmlrpc.XmlRpcFault
- XMLrpc faultprotected void insureFormDefaults(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.DynaActionForm form)
insureFormDefaults
in class BaseSearchAction
form
- where we expect values to berequest
- incoming HTTP requestprotected java.util.List performSearch(javax.servlet.http.HttpServletRequest request, java.lang.Long sessionId, java.lang.String searchString, java.lang.String mode, org.apache.struts.action.DynaActionForm formIn) throws redstone.xmlrpc.XmlRpcFault, java.net.MalformedURLException
redstone.xmlrpc.XmlRpcFault
java.net.MalformedURLException
protected java.lang.String preprocessSearchString(java.lang.String searchstring, java.lang.String mode)