Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.web
Class SaveParticipationAction  view SaveParticipationAction download SaveParticipationAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.clra.web.SaveParticipationAction

public final class SaveParticipationAction
extends org.apache.struts.action.Action

A workflow manager that pulls data about a rowing session from an input form. The data is used to invoke business logic that creates, edits, publishes, views, deletes or cancels a rowing session. See the related workflow manager, EditParticipationAction, which initializes an input form with data from a rowing session.

Version:
$Revision: 1.5 $ $Date: 2003/03/13 17:49:23 $

Field Summary
private static java.lang.String base
           
private static java.lang.String CANCEL
           
private static java.lang.String CREATE
           
private static java.text.SimpleDateFormat dateFormat
           
private static java.lang.String DELETE
           
private static java.lang.String EDIT
           
private static java.lang.String MEMBER
           
private static java.lang.String PARTICIPANTID
           
private static java.lang.String ROWINGID
           
private static org.apache.log4j.Category theLog
           
private static java.lang.String VIEW
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SaveParticipationAction()
           
 
Method Summary
private static void createParticipant(java.lang.Integer rowingId, java.lang.Integer memberId, com.clra.rowing.SeatPreference sp)
           
private static void editParticipant(java.lang.Integer participantId, com.clra.rowing.SeatPreference sp)
           
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the workflow step in data about a rowing session is pulled from an input form.
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

private static final java.lang.String base

theLog

private static final org.apache.log4j.Category theLog

CREATE

private static final java.lang.String CREATE
See Also:
Constant Field Values

EDIT

private static final java.lang.String EDIT
See Also:
Constant Field Values

VIEW

private static final java.lang.String VIEW
See Also:
Constant Field Values

DELETE

private static final java.lang.String DELETE
See Also:
Constant Field Values

CANCEL

private static final java.lang.String CANCEL
See Also:
Constant Field Values

MEMBER

private static final java.lang.String MEMBER
See Also:
Constant Field Values

ROWINGID

private static final java.lang.String ROWINGID
See Also:
Constant Field Values

PARTICIPANTID

private static final java.lang.String PARTICIPANTID
See Also:
Constant Field Values

dateFormat

private static final java.text.SimpleDateFormat dateFormat
Constructor Detail

SaveParticipationAction

public SaveParticipationAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Handle the workflow step in data about a rowing session is pulled from an input form. The data is used to invoke business logic that creates, edits, publishes, views, deletes or cancels a rowing session.


createParticipant

private static void createParticipant(java.lang.Integer rowingId,
                                      java.lang.Integer memberId,
                                      com.clra.rowing.SeatPreference sp)
                               throws java.lang.Exception

editParticipant

private static void editParticipant(java.lang.Integer participantId,
                                    com.clra.rowing.SeatPreference sp)
                             throws java.lang.Exception