hirondelle.predict.pub.viewlist
Class ViewPublicListAction
Object
ActionImpl
hirondelle.predict.pub.viewlist.ViewPublicListAction
- All Implemented Interfaces:
- Action
public final class ViewPublicListAction
- extends ActionImpl
Public view of a PredictionList.
Search results will always include a link to this Action.
This is the publicly available view of a prediction list.
View :
| 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 |
LIST_ID
public static final RequestParameter LIST_ID
LIST_PREDICTIONS
public static final SqlId LIST_PREDICTIONS
ViewPublicListAction
public ViewPublicListAction(RequestParser aRequestParser)
- Constructor.
execute
public ResponsePage execute()
throws AppException
- Fetch a
PredictionList and display it. Shows the title of the list, and its average score.
See Prediction.calculateAverageScore(List).
- Specified by:
execute in interface Action- Specified by:
execute in class ActionImpl
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2011Sep24.14.00