|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.appworx.QbfParameter
public class QbfParameter
Query parameters for QbfPlugin.
| Field Summary | |
|---|---|
boolean |
checkReadPermission
display only objects with granted read permission |
Class<? extends AppDbObject> |
clazz
The object's class. |
ContextDb |
contextDb
database context |
int |
estimatedRowCount
Optional estimated number of rows if withEstimatedRowCount was true. |
int |
fetchSize
The fetchsize for the query. If maxRowCount is set the fetchSize should be set to a reasonable value too, because some JDBC-drivers interpret a fetchsize of 0 to retrieve all data in one bulk. |
int |
limit
max. |
int |
maxRowCount
maximum number of rows displayable, 0 = unlimited (default) |
int |
offset
number of rows to skip, 0 = default |
String |
pattern
searchpattern |
boolean |
qbfPanelInvisible
QbfPanel should not be visible (requires searchImmediate = true) |
boolean |
rebuildView
view should be rebuilt for each new display of search results |
boolean |
searchImmediate
start search without querying the parameters |
boolean |
searchInExtraThread
run the search in an extra thread (not the GUI-thread, i.e. |
boolean |
showDialogIfSearchImmediateFailes
show dialog if searchImmediate failes |
boolean |
showTable
initially show table-view instead of tree-view |
String |
tableName
!= null if use non-default formTableName for preferences |
int |
warnRowCount
number of rows displayable without warning, 0 = unlimited (default) |
long |
warnSleep
time [ms] to sleep between warnRowCount packets, 0 = no sleep (default) |
boolean |
withEstimatedRowCount
Flag to retrieve the estimated number of rows in a separate SELECT COUNT(*)-query. |
| Constructor Summary | |
|---|---|
QbfParameter(Class<? extends AppDbObject> clazz,
ContextDb contextDb)
Creates a QbfParameter. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the parameter (user's input). |
boolean |
isEmpty()
Check if QBF-parameter is completely empty, i.e. |
boolean |
isValid()
Checks whether the parameter is valid for a query. |
String |
patternAsLikeSql()
Gets the pattern as an "sql-LIKE"-string. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public transient Class<? extends AppDbObject> clazz
AppDbObject.setClassPath(java.lang.String[])public ContextDb contextDb
public transient boolean checkReadPermission
public String pattern
public int offset
public int limit
public boolean withEstimatedRowCount
public transient int estimatedRowCount
public int fetchSize
public transient boolean searchImmediate
public transient boolean showDialogIfSearchImmediateFailes
public transient boolean qbfPanelInvisible
public transient boolean searchInExtraThread
public transient boolean showTable
public transient boolean rebuildView
public transient String tableName
public transient int warnRowCount
public transient int maxRowCount
public transient long warnSleep
| Constructor Detail |
|---|
public QbfParameter(Class<? extends AppDbObject> clazz,
ContextDb contextDb)
clazz - the data object classcontextDb - the database context| Method Detail |
|---|
public boolean isEmpty()
public boolean isValid()
public void clear()
public String toString()
java.lang.ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Objectpublic String patternAsLikeSql()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||