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 boolean
DataSource. connect()
Attempts to connect to a data source with the given parameters.DataTable
DataSource. createTempTable(java.lang.String name)
Creates and returns a temporary table, and adds it to this data source's list of temp tables.boolean
DataRecordSet. deleteRecords(int[] rows)
Attempts to delete the specified records from the underlying table.void
DataSourceDriver. dropDatabase(DataSource source)
Instructs the database server to drop the specified data source.boolean
DataSource. executeUpdate(DataQuery query)
Attempts to execute the given update query.DataTable
DataTable. getFilteredByList(java.util.ArrayList<java.lang.Comparable> list, java.lang.String filter_field)
Enumerates the indices of records in this table wherefilter_field
matches 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 ofLinkedDataStream
of the correct generic type, based on the data type of the linked field.static java.lang.Object
DataTypes. getInstanceForValue(java.lang.Object value, int data_type)
Converts a value from aString
to an instance of the specified type.double
LinkedDataStream. getNumericValue(T key, java.lang.String field)
Returns the value forfield
at record where link field equalskey
.DataRecordSet
DataSource. getRecordSet(DataSourceItem item)
Returns aDataRecordSet
object accessing the specified table in this data source.java.sql.ResultSet
DataSource. getResultSet(java.lang.String SQLStr)
Returns a result set from the given SQL statement.DataTableSet
DataSource. getTableSet()
Returns the set of tables for this data source.java.lang.Object
LinkedDataStream. getValue(T key, java.lang.String field)
void
DataIndex. populate(DataRecordSet record_set)
Populates this index with data fromrecordset
.void
LinkedDataStream. refresh()
int
DataIndex. seek(T seek_value)
Seeks forseek_value
in this index.boolean
DataRecordSet. set(DataSourceItem item)
boolean
DataTableSet. setFromMetaData()
Sets this table set from the information contained in its data source's metadata.boolean
DataTableSet. setFromMetaData(boolean overwrite_existing)
Sets this table set from the information contained in its data source's metadata.protected boolean
DataRecordSet. setRecordSet()
protected boolean
DataRecordSet. setRecordSet(java.lang.String SQLStr)
boolean
DataSource. setTableSet()
Refreshes the list of tables from the data source.boolean
DataSource. setTableSet(boolean overwrite_existing)
Refreshes the list of tables from the data source.void
DataField. 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 boolean
DataTableModel. applyFilter(java.util.ArrayList<? extends java.lang.Comparable> list, java.lang.String filter_field)
protected void
DataTableModel. fillCache(int row)
protected void
DataTableModel. fillCacheBlocking(int row, int start)
protected java.lang.Object
DataTableModel. getCached(int row, int col)
void
DataTableModel. prefillCache()
void
DataTableModel. setDataSourceItem(DataSourceItem item)
Constructors in mgui.interfaces.datasources that throw DataSourceException Constructor Description DataTableModel(DataSourceItem item)
DataTableModel(DataSource ds, DataSourceItem item)