public interface IHistory
Modifier and Type | Method and Description |
---|---|
void |
clearHistory(int numEntries)
Remove older documents from history.
|
int |
getCount()
Returns the number of documents currently available in history.
|
int |
getIndex()
Returns the index of the current document in history.
|
int |
getMaxLength()
Get the maximum number of documents that history can hold.
|
IHistoryPage |
getPageAtIndex(int index,
boolean modifyIndex)
Called to obtain handle to the history page at a
given index.
|
void |
setMaxLength(int maxLength)
Set the maximum number of documents that history can hold.
|
int getCount()
int getIndex()
int getMaxLength()
void setMaxLength(int maxLength)
IHistoryPage getPageAtIndex(int index, boolean modifyIndex)
index
- The index value whose entry is requested.modifyIndex
- Indicates if the current index should
be modified to the passed in index.void clearHistory(int numEntries)
numEntries
- The number of documents to be
removed from history. The oldest
numEntries
are removed from history.