QT - public class DefaultStringQueryFactory<QT> extends Object implements IStringQueryFactory<QT>
LookupInputBase2. It uses the search properties to create a query
by taking the entered string, and creating an "or" of "like" operations for each
property we search on.
For instance a search string 'Utr' could result in something like:
streetname like 'UTR%' or cityname like 'UTR%'
| Constructor and Description |
|---|
DefaultStringQueryFactory(ClassMetaModel queryMetaModel) |
| Modifier and Type | Method and Description |
|---|---|
QCriteria<QT> |
createQuery(String searchString)
Use to manually modify query.
|
ClassMetaModel |
getQueryMetaModel() |
public DefaultStringQueryFactory(@Nonnull ClassMetaModel queryMetaModel)
public QCriteria<QT> createQuery(String searchString) throws Exception
IStringQueryFactorycreateQuery in interface IStringQueryFactory<QT>Exception@Nonnull public ClassMetaModel getQueryMetaModel()
Copyright © 2017 etc.to. All rights reserved.