controllers
Class DeviceRemoveCtrl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
controllers.DeviceRemoveCtrl
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class DeviceRemoveCtrl
- extends javax.servlet.http.HttpServlet
Handles the processing of a request to change the removed status of a set of devices.
Access this controller through the DeviceRemove servlet.
Web form commands handled:
- selectDevices – retrieve a list of devices in the database
Data returned:
- devList – DeviceList databean holding the list of devices
if the command was successful
- 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
- updateDevices – execute the update of device removed status
Data returned:
- results – FormResults databean holding the status of the
updateDevices command (list of modified devices if okay and
error message if not okay)
Commands used:
- SelectDevices to execute the databse query and return the list of devices
- UpdateDevice to execute the update of devices 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 |
DeviceRemoveCtrl
public DeviceRemoveCtrl()
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