|
|||||||||
| 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
|
| Constructor Summary | |
|---|---|
NodeFilter(int nodeId)
|
|
| 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()
Returns a terse string (including a "=") that describes this filter in such a way to easily be included in an HTTP GET parameter. |
int |
getNodeId()
|
String |
getParamSql()
Returns a parameterized SQL where clause. |
String |
getSql()
Returns an expresions for a SQL where clause. |
String |
getTextDescription()
Returns a terse but human-readable string describing this filter in such a way to easily be included in a search results list. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
protected int nodeId
| Constructor Detail |
|---|
public NodeFilter(int nodeId)
| Method Detail |
|---|
public String getSql()
Filter
getSql in interface Filterpublic String getParamSql()
Filter
getParamSql in interface Filter
public int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
Filter
bindParam in interface FilterSQLExceptionpublic String getDescription()
FilterSome examples:
getDescription in interface Filterpublic String getTextDescription()
Filter
Some examples (corresponding to the examples in
getDescription):
getTextDescription in interface Filterpublic String toString()
toString in class Objectpublic int getNodeId()
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 | ||||||||