org.opennms.web.nodelabel
Class NodeLabelChangeServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.nodelabel.NodeLabelChangeServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class NodeLabelChangeServlet
- extends HttpServlet
Changes the label of a node, throws an event signalling that change, and then
redirects the user to a web page displaying that node's details.
- Author:
- Larry Karnowski , OpenNMS
- See Also:
- Serialized Form
|
Field Summary |
protected org.opennms.netmgt.utils.EventProxy |
proxy
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
protected org.opennms.netmgt.utils.EventProxy proxy
NodeLabelChangeServlet
public NodeLabelChangeServlet()
init
public void init()
throws ServletException
- Overrides:
init in class GenericServlet
- Throws:
ServletException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost in class HttpServlet
- Throws:
ServletException
IOException
sendLabelChangeEvent
protected void sendLabelChangeEvent(int nodeId,
org.opennms.netmgt.utils.NodeLabel oldNodeLabel,
org.opennms.netmgt.utils.NodeLabel newNodeLabel)
throws org.opennms.netmgt.utils.EventProxyException
- Throws:
org.opennms.netmgt.utils.EventProxyException
Copyright ? 2007. All Rights Reserved.