bioroot
Class AccountManagement

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bybioroot.AccountManagement
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AccountManagement
extends javax.servlet.http.HttpServlet

Author:
nix Account Management form, self calling, won't forward results to database until correct.
See Also:
Serialized Form

Constructor Summary
AccountManagement()
           
 
Method Summary
 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 java.lang.String extractLogin(java.lang.String signature)
           
static java.sql.ResultSet getUser(DBUtil mysql, java.lang.String login)
          fetch all items from a specific user
static java.lang.String[] getUsers(DBUtil bioroot, int labGroupId)
          Returns a String[] of Users belonging to a particular labgroup.
 
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

AccountManagement

public AccountManagement()
Method Detail

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

getUsers

public static java.lang.String[] getUsers(DBUtil bioroot,
                                          int labGroupId)
Returns a String[] of Users belonging to a particular labgroup. ie Nix, David (NixLogIn); Nix, Zoe (ZoeNix),...


extractLogin

public static java.lang.String extractLogin(java.lang.String signature)

getUser

public static java.sql.ResultSet getUser(DBUtil mysql,
                                         java.lang.String login)
fetch all items from a specific user