public abstract class BaseQueryGenerator extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
deletedOnly
Whether to search for deleted documents ONLY or not.
|
protected boolean |
includeDeleted
Whether to search for deleted documents or not.
|
Constructor and Description |
---|
BaseQueryGenerator(com.saperion.intf.DDC ddc)
Constructor.
|
BaseQueryGenerator(String databaseType)
Deprecated.
Use
BaseQueryGenerator(DDC) instead. Will be removed in 8.1. |
Modifier and Type | Method and Description |
---|---|
abstract com.saperion.rmi.SaQueryInfo |
generateQuery()
Generates a query string.
|
protected boolean |
isCaseSensitive(String fieldName) |
protected void |
setParameterPrefix(String prefix)
Sets the prefix to use for parameter-names.
|
protected void |
setPrefix(String prefixString)
Sets the prefix to use as DDC-alias and field-selector-prefix.
|
protected boolean includeDeleted
protected boolean deletedOnly
@Deprecated public BaseQueryGenerator(String databaseType)
BaseQueryGenerator(DDC)
instead. Will be removed in 8.1.databaseType
- type of the database in usepublic BaseQueryGenerator(com.saperion.intf.DDC ddc)
ddc
- the name of the main-ddc used in the query to be generatedprotected void setPrefix(String prefixString)
prefixString
- prefix to useprotected void setParameterPrefix(String prefix)
prefix
- prefix to usepublic abstract com.saperion.rmi.SaQueryInfo generateQuery()
protected boolean isCaseSensitive(String fieldName)
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.