Uses of Class
mgui.datasources.DataSourceException
| Package | Description |
|---|---|
| mgui.datasources |
This package contains the core classes for data source functionality.
|
| mgui.interfaces.datasources |
This package provides interface objects which allow the user to interface with the
core data source classes.
|
-
Uses of DataSourceException in mgui.datasources
Methods in mgui.datasources that throw DataSourceException Modifier and Type Method Description booleanDataSource. connect()Attempts to connect to a data source with the given parameters.DataTableDataSource. createTempTable(java.lang.String name)Creates and returns a temporary table, and adds it to this data source's list of temp tables.booleanDataRecordSet. deleteRecords(int[] rows)Attempts to delete the specified records from the underlying table.voidDataSourceDriver. dropDatabase(DataSource source)Instructs the database server to drop the specified data source.booleanDataSource. executeUpdate(DataQuery query)Attempts to execute the given update query.DataTableDataTable. getFilteredByList(java.util.ArrayList<java.lang.Comparable> list, java.lang.String filter_field)Enumerates the indices of records in this table wherefilter_fieldmatches an element inlist.static LinkedDataStream<?>LinkedDataStream. getInstance(DataSource data_source, java.lang.String data_table, java.lang.String link_field, boolean cached, java.lang.String name, boolean is_name_map)Returns an instance ofLinkedDataStreamof the correct generic type, based on the data type of the linked field.static java.lang.ObjectDataTypes. getInstanceForValue(java.lang.Object value, int data_type)Converts a value from aStringto an instance of the specified type.doubleLinkedDataStream. getNumericValue(T key, java.lang.String field)Returns the value forfieldat record where link field equalskey.DataRecordSetDataSource. getRecordSet(DataSourceItem item)Returns aDataRecordSetobject accessing the specified table in this data source.java.sql.ResultSetDataSource. getResultSet(java.lang.String SQLStr)Returns a result set from the given SQL statement.DataTableSetDataSource. getTableSet()Returns the set of tables for this data source.java.lang.ObjectLinkedDataStream. getValue(T key, java.lang.String field)voidDataIndex. populate(DataRecordSet record_set)Populates this index with data fromrecordset.voidLinkedDataStream. refresh()intDataIndex. seek(T seek_value)Seeks forseek_valuein this index.booleanDataRecordSet. set(DataSourceItem item)booleanDataTableSet. setFromMetaData()Sets this table set from the information contained in its data source's metadata.booleanDataTableSet. setFromMetaData(boolean overwrite_existing)Sets this table set from the information contained in its data source's metadata.protected booleanDataRecordSet. setRecordSet()protected booleanDataRecordSet. setRecordSet(java.lang.String SQLStr)booleanDataSource. setTableSet()Refreshes the list of tables from the data source.booleanDataSource. setTableSet(boolean overwrite_existing)Refreshes the list of tables from the data source.voidDataField. setValue(java.lang.Object value)Constructors in mgui.datasources that throw DataSourceException Constructor Description LinkedDataStream(DataSource data_source, java.lang.String data_table, java.lang.String link_field)LinkedDataStream(DataSource data_source, java.lang.String data_table, java.lang.String link_field, boolean cached)LinkedDataStream(DataSource data_source, java.lang.String data_table, java.lang.String link_field, boolean cached, java.lang.String name)LinkedDataStream(DataSource data_source, java.lang.String data_table, java.lang.String link_field, java.lang.String name) -
Uses of DataSourceException in mgui.interfaces.datasources
Methods in mgui.interfaces.datasources that throw DataSourceException Modifier and Type Method Description booleanDataTableModel. applyFilter(java.util.ArrayList<? extends java.lang.Comparable> list, java.lang.String filter_field)protected voidDataTableModel. fillCache(int row)protected voidDataTableModel. fillCacheBlocking(int row, int start)protected java.lang.ObjectDataTableModel. getCached(int row, int col)voidDataTableModel. prefillCache()voidDataTableModel. setDataSourceItem(DataSourceItem item)Constructors in mgui.interfaces.datasources that throw DataSourceException Constructor Description DataTableModel(DataSourceItem item)DataTableModel(DataSource ds, DataSourceItem item)