com.clra.web
Class SaveRowingSessionAction

java.lang.Object
org.apache.struts.action.Action
com.clra.web.SaveRowingSessionAction
- public final class SaveRowingSessionAction
- 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, EditRowingSessionAction, which
initializes an input form with data from a rowing session.
- Version:
- $Revision: 1.4 $ $Date: 2003/02/26 03:38:46 $
| 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
PUBLISH
private static final java.lang.String PUBLISH
- See Also:
- Constant Field Values
LOCK
private static final java.lang.String LOCK
- See Also:
- Constant Field Values
VIEW
private static final java.lang.String VIEW
- See Also:
- Constant Field Values
SESSIONCANCEL
private static final java.lang.String SESSIONCANCEL
- 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
ROWINGID
private static final java.lang.String ROWINGID
- See Also:
- Constant Field Values
dateFormat
private static final java.text.SimpleDateFormat dateFormat
SaveRowingSessionAction
public SaveRowingSessionAction()
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.
createSession
private static java.lang.Integer createSession(RowingSessionForm form)
throws java.rmi.RemoteException,
javax.ejb.CreateException,
javax.naming.NamingException,
com.clra.rowing.RowingException
editSession
private static void editSession(com.clra.rowing.IRowingSession irs,
RowingSessionForm form)
throws java.rmi.RemoteException,
com.clra.rowing.RowingSessionStateException,
com.clra.rowing.RowingException