edu.whoi.ursa.argoDatabase.web
Class Alerts

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.whoi.ursa.argoDatabase.web.Alerts
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@WebServlet(value="/Alerts")
public class Alerts
extends javax.servlet.http.HttpServlet

Servlet implementation class Alerts

See Also:
Serialized Form

Field Summary
private static java.util.GregorianCalendar currentDate
           
private static long serialVersionUID
           
private static java.util.Map<java.lang.String,java.lang.String> tablefields
           
 
Constructor Summary
Alerts()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doThis(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private static java.util.List<WebData> getFirst(java.lang.Integer days)
           
private static java.util.List<WebData> getLast(java.lang.Integer startdays, java.lang.Integer enddays)
           
private static java.util.List<WebData> getRecentlyLaunched(java.lang.Integer days)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

currentDate

private static final java.util.GregorianCalendar currentDate

tablefields

private static final java.util.Map<java.lang.String,java.lang.String> tablefields
Constructor Detail

Alerts

public Alerts()
Method Detail

doGet

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

doPost

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

doThis

protected void doThis(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getRecentlyLaunched

private static java.util.List<WebData> getRecentlyLaunched(java.lang.Integer days)

getFirst

private static java.util.List<WebData> getFirst(java.lang.Integer days)

getLast

private static java.util.List<WebData> getLast(java.lang.Integer startdays,
                                               java.lang.Integer enddays)