SigPath

org.sigpath.action.biowizard
Class CreateReaction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.sigpath.action.ActionRoot
          extended by org.sigpath.action.biowizard.CreateReaction
All Implemented Interfaces:
DBWriteAccess, Secure

public class CreateReaction
extends ActionRoot
implements Secure, DBWriteAccess

Action for Creating a Reaction via the BioWizard.

Version:
$Revision: 6998 $
Author:
Ethan Cerami, Benjamin Chiang

Field Summary
static String SESSION_BIOPOLYMERS
          Session Key for List of Biopolymers in Current Reaction.
static String SESSION_INTERACTION_TYPE
          Session Key for Interaction Type.
static String SESSION_LEFT_ORDER
          Session Key for Left Order; e.g.
static String SESSION_RIGHT_ORDER
          Session Key for Right Order; e.g.
static String SESSION_XML_SUBMISSION
          Session Key for XML Submission.
 
Fields inherited from class org.sigpath.action.ActionRoot
ERROR, FAILURE, NOT_AUTHENTICATED, SESSION_XDEBUG, SIGPATH_MAINPAGE, SUCCESS
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
CreateReaction()
           
 
Method Summary
protected  org.apache.struts.action.ActionForward _perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response, org.apache.struts.action.ActionForward actionForward, XDebug xdebug)
          Performs User Request.
 
Methods inherited from class org.sigpath.action.ActionRoot
execute, redirectToNextPage, setUserMessage, tapestryExternalPage, tapestryPage
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, 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

SESSION_INTERACTION_TYPE

public static final String SESSION_INTERACTION_TYPE
Session Key for Interaction Type.

See Also:
Constant Field Values

SESSION_XML_SUBMISSION

public static final String SESSION_XML_SUBMISSION
Session Key for XML Submission.

See Also:
Constant Field Values

SESSION_BIOPOLYMERS

public static final String SESSION_BIOPOLYMERS
Session Key for List of Biopolymers in Current Reaction.

See Also:
Constant Field Values

SESSION_LEFT_ORDER

public static final String SESSION_LEFT_ORDER
Session Key for Left Order; e.g. Number of molecules on the left.

See Also:
Constant Field Values

SESSION_RIGHT_ORDER

public static final String SESSION_RIGHT_ORDER
Session Key for Right Order; e.g. Number of molecules on the right.

See Also:
Constant Field Values
Constructor Detail

CreateReaction

public CreateReaction()
Method Detail

_perform

protected org.apache.struts.action.ActionForward _perform(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          HttpServletRequest request,
                                                          HttpServletResponse response,
                                                          org.apache.struts.action.ActionForward actionForward,
                                                          XDebug xdebug)
                                                   throws SigPathDatabaseException
Performs User Request. Depending on the type of form, this method performs different actions

Specified by:
_perform in class ActionRoot
Parameters:
mapping -
form -
request -
response -
actionForward -
xdebug -
Returns:
Throws:
SigPathDatabaseException

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.