Fish & Chips Club 4.10.0.0

hirondelle.fish.main.resto
Class RestoAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.main.resto.RestoAction
All Implemented Interfaces:
Action

public final class RestoAction
extends ActionTemplateListAndEdit

Edit Resto objects.

Resto objects form a code table. When a successful edit occurs, then this class will refresh the code table held in memory.

View : SQL Statements :

Field Summary
static SqlId ADD_RESTO
           
static SqlId CHANGE_RESTO
           
static RequestParameter COMMENT
           
static SqlId DELETE_RESTO
           
static SqlId FETCH_RESTO
           
static SqlId LIST_RESTOS
           
static RequestParameter LOCATION
           
static RequestParameter NAME
           
static RequestParameter PRICE
           
static RequestParameter RESTO_ID
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
RestoAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
           
protected  void attemptChange()
           
protected  void attemptDelete()
           
protected  void attemptFetchForChange()
           
protected  void doList()
           
protected  void validateUserInput()
           
 
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

LIST_RESTOS

public static final SqlId LIST_RESTOS

FETCH_RESTO

public static final SqlId FETCH_RESTO

ADD_RESTO

public static final SqlId ADD_RESTO

CHANGE_RESTO

public static final SqlId CHANGE_RESTO

DELETE_RESTO

public static final SqlId DELETE_RESTO

RESTO_ID

public static final RequestParameter RESTO_ID

NAME

public static final RequestParameter NAME

LOCATION

public static final RequestParameter LOCATION

PRICE

public static final RequestParameter PRICE

COMMENT

public static final RequestParameter COMMENT
Constructor Detail

RestoAction

public RestoAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

protected void attemptAdd()
                   throws DAOException
Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

protected void attemptFetchForChange()
                              throws DAOException
Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26