|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.ProtocolFilter
public class ProtocolFilter
Encapsulates all protocol filtering functionality.
| Field Summary | |
|---|---|
protected String |
protocol
|
static String |
TYPE
|
| Constructor Summary | |
|---|---|
ProtocolFilter(String protocol)
|
|
| 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. |
String |
getParamSql()
Returns a parameterized SQL where clause. |
String |
getProtocol()
|
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 String protocol
| Constructor Detail |
|---|
public ProtocolFilter(String protocol)
| 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 String getProtocol()
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 | ||||||||