|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.NodeFilter
public class NodeFilter
Encapsulates all node filtering functionality.
| Field Summary | |
|---|---|
protected int |
nodeId
|
static String |
TYPE
Constant TYPE="node" |
| Constructor Summary | |
|---|---|
NodeFilter(int nodeId,
javax.servlet.ServletContext servletContext)
Constructor for NodeFilter. |
|
| Method Summary | |
|---|---|
int |
bindParam(PreparedStatement ps,
int parameterIndex)
Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement. |
boolean |
equals(Object obj)
|
String |
getDescription()
getDescription |
int |
getNodeId()
Getter for the field nodeId. |
String |
getParamSql()
getParamSql |
String |
getSql()
getSql |
String |
getTextDescription()
getTextDescription |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
TYPE="node"
protected int nodeId
| Constructor Detail |
|---|
public NodeFilter(int nodeId,
javax.servlet.ServletContext servletContext)
Constructor for NodeFilter.
nodeId - a int.| Method Detail |
|---|
public String getSql()
getSql
getSql in interface FilterString object.public String getParamSql()
getParamSql
getParamSql in interface FilterString object.
public int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
bindParam in interface Filterps - a PreparedStatement object.parameterIndex - a int.
SQLException - if any.public String getDescription()
getDescription
getDescription in interface FilterString object.public String getTextDescription()
getTextDescription
getTextDescription in interface FilterString object.public String toString()
toString
toString in class ObjectString object.public int getNodeId()
Getter for the field nodeId.
public boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||