public class LookupQueryGenerator extends BaseQueryGenerator
deletedOnly, includeDeleted
Constructor and Description |
---|
LookupQueryGenerator(com.saperion.intf.DDC lookupDdc)
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, setPrefix
public LookupQueryGenerator(com.saperion.intf.DDC lookupDdc)
lookupDdc
- the DDC of the lookup-fieldpublic 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 BaseQueryGenerator
BaseQueryGenerator.generateQuery()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.