org.tentackle.appworx
Class DefaultQbfParameter
java.lang.Object
org.tentackle.appworx.QbfParameter
org.tentackle.appworx.DefaultQbfParameter
- All Implemented Interfaces:
- Serializable
public class DefaultQbfParameter
- extends QbfParameter
The default qbf parameter with default settings suitable for most applications.
- Author:
- harald
- See Also:
- Serialized Form
| Fields inherited from class org.tentackle.appworx.QbfParameter |
checkReadPermission, clazz, contextDb, estimatedRowCount, fetchSize, limit, maxRowCount, offset, pattern, qbfPanelInvisible, rebuildView, searchImmediate, searchInExtraThread, showDialogIfSearchImmediateFailes, showTable, tableName, warnRowCount, warnSleep, withEstimatedRowCount |
|
Method Summary |
boolean |
isEmpty()
Check if QBF-parameter is completely empty, i.e. |
boolean |
isValid()
Checks whether the parameter is valid for a query. |
minPatternLength
public int minPatternLength
- minimum normtext pattern length, 0 = default
DefaultQbfParameter
public DefaultQbfParameter(Class<? extends AppDbObject> clazz,
ContextDb contextDb)
- Creates a default qbf parameter.
- Parameters:
clazz - the data object classcontextDb - the database context
isEmpty
public boolean isEmpty()
- Description copied from class:
QbfParameter
- Check if QBF-parameter is completely empty, i.e. leads to a selectAll...
- Overrides:
isEmpty in class QbfParameter
- Returns:
- true if parameter is empty
isValid
public boolean isValid()
- Description copied from class:
QbfParameter
- Checks whether the parameter is valid for a query.
The default implementation returns tr
- Overrides:
isValid in class QbfParameter
- Returns:
- if ok for query
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de