|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.model.mem.MemDataPage
com.sibvisions.rad.model.remote.RemoteDataPage
public class RemoteDataPage
A RemoteDataPage extends the MemDataPage with storage operations.
It fetches the data rows and the count of rows from the IDBAccess.
IDataBook,
IDataPage,
IChangeableDataRow| Constructor Summary | |
|---|---|
RemoteDataPage(IDataBook pDataBook,
IDataRow pMasterDataRow)
Constructs a new RemoteDataPage for the specified IDataBook and the corresponding master row. |
|
| Method Summary | |
|---|---|
void |
fetchToRow(int pRowIndex)
It tries to fetches to the specified row index in the storage. |
RemoteDataBook |
getDataBook()
Returns the IDataBook of the IDataPage. |
int |
getEstimatedRowCount()
Returns the count of rows in the storage for this RemoteDataPage in the RemoteDataBook. |
| Methods inherited from class com.sibvisions.rad.model.mem.MemDataPage |
|---|
addChange, addFetchedRow, clear, delete, fetchAll, getChangedDataRows, getDataRow, getDataRowInternal, getMasterDataRow, getRowCount, getRowCountInternal, insert, isAllFetched, removeChange, setAllFetched, setDataRowInternal, setMasterDataRow, shiftIndicies, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDataPage(IDataBook pDataBook,
IDataRow pMasterDataRow)
pDataBook - the IDataBook which uses this MemDataPagepMasterDataRow - the corresponding master row of the master IDataBook of the
above specified IDataBook| Method Detail |
|---|
public RemoteDataBook getDataBook()
IDataBook of the IDataPage.
getDataBook in interface IDataPagegetDataBook in class MemDataPageIDataBook of the IDataPage.
public void fetchToRow(int pRowIndex)
throws ModelException
fetchToRow in class MemDataPagepRowIndex - the row index to use.
ModelException - if an error occur during storage interaction.
public int getEstimatedRowCount()
throws ModelException
getEstimatedRowCount in class MemDataPageModelException - if an error occur during storage interaction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||