Predictions 4.10.0.0

hirondelle.predict.pub.search
Class SearchAction

Object
  extended by ActionImpl
      extended by ActionTemplateSearch
          extended by hirondelle.predict.pub.search.SearchAction
All Implemented Interfaces:
Action

public final class SearchAction
extends ActionTemplateSearch

Search for predictions using a text match.

View : SQL Statements :

Field Summary
static RequestParameter END_DATE
           
static SqlId SEARCH_FOR_ALL_OF_THESE_WORDS
           
static SqlId SEARCH_FOR_EXACT_PHRASE
           
static RequestParameter SEARCH_STYLE
           
static RequestParameter SEARCH_TEXT
           
static RequestParameter START_DATE
           
 
Fields inherited from class ActionTemplateSearch
SUPPORTED_OPERATION
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
SearchAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void listSearchResults()
          List the SearchResults that correspond to the given criteria.
protected  void validateUserInput()
          Ensure user input can construct a SearchCriteria object.
 
Methods inherited from class ActionTemplateSearch
execute
 
Methods inherited from class ActionImpl
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_TEXT

public static final RequestParameter SEARCH_TEXT

SEARCH_STYLE

public static final RequestParameter SEARCH_STYLE

START_DATE

public static final RequestParameter START_DATE

END_DATE

public static final RequestParameter END_DATE

SEARCH_FOR_EXACT_PHRASE

public static final SqlId SEARCH_FOR_EXACT_PHRASE

SEARCH_FOR_ALL_OF_THESE_WORDS

public static final SqlId SEARCH_FOR_ALL_OF_THESE_WORDS
Constructor Detail

SearchAction

public SearchAction(RequestParser aRequestParser)
Constructor.

Method Detail

validateUserInput

protected void validateUserInput()
                          throws AppException
Ensure user input can construct a SearchCriteria object.

Specified by:
validateUserInput in class ActionTemplateSearch
Throws:
AppException

listSearchResults

protected void listSearchResults()
                          throws AppException
List the SearchResults that correspond to the given criteria.

Specified by:
listSearchResults in class ActionTemplateSearch
Throws:
AppException

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27