com.clra.web
Class SaveParticipationAction

java.lang.Object
org.apache.struts.action.Action
com.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 $
| 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 |
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
SaveParticipationAction
public SaveParticipationAction()
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