public class QueryBuilder extends Object
| Constructor and Description |
|---|
QueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildAutoCompleteQuery(String valueAttribute,
List<String> columnAttributes,
String columnValue,
DialogController dialogController)
Builds the auto complete query.
|
static Object[] |
buildAutoCompleteQueryWithParameters(String valueAttribute,
List<String> columnAttributes,
String columnValue,
DialogController dialogController)
Builds the auto complete query.
|
static List<Object[]> |
getColumnNamesAndDataTypes(String valueAttribute,
List<String> columnAttributes,
RoleNameHelper roleNameHelper)
Gets the column names.
|
public static Object[] buildAutoCompleteQueryWithParameters(String valueAttribute, List<String> columnAttributes, String columnValue, DialogController dialogController)
valueAttribute - the value attributecolumnAttributes - the column attributescolumnValue - the column valuedialogController - the dialog controllerpublic static String buildAutoCompleteQuery(String valueAttribute, List<String> columnAttributes, String columnValue, DialogController dialogController)
valueAttribute - the value attributecolumnAttributes - the column attributescolumnValue - the column valuedialogController - the dialog controllerpublic static List<Object[]> getColumnNamesAndDataTypes(String valueAttribute, List<String> columnAttributes, RoleNameHelper roleNameHelper)
valueAttribute - the value attributecolumnAttributes - the column attributesroleNameHelper - the role name helperCopyright © 2006–2017 Esito AS. All rights reserved.