|
||||||||||
| 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| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.model.mem.MemDataPage |
|---|
drMasterDataRow, rdRowDefinition, rootDataBook |
| Constructor Summary | |
|---|---|
RemoteDataPage(MemDataBook pDataBook,
IDataRow pMasterDataRow)
Constructs a new RemoteDataPage for the specified IDataBook and the corresponding master row. |
|
| Method Summary | |
|---|---|
protected void |
addFetchedRow(java.lang.Object[] pValues)
It adds an new IDataRow to the DataPage in the object[] storage. |
void |
fetchToRow(int pRowIndex)
It tries to fetches to the specified row index in the storage. |
RemoteDataBook |
getDataBook()
Gets the parent IDataBook. |
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 |
|---|
clear, fetchAll, getChangedDataRows, getChangedRows, getDataRow, getDataRowStorage, getMasterDataRow, getRowCount, getRowCountInternal, hasChanges, isAllFetched, searchNext, searchNext, searchPrevious, searchPrevious, setAllFetched, setDataRow, setMasterDataRow, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDataPage(MemDataBook 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.
getDataBook in interface IDataPagegetDataBook in class MemDataPageIDataBook.
protected void addFetchedRow(java.lang.Object[] pValues)
throws ModelException
addFetchedRow in class MemDataPagepValues - the values.
ModelException - if the IDataRow couldn't add to the storage.
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 | |||||||||