|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Filter
| 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 getParamSql()
int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
SQLExceptionString getDescription()
Some examples:
String getTextDescription()
Some examples (corresponding to the examples in
getDescription):
org.hibernate.criterion.Criterion getCriterion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||