controllers
Class IfRemoveCtrl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
controllers.IfRemoveCtrl
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class IfRemoveCtrl
- extends javax.servlet.http.HttpServlet
Handles the processing of a request to change the removed status of a device's interfaces.
Access this controller through the InterfaceRemove servlet.
Web form commands handled:
- selectDevices – retrieve a list of devices in the database
Success data returned:
- devList – DeviceList databean holding the list of devices
- results – FormResults databean holding the status of the
selectDevices command
Error data returned:
- entry – DeviceSelectParams databean holding the original
data from the deviceSelect form
- results – FormResults databean holding the error message
- selectInterfaces – retrieve a list of device interfaces in the database
Success data returned:
- ifList – ArrayList holding the list of device interfaces
- results – FormResults databean holding the status of the
selectInterfaces command
Error data returned:
- entry – DeviceSelectParams databean holding the original
data from the deviceSelect form
- results – FormResults databean holding the error message
- updateInterfaces – execute the update of a device's interfaces
removed status
Data returned:
- results – FormResults databean holding the status of the
updateInterfaces command (list of modified device interfaces if okay and
error message if not okay)
Commands used:
- SelectDevices to execute the databse query and return the list of devices
- SelectInterfaces to execute the databse query and return the list of device
interfaces
- UpdateInterface to execute the update of device interfaces with a change in
removed status
- Version:
- 0.1
- Author:
- gswalters
- See Also:
- Serialized Form
|
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)
|
| 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 |
IfRemoveCtrl
public IfRemoveCtrl()
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