public class SystemSearchAction extends BaseSearchAction implements Listable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATA_SET |
static java.lang.String[][] |
OPT_GROUPS |
static java.lang.String[] |
OPT_GROUPS_TITLES |
static java.util.List<java.lang.String> |
VALID_WHERE_STRINGS |
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 |
|---|
SystemSearchAction() |
| 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
|
java.util.List |
getResult(RequestContext context)
Returns the data to display on the web page.
|
protected void |
insureFormDefaults(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.DynaActionForm form)
This gives the child-actions a chance to set up sane defaults no matter how
the happen to be invoked.
|
protected DataResult |
performSearch(RequestContext context) |
addOption, addOption, execute, executeBodyaddGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessagesaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServletpublic static final java.lang.String DATA_SET
public static final java.lang.String[] OPT_GROUPS_TITLES
public static final java.lang.String[][] OPT_GROUPS
public static final java.util.List<java.lang.String> VALID_WHERE_STRINGS
protected void insureFormDefaults(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.DynaActionForm form)
BaseSearchActioninsureFormDefaults in class BaseSearchActionrequest - incoming HTTP requestform - form associated with the requestprotected org.apache.struts.action.ActionForward doExecute(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.DynaActionForm form)
BaseSearchActiondoExecute in class BaseSearchActionrequest - incoming HTTP requestmapping - incoming action-mappingform - form associated with this mappingprotected DataResult performSearch(RequestContext context)
public java.util.List getResult(RequestContext context)
getResult in interface Listablecontext - the request context; will not be nullSelectable or
Identifiable objects.