|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hardcode.gdbms.engine.data.command.AbstractUndoableDataSource
com.hardcode.gdbms.engine.data.command.UndoableAlphanumericDataSource
public class UndoableAlphanumericDataSource
| Field Summary |
|---|
| Fields inherited from class com.hardcode.gdbms.engine.data.command.AbstractUndoableDataSource |
|---|
cs, dataSource |
| Fields inherited from interface com.hardcode.gdbms.engine.data.DataSource |
|---|
COHERENT_ROW_ORDER, DIRECT_MODE, DISPATCH, IGNORE, STORE |
| Constructor Summary | |
|---|---|
UndoableAlphanumericDataSource(DataSource ds)
|
|
| Method Summary | |
|---|---|
void |
deleteRow(long rowId)
Deletes the ith row of the DataSource |
void |
insertEmptyRow()
Inserts a row at the end of the dataware |
void |
insertEmptyRowAt(long index)
Inserts a row at the end of the dataware |
void |
insertFilledRow(Value[] values)
Inserts a row at the end of the dataware with the specified values |
void |
insertFilledRowAt(long index,
Value[] values)
Inserts a row at the end of the dataware with the specified values |
| Methods inherited from class com.hardcode.gdbms.engine.data.command.AbstractUndoableDataSource |
|---|
addEditionListener, addField, addField, addMetadataEditionListener, addSelectionListener, beginTrans, canRedo, canUndo, check, commitTrans, getAlias, getAsString, getDataSourceFactory, getDataSourceMetadata, getDispatchingMode, getDriver, getDriverMetadata, getEmptyRow, getFieldIndexByName, getFieldNames, getFieldValue, getMemento, getName, getRow, getRowCount, getSelectedRows, getWhereFilter, isModified, redo, remove, removeEditionListener, removeField, removeMetadataEditionListener, removeSelectionListener, rollBackTrans, saveData, setDataSourceFactory, setDispatchingMode, setFieldName, setFieldValue, setSelectedRows, start, stop, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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, getFieldNames, getMemento, getName, getRow, getSelectedRows, getWhereFilter, 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 |
| Constructor Detail |
|---|
public UndoableAlphanumericDataSource(DataSource ds)
| Method Detail |
|---|
public void deleteRow(long rowId)
throws DriverException
AlphanumericDataSource
deleteRow in interface AlphanumericDataSourcerowId - index of the row to be deleted
DriverException - if the row could not be deleted
public void insertEmptyRow()
throws DriverException
DataSource
insertEmptyRow in interface DataSourceDriverException - if the row could not be inserted
public void insertEmptyRowAt(long index)
throws DriverException
AlphanumericDataSource
insertEmptyRowAt in interface AlphanumericDataSourceindex - index where the row will be inserted. No data is lost.
DriverException - if the row could not be inserted
public void insertFilledRow(Value[] values)
throws DriverException
DataSource
insertFilledRow in interface DataSourcevalues - Values of the inserted row fields in the field order
DriverException - if the row could not be inserted
public void insertFilledRowAt(long index,
Value[] values)
throws DriverException
AlphanumericDataSource
insertFilledRowAt in interface AlphanumericDataSourceindex - index where the row will be inserted. No data is lost.values - Values of the inserted row fields in the field order
DriverException - if the row could not be inserted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||