com.hardcode.gdbms.engine.data.edition
Interface PKEditableDataSource

All Superinterfaces:
DataSource, EditableDataSource, ReadAccess
All Known Implementing Classes:
DBSpatialDataSourceAdapter, DBTableDataSourceAdapter

public interface PKEditableDataSource
extends EditableDataSource


Field Summary
 
Fields inherited from interface com.hardcode.gdbms.engine.data.DataSource
COHERENT_ROW_ORDER, DIRECT_MODE, DISPATCH, IGNORE, STORE
 
Method Summary
 void execute(java.lang.String sql)
           
 java.sql.Connection getConnection()
           
 java.lang.String[] getFieldNames()
          Gets the field names array
 long getOriginalRowCount()
           
 java.lang.String[] getPKNames()
           
 ValueCollection getPKValue(long rowIndex)
           
 
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
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.ReadAccess
getFieldValue, getRowCount
 

Method Detail

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.