|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.six.reports.data.Query
public class Query
Represents a database query. Is responsible for executing the query it represents and for its own UI
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener actionListener)
Adds an action listener to this. |
int |
compareTo(Query o)
|
DatabaseResult |
execute()
Executes this query. |
DatabaseResult |
export()
Executes this query and exports the result to the configured directory |
static java.util.List<Query> |
readQueriesFromDirectory()
Returns a list of Query objects representing SQL-files in a directory. |
void |
setSelectedItem(java.lang.Object item)
Sets the selected query. |
java.lang.String |
toString()
|
java.awt.Container |
ui()
The user interface for this query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.awt.Container ui()
public DatabaseResult execute()
public static java.util.List<Query> readQueriesFromDirectory()
public int compareTo(Query o)
compareTo
in interface java.lang.Comparable<Query>
public DatabaseResult export()
public void addActionListener(java.awt.event.ActionListener actionListener)
actionListener
- the action listenerpublic void setSelectedItem(java.lang.Object item)
item
- the query to select
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |