OpenNMS API 1.2.3

org.opennms.web.map
Class ModifyParentServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.opennms.web.map.ModifyParentServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ModifyParentServlet
extends javax.servlet.http.HttpServlet

Update the NODE table in the database to set the NODEPARENTID information to establish Parent-Child relationships between nodes. I'm sure that this is The Wrong Way to do this, but I don't know exactly what The Right Way is. There doesn't, in fact, seem to be a Right Way. So I'm doing this. Which is ugly. And Wrong. But it works. At least I'm using connections from the Vault.

Author:
Derek Glidden , NKSi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
ModifyParentServlet()
           
 
Method Summary
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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
 

Constructor Detail

ModifyParentServlet

public ModifyParentServlet()
Method Detail

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

OpenNMS API 1.2.3

Generated by eevans on May 29 2005 2015.