|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommands.SelectInterfaces
Command to retrieve a list of monitored interfaces for a device from the GLTMon database. Using the deviceID, query the database for Device's interfaces.
| Constructor Summary | |
SelectInterfaces()
Construct a default SelectInterfaces command with an empty array. |
|
| Method Summary | |
void |
done()
Clean up after the command's execution. |
Device |
getDevice()
|
java.util.ArrayList |
getInterfaces()
|
void |
initialize(java.sql.Connection dbConn,
long deviceID)
Initialize the command with the DB connection and a deviceID. |
void |
initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
Initialize the command with the parameters and database context. |
void |
initialize(java.lang.String dbContext,
long deviceID)
Initialize the command with the deviceID and database context. |
void |
reinitialize(long deviceID)
|
void |
selAllInterfaces()
Select all interfaces from the database. |
void |
selMonInterfaces()
Select monitored interfaces from the database. |
void |
selRemInterfaces()
Select removed interfaces from the database. |
void |
selUnMonInterfaces()
Select unmonitored interfaces from the database. |
void |
selUnRemInterfaces()
Select unremoved interfaces from the database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SelectInterfaces()
| Method Detail |
public Device getDevice()
public java.util.ArrayList getInterfaces()
public void initialize(java.lang.String dbContext,
long deviceID)
throws java.lang.Exception
dbContext - String containing the JNDI context resourcedeviceID - long value of the device record in the DB
java.lang.Exception - containing the reason the initialize failed
public void initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
dbContext - String containing the JNDI context resourcerequest - HttpServletRequest request header from the Web page
java.lang.Exception - containing the reason the initialize failed
public void initialize(java.sql.Connection dbConn,
long deviceID)
throws java.lang.Exception
dbConn - Connection already established to the DBdeviceID - long value of the device record in the DB
java.lang.Exception - containing the reason the initialize failed
public void reinitialize(long deviceID)
throws java.lang.Exception
java.lang.Exception
public void selUnMonInterfaces()
throws java.lang.Exception
java.lang.Exception - to problems
public void selUnRemInterfaces()
throws java.lang.Exception
java.lang.Exception - to problems
public void selRemInterfaces()
throws java.lang.Exception
java.lang.Exception - to problems
public void selMonInterfaces()
throws java.lang.Exception
java.lang.Exception - to problems
public void selAllInterfaces()
throws java.lang.Exception
java.lang.Exception - to problemspublic void done()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||