|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataPage
A IDataPage is the interface for one data page of a IDataBook.
A master IDataBook has one IDataPage for itself. If the
IDataBook is (also) a detail IDataBook
it stores all IDataPage's for each loaded master row (parent master).
IDataBook,
IChangeableDataRow| Method Summary | |
|---|---|
void |
fetchAll()
It fetches all IDataRow's from the storage. |
int[] |
getChangedDataRows()
Returns an int array with all changed rows. |
IDataBook |
getDataBook()
Returns the IDataBook of the IDataPage. |
IChangeableDataRow |
getDataRow(int pDataRowIndex)
Returns a copy of the IDataRow of the specified index. |
IDataRow |
getMasterDataRow()
Returns the corresponding master row to this IDataPage in the master DataBook. |
int |
getRowCount()
Returns the size. |
boolean |
isAllFetched()
Returns true if all rows are loaded. |
int |
searchNext(ICondition pCondition)
Searches the given condition. |
int |
searchNext(ICondition pCondition,
int pRowNum)
Searches the given condition starting at the given position. |
int |
searchPrevious(ICondition pCondition)
Searches the given condition. |
int |
searchPrevious(ICondition pCondition,
int pRowNum)
Searches the given condition starting at the given position. |
| Method Detail |
|---|
IDataBook getDataBook()
IDataBook of the IDataPage.
IDataBook of the IDataPage.
IDataRow getMasterDataRow()
throws ModelException
ModelException - if a exception occurs during synchronize.
IChangeableDataRow getDataRow(int pDataRowIndex)
throws ModelException
IDataRow of the specified index.
pDataRowIndex - the index of the requested row
IDataRow of the specified index.
ModelException - if a exception occur during the fetch.
int getRowCount()
throws ModelException
ModelException - if a exception occurs during synchronize.
void fetchAll()
throws ModelException
IDataRow's from the storage.
ModelException - if an DataSourceException happens during get all rows
boolean isAllFetched()
throws ModelException
ModelException - if the DataBook isn't open
int[] getChangedDataRows()
throws ModelException
ModelException - if a exception occurs during synchronize.
int searchNext(ICondition pCondition)
throws ModelException
pCondition - the condition.
ModelException - if a ModelException occurs.
int searchNext(ICondition pCondition,
int pRowNum)
throws ModelException
pCondition - the condition.pRowNum - the starting row.
ModelException - if a ModelException occurs.
int searchPrevious(ICondition pCondition)
throws ModelException
pCondition - the condition.
ModelException - if a ModelException occurs.
int searchPrevious(ICondition pCondition,
int pRowNum)
throws ModelException
pCondition - the condition.pRowNum - the starting row.
ModelException - if a ModelException occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||