public abstract class MultiArgFilter<T> extends BaseFilter<T>
m_filterName, m_sqlType
Constructor and Description |
---|
MultiArgFilter(String filterType,
SQLType<T> sqlType,
String fieldName,
String propertyName,
T[] values)
Constructor for MultiArgFilter.
|
Modifier and Type | Method and Description |
---|---|
int |
bindParam(PreparedStatement ps,
int parameterIndex)
Binds the parameter values corresponding to the ? tokens in the string
returned from getParamSql() to a prepared statement.
|
String |
getParamSql()
getParamSql
|
String |
getSql()
getSql
|
abstract String |
getSQLTemplate()
getSQLTemplate
|
T[] |
getValues()
getValues
|
List<T> |
getValuesAsList()
getValuesAsList
|
String |
getValueString()
getValueString
|
bindValue, formatValue, getCriterion, getDescription, getPropertyName, getSQLFieldName, getTextDescription, getValueAsString, toString
public T[] getValues()
getValues
public final int bindParam(PreparedStatement ps, int parameterIndex) throws SQLException
bindParam
in interface Filter
bindParam
in class BaseFilter<T>
ps
- a PreparedStatement
object.parameterIndex
- a int.SQLException
- if any.public final String getValueString()
getValueString
getValueString
in class BaseFilter<T>
String
object.public final String getParamSql()
getParamSql
getParamSql
in interface Filter
getParamSql
in class BaseFilter<T>
String
object.Copyright © 2017. All rights reserved.