bioroot.strain
Class StrainBase
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
bioroot.strain.StrainBase
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class StrainBase
- extends javax.servlet.http.HttpServlet
- Author:
- nix
Contains methods for Strains
- See Also:
- Serialized Form
Field Summary |
static java.lang.String[] |
searchHeadings
Use to make a hash of column heading in which to search, name then the actual search column name. |
static java.lang.String[] |
stringFeatures
Use to make a default strain Feature[]. |
Methods inherited from class javax.servlet.http.HttpServlet |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringFeatures
public static java.lang.String[] stringFeatures
- Use to make a default strain Feature[]. Trues must be on top.
searchHeadings
public static final java.lang.String[] searchHeadings
- Use to make a hash of column heading in which to search, name then the actual search column name.
StrainBase
public StrainBase()
getSearchHash
public static java.util.LinkedHashMap getSearchHash()
getSearchNames
public static java.lang.String[] getSearchNames()
getSearchColumnNames
public static java.lang.String[] getSearchColumnNames()
- Returns a list of the search column names used in an SQL statment , ie name, 1/2 the searchHash.
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
reverseStrainBeans
public static StrainBean[] reverseStrainBeans(StrainBean[] beans)
- Reverses the order of an array of StrainBeans.
getStrainReport
public static java.lang.String getStrainReport(StrainBean sb,
DBUtil bioRoot,
UserBean userBean,
boolean commonForm)
- Returns an strain report.
getStrainForm
public static java.lang.String getStrainForm(StrainBean sb,
DBUtil bioRoot,
UserBean userBean)
- Returns a strain form filled with the values in the bean. Must add a form entry. ie
+ "