|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filter
Filter interface.
| 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. |
org.hibernate.criterion.Criterion |
getCriterion()
Criterion used to construction an OnmsCritieria |
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 |
getSql()
Returns an expression 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. |
| Method Detail |
|---|
String getSql()
String object.String getParamSql()
String object.
int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
ps - a PreparedStatement object.parameterIndex - a int.
SQLException - if any.String getDescription()
Some examples:
String object.String getTextDescription()
Some examples (corresponding to the examples in
getDescription):
String object.org.hibernate.criterion.Criterion getCriterion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||