com.hardcode.gdbms.engine.data.edition
Class RowOrientedEditionDataSourceImpl

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.edition.RowOrientedEditionDataSourceImpl

public class RowOrientedEditionDataSourceImpl
extends java.lang.Object


Field Summary
protected  ReadAccess driver
           
 
Constructor Summary
RowOrientedEditionDataSourceImpl(EditableDataSource ds, ReadAccess driver, MetadataEditionSupport mes)
           
 
Method Summary
 void addEditionListener(EditionListener listener)
           
 void addField()
           
 void beginTrans()
           
 void commitTrans()
           
 void deleteRow(long rowId)
           
 void endUndoRedoAction()
           
 int getDispatchingMode()
           
 Value getFieldValue(long rowIndex, int fieldId)
           
 long getRowCount()
           
 void insertEmptyRow()
           
 void insertEmptyRowAt(long index)
           
 void insertFilledRow(Value[] values)
           
 void insertFilledRowAt(long index, Value[] values)
           
 boolean isModified()
           
 void removeEditionListener(EditionListener listener)
           
 void removeField(int index)
           
 void restoreStatus()
           
 void rollBackTrans()
           
 void saveStatus()
           
 void setDispatchingMode(int dispatchingMode)
           
 void setDriver(ReadAccess driver)
           
 void setFieldName()
           
 void setFieldValue(long row, int fieldId, Value value)
           
 void startUndoRedoAction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

protected ReadAccess driver
Constructor Detail

RowOrientedEditionDataSourceImpl

public RowOrientedEditionDataSourceImpl(EditableDataSource ds,
                                        ReadAccess driver,
                                        MetadataEditionSupport mes)
Method Detail

beginTrans

public void beginTrans()
                throws DriverException
Throws:
DriverException

setFieldValue

public void setFieldValue(long row,
                          int fieldId,
                          Value value)
                   throws DriverException
Throws:
DriverException

getRowCount

public long getRowCount()
                 throws DriverException
Throws:
DriverException
See Also:
ReadAccess.getRowCount()

insertEmptyRow

public void insertEmptyRow()
                    throws DriverException
Throws:
DriverException

insertFilledRow

public void insertFilledRow(Value[] values)
                     throws DriverException
Throws:
DriverException

insertFilledRowAt

public void insertFilledRowAt(long index,
                              Value[] values)
                       throws DriverException
Throws:
DriverException

insertEmptyRowAt

public void insertEmptyRowAt(long index)
                      throws DriverException
Throws:
DriverException

getFieldValue

public Value getFieldValue(long rowIndex,
                           int fieldId)
                    throws DriverException
Throws:
DriverException
See Also:
ReadAccess.getFieldValue(long, int)

saveStatus

public void saveStatus()

restoreStatus

public void restoreStatus()

commitTrans

public void commitTrans()
                 throws DriverException
Throws:
DriverException

deleteRow

public void deleteRow(long rowId)
               throws DriverException
Throws:
DriverException

rollBackTrans

public void rollBackTrans()
                   throws DriverException
Throws:
DriverException

setDriver

public void setDriver(ReadAccess driver)

addEditionListener

public void addEditionListener(EditionListener listener)

removeEditionListener

public void removeEditionListener(EditionListener listener)

setDispatchingMode

public void setDispatchingMode(int dispatchingMode)

getDispatchingMode

public int getDispatchingMode()

removeField

public void removeField(int index)

addField

public void addField()

startUndoRedoAction

public void startUndoRedoAction()

endUndoRedoAction

public void endUndoRedoAction()

setFieldName

public void setFieldName()

isModified

public boolean isModified()


Copyright © 2005-2006 . All Rights Reserved.