|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
bioroot.antibody.AntibodyModify
Servlet to modify antibodys using antibodyBeans referenced from a Session object.
Constructor Summary | |
AntibodyModify()
|
Method Summary | |
static java.lang.String |
deleteAntibody(AntibodyBean ab,
UserBean userBean,
DBUtil bioRoot)
Attempts to delete an antibody, if sucessful, returns a "" String, otherwise an error message. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static boolean |
subtractAndSetAntibodyBeans(AntibodyBean[] beans,
javax.servlet.http.HttpSession session)
Subtracts a bean from the AntibodyBean[] and resets it in antibodyBeansToEdit |
static java.lang.String |
updateAntibody(AntibodyBean bean,
UserBean userBean,
DBUtil bioRoot)
Attempts to update a AntibodyBean in the database, only checks that the name is unique if it has changed. |
static java.lang.String |
updateAntibodyPreps(AntibodyBean bean,
DBUtil bioRoot)
Attempts to update the AntibodyPreps and UseDilutions in the database. |
static boolean |
updateCommonAccessFields(AntibodyPrep[] preps,
DBUtil bioRoot)
Just update the commonly accessible fields in each antibodyPrep as well as the useDilutions. |
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 |
Constructor Detail |
public AntibodyModify()
Method Detail |
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public static java.lang.String deleteAntibody(AntibodyBean ab, UserBean userBean, DBUtil bioRoot)
public static boolean updateCommonAccessFields(AntibodyPrep[] preps, DBUtil bioRoot)
public static java.lang.String updateAntibodyPreps(AntibodyBean bean, DBUtil bioRoot)
public static java.lang.String updateAntibody(AntibodyBean bean, UserBean userBean, DBUtil bioRoot)
public static boolean subtractAndSetAntibodyBeans(AntibodyBean[] beans, javax.servlet.http.HttpSession session)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |