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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.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 $

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 LOCK
           
private static java.lang.String PUBLISH
           
private static java.lang.String ROWINGID
           
private static java.lang.String SESSIONCANCEL
           
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
SaveRowingSessionAction()
           
 
Method Summary
private static java.lang.Integer createSession(RowingSessionForm form)
           
private static void editSession(com.clra.rowing.IRowingSession irs, RowingSessionForm form)
           
 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

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
Constructor Detail

SaveRowingSessionAction

public SaveRowingSessionAction()
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.


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