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

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

public class PKTransactionSupport
extends RowTransactionSupport


Field Summary
 
Fields inherited from class com.hardcode.gdbms.engine.data.edition.RowTransactionSupport
ds, internalBuffer, mes
 
Constructor Summary
PKTransactionSupport(PKEditableDataSource ds, java.lang.String tableName, DBDriver driver, MetadataEditionSupport mes)
           
 
Method Summary
 void beginTrans(long rc)
           
 void close()
           
 void deleteRow(long rowId)
           
 Value getFieldValue(long rowIndex, int fieldId)
           
 java.lang.String getInstruction(int index)
           
 int getInstructionCount()
           
 long getRowCount()
           
 long insertRow(Value[] values)
           
 long insertRowAt(long rowIndex, Value[] values)
           
 void restoreStatus()
           
 void saveStatus()
           
 long setFieldValue(long row, int fieldId, Value value)
           
 
Methods inherited from class com.hardcode.gdbms.engine.data.edition.RowTransactionSupport
addField, getOriginalRowIndex, removeField, setFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKTransactionSupport

public PKTransactionSupport(PKEditableDataSource ds,
                            java.lang.String tableName,
                            DBDriver driver,
                            MetadataEditionSupport mes)
                     throws DriverException
Throws:
DriverException
Method Detail

beginTrans

public void beginTrans(long rc)
                throws DriverException
Overrides:
beginTrans in class RowTransactionSupport
Throws:
DriverException

close

public void close()
           throws DriverException
Overrides:
close in class RowTransactionSupport
Throws:
DriverException
See Also:
com.hardcode.gdbms.engine.data.edition.DataWare#rollBackTrans()

restoreStatus

public void restoreStatus()
Overrides:
restoreStatus in class RowTransactionSupport

saveStatus

public void saveStatus()
Overrides:
saveStatus in class RowTransactionSupport

deleteRow

public void deleteRow(long rowId)
               throws DriverException
Overrides:
deleteRow in class RowTransactionSupport
Throws:
DriverException

getFieldValue

public Value getFieldValue(long rowIndex,
                           int fieldId)
                    throws DriverException
Overrides:
getFieldValue in class RowTransactionSupport
Throws:
DriverException

getRowCount

public long getRowCount()
Overrides:
getRowCount in class RowTransactionSupport

insertRow

public long insertRow(Value[] values)
               throws DriverException
Overrides:
insertRow in class RowTransactionSupport
Throws:
DriverException

insertRowAt

public long insertRowAt(long rowIndex,
                        Value[] values)
                 throws DriverException
Overrides:
insertRowAt in class RowTransactionSupport
Throws:
DriverException

setFieldValue

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

getInstruction

public java.lang.String getInstruction(int index)
                                throws DriverException
Throws:
DriverException

getInstructionCount

public int getInstructionCount()


Copyright © 2005-2006 . All Rights Reserved.