Predictions 4.10.0.0

hirondelle.predict.main.lists
Class PredictionListAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.predict.main.lists.PredictionListAction
All Implemented Interfaces:
Action

public final class PredictionListAction
extends ActionTemplateListAndEdit

List and edit PredictionList objects.

View : SQL Statements :

Field Summary
static RequestParameter ID
           
static SqlId PREDICTION_LIST_ADD
           
static SqlId PREDICTION_LIST_CHANGE
           
static SqlId PREDICTION_LIST_DELETE
           
static SqlId PREDICTION_LIST_FETCH
           
static SqlId PREDICTION_LIST_FETCH_PUBLIC
           
static SqlId PREDICTION_LIST_LIST
           
static RequestParameter TITLE
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
PredictionListAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Try to add a new PredictionList.
protected  void attemptChange()
          Try to change an existing PredictionList.
protected  void attemptDelete()
          Try to delete an existing PredictionList.
protected  void attemptFetchForChange()
          Fetch an existing PredictionList, in preparation for editing it.
protected  void doList()
          Show all lists owned by the current user.
protected  void validateUserInput()
          Try to build a PredictionList from user input.
 
Methods inherited from class ActionTemplateListAndEdit
addDynamicParameterToRedirectPage, 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

PREDICTION_LIST_LIST

public static final SqlId PREDICTION_LIST_LIST

PREDICTION_LIST_FETCH

public static final SqlId PREDICTION_LIST_FETCH

PREDICTION_LIST_FETCH_PUBLIC

public static final SqlId PREDICTION_LIST_FETCH_PUBLIC

PREDICTION_LIST_ADD

public static final SqlId PREDICTION_LIST_ADD

PREDICTION_LIST_CHANGE

public static final SqlId PREDICTION_LIST_CHANGE

PREDICTION_LIST_DELETE

public static final SqlId PREDICTION_LIST_DELETE

ID

public static final RequestParameter ID

TITLE

public static final RequestParameter TITLE
Constructor Detail

PredictionListAction

public PredictionListAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
Show all lists owned by the current user.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Try to build a PredictionList from user input.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

protected void attemptAdd()
                   throws DAOException
Try to add a new PredictionList.

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

protected void attemptFetchForChange()
                              throws DAOException
Fetch an existing PredictionList, in preparation for editing it.

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Try to change an existing PredictionList.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Try to delete an existing PredictionList.

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27