|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.pow2.dao.datalist.ResultSetDataListChunk
ResultSetDataListChunk class.
| Field Summary | |
protected static org.apache.log4j.Category |
cat
Log4J category. |
| Constructor Summary | |
ResultSetDataListChunk(ResultSetDataList rsDataList,
int firstElementIndex,
int countOfElements)
Constructor |
|
| Method Summary | |
boolean |
absolute(int index)
Move the resultSetDataListChunk cursor to a specific row number. |
void |
beforeFirst()
Move the resultSetDataListChunk cursor before the first row of the list. |
void |
close()
Close the data list. |
boolean |
elementExists(int index)
Check if any element exist at the index poition. |
Object |
get(int index,
Object obj)
Put object state in item and return it. |
boolean |
hasNext()
Check if the resultSet data list has got another element. |
boolean |
isEmpty()
Check if the resultSetDataListChunk is empty. |
DataListIterator |
iterator()
Get the DataListIterator object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.log4j.Category cat
| Constructor Detail |
public ResultSetDataListChunk(ResultSetDataList rsDataList,
int firstElementIndex,
int countOfElements)
rsDataList - the resultSetDataList objectfirstElementIndex - the index of the first element of the chunkcountOfElements - the number of the chunk elements| Method Detail |
public DataListIterator iterator()
throws Exception
iterator in interface DataListException - if any error occurs
public void close()
throws Exception
close in interface DataListException - if any error occurs
public Object get(int index,
Object obj)
throws Exception
get in interface DataListindex - the index valueobj - the item object to fill
Exception - if any error occurs
public boolean hasNext()
throws Exception
hasNext in interface ResultSetDataListException - if any error occurs
public void beforeFirst()
throws Exception
beforeFirst in interface ResultSetDataListException - if any error occurs
public boolean absolute(int index)
throws Exception
absolute in interface ResultSetDataListindex - the cursor index value
Exception - if any error occurs
public boolean elementExists(int index)
throws Exception
index poition.
elementExists in interface ResultSetDataListindex - the index value
index poition,
false otherwise
Exception - if any error occurs
public boolean isEmpty()
throws Exception
isEmpty in interface DataListException - if any error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||