org.opennms.web.notification
Class NoticeQueryServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.notification.NoticeQueryServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class NoticeQueryServlet
- extends HttpServlet
A servlet that handles querying the notifications table and and then forwards
the query's result to a JSP for display.
- Author:
- Lawrence Karnowski , OpenNMS
- See Also:
- Serialized Form
|
Method Summary |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Parses the query string to determine what type of notice query to perform
(for example, what to filter on or sort by), then does the database query
(through the NoticeFactory) and then forwards the results to a JSP for
display. |
| 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 |
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
- See Also:
- Constant Field Values
DEFAULT_MULTIPLE
public static final int DEFAULT_MULTIPLE
- See Also:
- Constant Field Values
NoticeQueryServlet
public NoticeQueryServlet()
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Parses the query string to determine what type of notice query to perform
(for example, what to filter on or sort by), then does the database query
(through the NoticeFactory) and then forwards the results to a JSP for
display.
Sets the notices and parms request attributes for
the forwardee JSP (or whatever gets called).
- Overrides:
doGet in class HttpServlet
- Throws:
ServletException
IOException
Copyright ? 2007. All Rights Reserved.