|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectActionImpl
ActionTemplateListAndEdit
hirondelle.fish.main.rating.RatingAction
public final class RatingAction
Allow ratings to be edited for each Resto.
| Field Summary | |
|---|---|
static RequestParameter |
BEER_RATING
|
static RequestParameter |
CHIPS_RATING
|
static RequestParameter |
FISH_RATING
|
static RequestParameter |
LOCATION_RATING
|
static RequestParameter |
PRICE_RATING
|
static SqlId |
RATING_CHANGE
|
static SqlId |
RATING_FETCH_FOR_CHANGE
|
static RequestParameter |
RATING_ID
|
static SqlId |
RATING_LIST
|
static RequestParameter |
SERVICE_RATING
|
| Fields inherited from class ActionTemplateListAndEdit |
|---|
SupportedOperation |
| Fields inherited from class ActionImpl |
|---|
ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
| Constructor Summary | |
|---|---|
RatingAction(RequestParser aRequestParser)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
attemptAdd()
Not implemented in this case. |
protected void |
attemptChange()
Apply an edit to a Rating. |
protected void |
attemptDelete()
Not implemented in this case. |
protected void |
attemptFetchForChange()
Fetch a Rating in preparation for editing it. |
protected void |
doList()
List ratings for all restaurants. |
protected void |
validateUserInput()
Ensure user input can create a Rating. |
| 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 RATING_LIST
public static final SqlId RATING_FETCH_FOR_CHANGE
public static final SqlId RATING_CHANGE
public static final RequestParameter RATING_ID
public static final RequestParameter FISH_RATING
public static final RequestParameter CHIPS_RATING
public static final RequestParameter PRICE_RATING
public static final RequestParameter LOCATION_RATING
public static final RequestParameter SERVICE_RATING
public static final RequestParameter BEER_RATING
| Constructor Detail |
|---|
public RatingAction(RequestParser aRequestParser)
| Method Detail |
|---|
protected void doList()
throws DAOException
doList in class ActionTemplateListAndEditDAOException
protected void attemptFetchForChange()
throws DAOException
Rating in preparation for editing it.
attemptFetchForChange in class ActionTemplateListAndEditDAOExceptionprotected void validateUserInput()
Rating.
validateUserInput in class ActionTemplateListAndEdit
protected void attemptChange()
throws DAOException
Rating.
attemptChange in class ActionTemplateListAndEditDAOException
protected void attemptAdd()
throws DAOException
attemptAdd in class ActionTemplateListAndEditDAOException
protected void attemptDelete()
throws DAOException
attemptDelete in class ActionTemplateListAndEditDAOException
|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||