| org.apache.ojb.broker.accesslayer.OJBIterator
All known Subclasses: org.apache.ojb.broker.accesslayer.PagingIterator, org.apache.ojb.broker.accesslayer.RsIterator, org.apache.ojb.broker.accesslayer.ChainingIterator,
Method Summary | |
boolean | absolute(int row) Moves the cursor to the given row number in the iterator.
If the row number is positive, the cursor moves to the given row number with
respect to the beginning of the iterator. | public void | disableLifeCycleEvents() Do not fire any PBLifeCycleEvent when reading next item. | int | fullSize() | boolean | relative(int row) Moves the cursor a relative number of rows, either positive or negative. | public void | releaseDbResources() Release all internally used Database resources of the iterator.
Clients must call this methods explicitely if the iterator is not
exhausted by the client application. | int | size() |
absolute | boolean absolute(int row) throws PersistenceBrokerException(Code) | | Moves the cursor to the given row number in the iterator.
If the row number is positive, the cursor moves to the given row number with
respect to the beginning of the iterator. The first row is row 1, the second is row 2, and so on.
Parameters: row - the row to move to in this iterator, by absolute number |
disableLifeCycleEvents | public void disableLifeCycleEvents()(Code) | | Do not fire any PBLifeCycleEvent when reading next item.
|
relative | boolean relative(int row) throws PersistenceBrokerException(Code) | | Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last
row in the iterator positions the cursor before/after the the first/last row. Calling relative(0) is valid,
but does not change the cursor position.
Parameters: row - the row to move to in this iterator, by relative number |
releaseDbResources | public void releaseDbResources()(Code) | | Release all internally used Database resources of the iterator.
Clients must call this methods explicitely if the iterator is not
exhausted by the client application. If the Iterator is exhauseted
this method will be called implicitely.
|
|
|