Fish & Chips Club 4.10.0.0

hirondelle.fish.main.rsvp
Class RsvpAdd

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

public final class RsvpAdd
extends ActionTemplateShowAndApply

Add an Rsvp for a particular Member.

View : SQL Statements :

Field Summary
static RequestParameter MEMBER_ID
           
static RequestParameter RESPONSE
           
static SqlId RSVP_ADD
           
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
RsvpAdd(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void apply()
          Add a new Rsvp to the database.
protected  void show()
          Show the form for adding a new Rsvp.
protected  void validateUserInput()
          Ensure user input can build an Rsvp.
 
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_ADD

public static final SqlId RSVP_ADD

VISIT_ID

public static final RequestParameter VISIT_ID

MEMBER_ID

public static final RequestParameter MEMBER_ID

RESPONSE

public static final RequestParameter RESPONSE
Constructor Detail

RsvpAdd

public RsvpAdd(RequestParser aRequestParser)
Constructor.

Method Detail

show

protected void show()
             throws AppException
Show the form for adding a new Rsvp.

Specified by:
show in class ActionTemplateShowAndApply
Throws:
AppException

validateUserInput

protected void validateUserInput()
                          throws AppException
Ensure user input can build an Rsvp.

Specified by:
validateUserInput in class ActionTemplateShowAndApply
Throws:
AppException

apply

protected void apply()
              throws AppException
Add a new Rsvp to the database.

Specified by:
apply in class ActionTemplateShowAndApply
Throws:
AppException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26