Predictions 4.10.0.0

hirondelle.predict.pub.viewlist
Class ViewPublicListAction

Object
  extended by ActionImpl
      extended by 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 :

Field Summary
static RequestParameter LIST_ID
           
static SqlId LIST_PREDICTIONS
           
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
ViewPublicListAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
 ResponsePage execute()
          Fetch a PredictionList and display it.
 
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

LIST_ID

public static final RequestParameter LIST_ID

LIST_PREDICTIONS

public static final SqlId LIST_PREDICTIONS
Constructor Detail

ViewPublicListAction

public ViewPublicListAction(RequestParser aRequestParser)
Constructor.

Method Detail

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

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27