com.hardcode.gdbms.engine.data.edition
Interface PKEditableDataSource
- All Superinterfaces:
- DataSource, EditableDataSource, ReadAccess
- All Known Implementing Classes:
- DBSpatialDataSourceAdapter, DBTableDataSourceAdapter
public interface PKEditableDataSource
- extends EditableDataSource
Methods inherited from interface com.hardcode.gdbms.engine.data.edition.EditableDataSource |
endUndoRedoAction, getFieldCount, getFieldName, getFieldType, getOriginalDriverMetadata, getOriginalFieldCount, getOriginalFieldValue, getOriginalMetadata, getType, startUndoRedoAction, undoDeletion, undoInsert, undoSet |
Methods inherited from interface com.hardcode.gdbms.engine.data.DataSource |
addEditionListener, addField, addField, addMetadataEditionListener, addSelectionListener, beginTrans, canRedo, canUndo, check, commitTrans, getAlias, getAsString, getDataSourceFactory, getDataSourceMetadata, getDispatchingMode, getDriver, getDriverMetadata, getFieldIndexByName, getMemento, getName, getRow, getSelectedRows, getWhereFilter, insertEmptyRow, insertFilledRow, isModified, redo, remove, removeEditionListener, removeField, removeMetadataEditionListener, removeSelectionListener, rollBackTrans, saveData, setDataSourceFactory, setDispatchingMode, setFieldName, setFieldValue, setSelectedRows, start, stop, undo |
getPKNames
java.lang.String[] getPKNames()
throws DriverException
- Throws:
DriverException
getFieldNames
java.lang.String[] getFieldNames()
throws DriverException
- Description copied from interface:
DataSource
- Gets the field names array
- Specified by:
getFieldNames
in interface DataSource
- Returns:
- String[]
- Throws:
DriverException
- if the access fails
getOriginalRowCount
long getOriginalRowCount()
throws DriverException
- Throws:
DriverException
getConnection
java.sql.Connection getConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
execute
void execute(java.lang.String sql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getPKValue
ValueCollection getPKValue(long rowIndex)
throws DriverException
- Throws:
DriverException
Copyright © 2005-2006 . All Rights Reserved.