|
Fish & Chips Club 4.10.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectActionImpl
ActionTemplateListAndEdit
hirondelle.fish.main.visit.VisitAction
public final class VisitAction
Edit the Visits to a particular Resto on a
particular day.
| 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 Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SqlId VISIT_LIST
public static final SqlId VISIT_FETCH
public static final SqlId VISIT_ADD
public static final SqlId VISIT_CHANGE
public static final SqlId VISIT_DELETE
public static final SqlId VISIT_FETCH_NEXT_FUTURE
public static final RequestParameter VISIT_ID
public static final RequestParameter MESSAGE
public static final RequestParameter LUNCH_DATE
public static final RequestParameter RESTAURANT
public static final RequestParameter SORT_ON
public static final RequestParameter ORDER
| Constructor Detail |
|---|
public VisitAction(RequestParser aRequestParser)
| Method Detail |
|---|
protected void doList()
throws DAOException
Visits.
doList in class ActionTemplateListAndEditDAOExceptionprotected void validateUserInput()
Visit.
validateUserInput in class ActionTemplateListAndEdit
protected void attemptAdd()
throws DAOException
Visit.
attemptAdd in class ActionTemplateListAndEditDAOException
protected void attemptFetchForChange()
throws DAOException
Visit in preparation for editing it.
attemptFetchForChange in class ActionTemplateListAndEditDAOException
protected void attemptChange()
throws DAOException
Visit.
attemptChange in class ActionTemplateListAndEditDAOException
protected void attemptDelete()
throws DAOException
Visit.
attemptDelete in class ActionTemplateListAndEditDAOException
|
Fish & Chips Club 4.10.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||