| java.lang.Object org.netbeans.modules.visualweb.dataconnectivity.sql.DesignTimeDataSourceHelper
DesignTimeDataSourceHelper | public class DesignTimeDataSourceHelper (Code) | | Helper class used by server navigator. Helps manage
datasources in Creator's naming context.
author: John Kline, John Baker |
Method Summary | |
public DesignTimeDataSource | addDataSource(String name, String driverClassName, String url, String validationQuery, String username, String password) | public DesignTimeDataSource | addFullNameDataSource(String name, String driverClassName, String url, String validationQuery, String username, String password) | public DesignTimeDataSource | addFullNameDataSource(String name, DesignTimeDataSource ds) | public boolean | dataSourceAdded() | public boolean | datasourcesInProject(Project currentProj) | public void | deleteDataSource(String name) | public ArrayList | getAllDataSourceBindings() Compose list of all data sources. | public DesignTimeDataSource | getDataSource(String name) | public DataSourceExport[] | getDataSourceExports() | public DesignTimeDataSource | getDataSourceFromFullName(String fullName) | public static DataSourceImport[] | getDataSourceImports(InputStream is) | public String[] | getDataSourceNames() | public DesignTimeDataSource[] | getDataSources() | public static DataSourceInfo | getDsInfo(String dsName) | public ArrayList | getNamesAndDataSources(Context curCtx, String startName, String dsNamePrefix) | public int | importDataSources(DataSourceImport[] imports) | public static boolean | isFound(DataSourceInfo ds) | public static boolean | isFound(DesignTimeDataSource ds) | public boolean | nameInUseInContext(String name) Check to see if the name or part of the name is in use. | public void | refresh() | public void | save() | public void | updateCtxBindings(Map bindings) | public Map | updateDataSource(Project currentProj) | public static void | writeExportDocument(OutputStream os, DataSourceExport[] exports) |
dataSourceAdded | public boolean dataSourceAdded()(Code) | | |
datasourcesInProject | public boolean datasourcesInProject(Project currentProj)(Code) | | |
isFound | public static boolean isFound(DataSourceInfo ds)(Code) | | Make sure the connections needed by the data sources have been registered
using DatasourceInfo
|
isFound | public static boolean isFound(DesignTimeDataSource ds)(Code) | | Make sure the connections needed by the data sources have been registered
using DesignTimeDataSource
|
nameInUseInContext | public boolean nameInUseInContext(String name)(Code) | | Check to see if the name or part of the name is in use.
|
refresh | public void refresh()(Code) | | |
updateCtxBindings | public void updateCtxBindings(Map bindings)(Code) | | |
updateDataSource | public Map updateDataSource(Project currentProj)(Code) | | |
|
|