|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.netbeans.modules.moredatatemplates.wizard.ConnectionActions
Implementation of the connection actions to get information for the code generation. The goal of this class is to have the information about only database connections.
| Constructor Summary | |
ConnectionActions()
|
|
| Method Summary | |
void |
closeConnection(WizardConnectionProgress jdialog)
Connect to the data source choosed by the user and get information about tables and columns Get a list of information about the tables and views to use in the wizard. |
void |
createConnection(WizardConnectionProgress jdialog)
Connect to the data source choosed by the user and get information about tables and columns Get a list of information about the tables and views to use in the wizard. |
java.util.ArrayList |
getSchemasNames(WizardConnectionProgress jdialog)
Load the schemas names from database. |
java.util.ArrayList |
getTableInformation(WizardConnectionProgress jdialog)
Load the information of the table in the connections using the parameters filled in the text fields |
boolean |
isConnected()
Getter for property connected. |
void |
setData(Data data)
Setter for property data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionActions()
| Method Detail |
public void createConnection(WizardConnectionProgress jdialog)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
jdialog - The dialog used to show the table being readed.
java.sql.SQLException - An error ocurred in an SQL action.
java.lang.ClassNotFoundException
public java.util.ArrayList getTableInformation(WizardConnectionProgress jdialog)
throws java.sql.SQLException
jdialog - The dialog used as progress bar
java.sql.SQLException
public java.util.ArrayList getSchemasNames(WizardConnectionProgress jdialog)
throws java.sql.SQLException
jdialog - The dialog used as progress bar
java.sql.SQLException
public void closeConnection(WizardConnectionProgress jdialog)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
jdialog - The dialog used to show the table being readed.
java.sql.SQLException - An error ocurred in an SQL action.
java.lang.ClassNotFoundException
public boolean isConnected()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setData(Data data)
data - New value of property data.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||