|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QbfPlugin
Interface for a "plugin" to a search dialog.
The plugin determines a panel to enter the search criteria, performs its validation and executes the query.
| Method Summary | |
|---|---|
void |
cleanup()
Closes the plugin and release all ressources (esp. |
boolean |
executeQuery()
Executes the query. |
DbCursor<? extends AppDbObject> |
getCursor()
|
Collection<? extends AppDbObject> |
getObjects()
Gets the query result as a collection of objects. |
QbfPanel |
getPanel()
Determines the panel to enter the search criteria. |
QbfParameter |
getParameter()
Gets the search criteria (usually entered by the user). |
int |
getRowCount()
Gets the number of objects. |
boolean |
isParameterValid()
Performs a validation of the search criteria. |
boolean |
isResultDisplayable()
Checks whether the result is displayable, i.e. |
AppDbObject |
newAppDbObject()
Creates a new object in the database context of the plugin. |
String |
notFoundMessage()
Returns a message for "no such data found..." or whatever. |
void |
setParameter(QbfParameter parameter)
Initializes the search criteria. |
| Method Detail |
|---|
void setParameter(QbfParameter parameter)
parameter - the qbf parameterQbfParameter getParameter()
QbfPanel getPanel()
boolean isParameterValid()
boolean executeQuery()
DbCursor<? extends AppDbObject> getCursor()
Collection<? extends AppDbObject> getObjects()
int getRowCount()
boolean isResultDisplayable()
void cleanup()
AppDbObject newAppDbObject()
String notFoundMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||