edu.mssm.crover.webservices.rbde
Class ResidueAttributesEditor

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--edu.mssm.crover.webservices.rbde.AnnotationsEditor
                    |
                    +--edu.mssm.crover.webservices.rbde.ResidueAttributesEditor
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ResidueAttributesEditor
extends edu.mssm.crover.webservices.rbde.AnnotationsEditor

See Also:
Serialized Form

Constructor Summary
ResidueAttributesEditor()
           
 
Method Summary
static void clearColor(DS_UserSession us, BiologicalAnnotation[] anns, int start_residue, int end_residue)
           
static void clearURLAnnotation(BiologicalAnnotations ba, int start_residue, int end_residue)
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void editAnnotations(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpSession session, URLRepository repository, ServletCentral sc, BiologicalAnnotations ba, DS_UserSession us)
          This method needs to be implemented in all subclasses and provides the functionality.
static void setColor(DS_UserSession us, BiologicalAnnotation[] anns, int start_residue, int end_residue, java.lang.String user_color)
           
static void setURLAnnotation(BiologicalAnnotations ba, int start_residue, int end_residue, java.net.URL residue_url)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResidueAttributesEditor

public ResidueAttributesEditor()
Method Detail

editAnnotations

protected void editAnnotations(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               javax.servlet.http.HttpSession session,
                               URLRepository repository,
                               ServletCentral sc,
                               BiologicalAnnotations ba,
                               DS_UserSession us)
                        throws java.io.IOException,
                               javax.servlet.ServletException
Description copied from class: edu.mssm.crover.webservices.rbde.AnnotationsEditor
This method needs to be implemented in all subclasses and provides the functionality. The BiologicalAnnotations, extracted from the AnnotatedBioSequence, can be altered in this method.

Specified by:
editAnnotations in class edu.mssm.crover.webservices.rbde.AnnotationsEditor
java.io.IOException
javax.servlet.ServletException

clearColor

public static void clearColor(DS_UserSession us,
                              BiologicalAnnotation[] anns,
                              int start_residue,
                              int end_residue)

setColor

public static void setColor(DS_UserSession us,
                            BiologicalAnnotation[] anns,
                            int start_residue,
                            int end_residue,
                            java.lang.String user_color)

clearURLAnnotation

public static void clearURLAnnotation(BiologicalAnnotations ba,
                                      int start_residue,
                                      int end_residue)

setURLAnnotation

public static void setURLAnnotation(BiologicalAnnotations ba,
                                    int start_residue,
                                    int end_residue,
                                    java.net.URL residue_url)

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Overrides:
doPost in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.