public class LookupQueryGenerator extends BaseQueryGenerator
deletedOnly, includeDeleted| Constructor and Description |
|---|
LookupQueryGenerator(String ddcName,
String databaseType)
Instantiates a new lookup query generator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomValue(String fieldName,
Object value,
int fieldType)
Adds a custom-value that will be contained in the query.
|
void |
addCustomValue(String fieldName,
Object value,
int fieldType,
boolean multiValue)
Adds a custom-value that will be contained in the query.
|
void |
addValue(String fieldName,
Object value,
int fieldType)
Adds a value that will be contained in the query.
|
void |
addValue(String fieldName,
Object value,
int fieldType,
boolean multiValue)
Adds a value that will be contained in the query.
|
void |
clearValues()
Clears all values.
|
com.saperion.rmi.SaQueryInfo |
generateQuery()
Generates a query string.
|
void |
removeCustomValue(String fieldName)
Removes a custom-value.
|
isCaseSensitive, setParameterPrefix, setPrefixpublic void addValue(String fieldName, Object value, int fieldType)
fieldName - the column namevalue - the valuefieldType - the type of the fieldpublic void addValue(String fieldName, Object value, int fieldType, boolean multiValue)
fieldName - the column namevalue - the valuefieldType - the type of the fieldmultiValue - whether the field is multi-value or notpublic void addCustomValue(String fieldName, Object value, int fieldType)
fieldName - the column namevalue - the valuefieldType - the type of the fieldpublic void addCustomValue(String fieldName, Object value, int fieldType, boolean multiValue)
fieldName - the column namevalue - the valuefieldType - the type of the fieldmultiValue - whether the field is multi-value or notpublic void removeCustomValue(String fieldName)
fieldName - name of the value (field) to removepublic void clearValues()
public com.saperion.rmi.SaQueryInfo generateQuery()
generateQuery in class BaseQueryGeneratorBaseQueryGenerator.generateQuery()Copyright © 2016 SAPERION AG. All rights reserved.