|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommands.SelectDevices
Commands to retrieve a list of devices from the GLTMon database. The commands return either monitored, unmonitored, unremoved, or removed devices. The parameters indicate whether we will retrieve all, some (via a subnet or range), or one of the Devices.
| Constructor Summary | |
SelectDevices()
Construct a default SelectDevices command with an empty array. |
|
| Method Summary | |
void |
done()
Clean up after the command's execution. |
DeviceList |
getDevices()
|
DeviceSelectParams |
getParams()
|
void |
initialize(java.lang.String dbContext,
DeviceSelectParams params)
Initialize the commands with the parameter and database context. |
void |
selAllDevices()
Retrieve a list of all devices. |
void |
selMonDevices()
Retrieve a list of unremoved monitored devices. |
void |
selRemDevices()
Retrieve a list of removed devices. |
void |
selUnMonDevices()
Retrieve a list of unremoved unmonitored devices. |
void |
selUnRemDevices()
Retrieve a list of unremoved devices. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SelectDevices()
| Method Detail |
public DeviceList getDevices()
public DeviceSelectParams getParams()
public void initialize(java.lang.String dbContext,
DeviceSelectParams params)
throws java.lang.Exception
dbContext - String containing the JNDI context resourceparams - a DeviceSelectParams object containing the parameters
java.lang.Exception - containing the reason the initialize failed
public void selMonDevices()
throws java.lang.Exception
java.lang.Exception - to indicate a failed query
public void selUnMonDevices()
throws java.lang.Exception
java.lang.Exception - to indicate a failed query
public void selUnRemDevices()
throws java.lang.Exception
java.lang.Exception - to indicate a failed query
public void selRemDevices()
throws java.lang.Exception
java.lang.Exception - to indicate a failed query
public void selAllDevices()
throws java.lang.Exception
java.lang.Exception - to indicate a failed querypublic void done()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||