|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 elementsMethod Detail |
public DataListIterator iterator() throws Exception
iterator
in interface DataList
Exception
- if any error occurspublic void close() throws Exception
close
in interface DataList
Exception
- if any error occurspublic Object get(int index, Object obj) throws Exception
get
in interface DataList
index
- the index valueobj
- the item object to fill
Exception
- if any error occurspublic boolean hasNext() throws Exception
hasNext
in interface ResultSetDataList
Exception
- if any error occurspublic void beforeFirst() throws Exception
beforeFirst
in interface ResultSetDataList
Exception
- if any error occurspublic boolean absolute(int index) throws Exception
absolute
in interface ResultSetDataList
index
- the cursor index value
Exception
- if any error occurspublic boolean elementExists(int index) throws Exception
index
poition.
elementExists
in interface ResultSetDataList
index
- the index value
index
poition,
false otherwise
Exception
- if any error occurspublic boolean isEmpty() throws Exception
isEmpty
in interface DataList
Exception
- if any error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |