|
||||||||||
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(MemDataBook pDataBook,
IDataRow pMasterDataRow)
Constructs a new RemoteDataPage for the specified IDataBook and the corresponding master row. |
Method Summary | |
---|---|
protected void |
addFetchedRow(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()
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 |
---|
clear, delete, fetchAll, getChangedDataRows, getDataRow, getDataRowStorage, getMasterDataRow, getRowCount, getRowCountInternal, insert, isAllFetched, restore, searchNext, searchNext, searchPrevious, searchPrevious, setAllFetched, setDataRow, setDetailChanged, setMasterDataRow, store, toString, update |
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 IDataBookMethod Detail |
---|
public RemoteDataBook getDataBook()
IDataBook
of the IDataPage
.
getDataBook
in interface IDataPage
getDataBook
in class MemDataPage
IDataBook
of the IDataPage
.protected void addFetchedRow(Object[] pValues) throws ModelException
addFetchedRow
in class MemDataPage
pValues
- the values.
ModelException
- if the IDataRow couldn't add to the storage.public void fetchToRow(int pRowIndex) throws ModelException
fetchToRow
in class MemDataPage
pRowIndex
- the row index to use.
ModelException
- if an error occur during storage interaction.public int getEstimatedRowCount() throws ModelException
getEstimatedRowCount
in class MemDataPage
ModelException
- if an error occur during storage interaction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |