org.tentackle.appworx
Class DefaultQbfParameter

java.lang.Object
  extended by org.tentackle.appworx.QbfParameter
      extended by 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

Field Summary
 int minPatternLength
          minimum normtext pattern length, 0 = default
 
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
 
Constructor Summary
DefaultQbfParameter(Class<? extends AppDbObject> clazz, ContextDb contextDb)
          Creates a default qbf parameter.
 
Method Summary
 boolean isEmpty()
          Check if QBF-parameter is completely empty, i.e.
 boolean isValid()
          Checks whether the parameter is valid for a query.
 
Methods inherited from class org.tentackle.appworx.QbfParameter
clear, patternAsLikeSql, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

minPatternLength

public int minPatternLength
minimum normtext pattern length, 0 = default

Constructor Detail

DefaultQbfParameter

public DefaultQbfParameter(Class<? extends AppDbObject> clazz,
                           ContextDb contextDb)
Creates a default qbf parameter.

Parameters:
clazz - the data object class
contextDb - the database context
Method Detail

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