Fish & Chips Club 4.10.0.0

hirondelle.fish.main.rsvp
Class RsvpUpdate

Object
  extended by ActionImpl
      extended by ActionTemplateShowAndApply
          extended by hirondelle.fish.main.rsvp.RsvpUpdate
All Implemented Interfaces:
Action

public final class RsvpUpdate
extends ActionTemplateShowAndApply

Fetch and then change an existing Rsvp.

View : SQL Statements :

Field Summary
static RequestParameter MEMBER_ID
           
static RequestParameter RESPONSE
           
static SqlId RSVP_CHANGE
           
static SqlId RSVP_FETCH_FOR_CHANGE
           
static RequestParameter VISIT_ID
           
 
Fields inherited from class ActionTemplateShowAndApply
SUPPORTED_OPERATION
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
RsvpUpdate(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void apply()
          Update an existing Rsvp, and redirect to the listing of all RSVPs.
protected  void show()
          Fetch an existing Rsvp and place into the request.
protected  void validateUserInput()
          Ensure the user has a made a Yes/No selection.
 
Methods inherited from class ActionTemplateShowAndApply
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

RSVP_FETCH_FOR_CHANGE

public static final SqlId RSVP_FETCH_FOR_CHANGE

RSVP_CHANGE

public static final SqlId RSVP_CHANGE

VISIT_ID

public static final RequestParameter VISIT_ID

MEMBER_ID

public static final RequestParameter MEMBER_ID

RESPONSE

public static final RequestParameter RESPONSE
Constructor Detail

RsvpUpdate

public RsvpUpdate(RequestParser aRequestParser)
Constructor.

Method Detail

show

protected void show()
             throws AppException
Fetch an existing Rsvp and place into the request.

Specified by:
show in class ActionTemplateShowAndApply
Throws:
AppException

validateUserInput

protected void validateUserInput()
                          throws AppException
Ensure the user has a made a Yes/No selection.

Specified by:
validateUserInput in class ActionTemplateShowAndApply
Throws:
AppException

apply

protected void apply()
              throws AppException
Update an existing Rsvp, and redirect to the listing of all RSVPs.

Specified by:
apply in class ActionTemplateShowAndApply
Throws:
AppException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26