hirondelle.predict.pub.json
Class ViewPublicListJsonAction
Object
ActionImpl
hirondelle.predict.pub.json.ViewPublicListJsonAction
- All Implemented Interfaces:
- Action
public final class ViewPublicListJsonAction
- extends ActionImpl
Serve a given PredictionList
in JSON format.
Such data would typically be consumed by javascript code, which would render the data
in some desired way.
See the /pub/JsonTest.jsp for an example of using javascript to call this
action, and render the data in a web page.
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
ViewPublicListJsonAction
public ViewPublicListJsonAction(RequestParser aRequestParser)
- Constructor.
execute
public ResponsePage execute()
throws AppException
- Fetch a
PredictionList
, its Prediction
s, and its average score, and place
them all in request scope.
- Specified by:
execute
in interface Action
- Specified by:
execute
in class ActionImpl
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.27