JIDE 3.5.15

com.jidesoft.database
Interface CrudRowOperations

All Known Subinterfaces:
CrudTableModel
All Known Implementing Classes:
BatchedCrudTableModelWrapper, CrudDatabaseTableModel, CrudTableModelAdapter, ResultSetTableModelCrudSupport

public interface CrudRowOperations

Provides access


Method Summary
 void deleteRow(int rowIndex)
          Delete data of a designated row.
 void insertRow(Record record)
          Add a row to the table model.
 Record readRow(int rowIndex)
          Read data of a designated row.
 void updateRow(int rowIndex, Record columns)
          Update data of a designated row with data.
 

Method Detail

insertRow

void insertRow(Record record)
               throws Exception
Add a row to the table model.

Parameters:
record - the data structure
Throws:
Exception - if encouting any database update error

readRow

Record readRow(int rowIndex)
               throws Exception
Read data of a designated row.

Parameters:
rowIndex - the row index
Returns:
the data structure
Throws:
Exception - if encouting any database read error

updateRow

void updateRow(int rowIndex,
               Record columns)
               throws Exception
Update data of a designated row with data.

Parameters:
rowIndex - the row index
columns - the data array
Throws:
Exception - if encouting any database update error

deleteRow

void deleteRow(int rowIndex)
               throws Exception
Delete data of a designated row.

Parameters:
rowIndex - the row index
Throws:
Exception - if encouting any database update error.

JIDE 3.5.15