Fish & Chips Club 4.10.0.0

hirondelle.fish.main.visit
Class VisitAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.main.visit.VisitAction
All Implemented Interfaces:
Action

public final class VisitAction
extends ActionTemplateListAndEdit

Edit the Visits to a particular Resto on a particular day.

View : SQL Statements :

Field Summary
static RequestParameter LUNCH_DATE
           
static RequestParameter MESSAGE
           
static RequestParameter ORDER
           
static RequestParameter RESTAURANT
           
static RequestParameter SORT_ON
           
static SqlId VISIT_ADD
           
static SqlId VISIT_CHANGE
           
static SqlId VISIT_DELETE
           
static SqlId VISIT_FETCH
           
static SqlId VISIT_FETCH_NEXT_FUTURE
           
static RequestParameter VISIT_ID
           
static SqlId VISIT_LIST
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
VisitAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Add a new Visit.
protected  void attemptChange()
          Update an existing Visit.
protected  void attemptDelete()
          Delete an existing Visit.
protected  void attemptFetchForChange()
          Fetch an existing Visit in preparation for editing it.
protected  void doList()
          List all Visits.
protected  void validateUserInput()
          Ensure user input can build a Visit.
 
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

VISIT_LIST

public static final SqlId VISIT_LIST

VISIT_FETCH

public static final SqlId VISIT_FETCH

VISIT_ADD

public static final SqlId VISIT_ADD

VISIT_CHANGE

public static final SqlId VISIT_CHANGE

VISIT_DELETE

public static final SqlId VISIT_DELETE

VISIT_FETCH_NEXT_FUTURE

public static final SqlId VISIT_FETCH_NEXT_FUTURE

VISIT_ID

public static final RequestParameter VISIT_ID

MESSAGE

public static final RequestParameter MESSAGE

LUNCH_DATE

public static final RequestParameter LUNCH_DATE

RESTAURANT

public static final RequestParameter RESTAURANT

SORT_ON

public static final RequestParameter SORT_ON

ORDER

public static final RequestParameter ORDER
Constructor Detail

VisitAction

public VisitAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
List all Visits.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Ensure user input can build a Visit.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

protected void attemptAdd()
                   throws DAOException
Add a new Visit.

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

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

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Update an existing Visit.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Delete an existing Visit.

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26