@PublicApi public interface OfBizListIterator extends Iterable<org.ofbiz.core.entity.GenericValue>
EntityListIterator
that does not throw
GenericEntityException
.
Note: This does not follow the contract for Iterator
, in that the next()
call does not throw
NoSuchElementException
but returns a null value if the last element has been reached.
IMPORTANT: this iterator must be closed in a finally
block, or connection leaks will ensue.
Modifier and Type | Method and Description |
---|---|
boolean |
absolute(int i) |
void |
add(org.ofbiz.core.entity.GenericValue o) |
void |
afterLast() |
void |
beforeFirst() |
void |
close()
Closes the iterator.
|
org.ofbiz.core.entity.GenericValue |
currentGenericValue() |
int |
currentIndex() |
boolean |
first() |
List<org.ofbiz.core.entity.GenericValue> |
getCompleteList() |
List<org.ofbiz.core.entity.GenericValue> |
getPartialList(int i,
int i1) |
boolean |
isCaseSensitive(String fieldName)
Returns true if the specified field name in the database is case sensitive.
|
Iterator<org.ofbiz.core.entity.GenericValue> |
iterator()
Returns a read-only iterator over the result sets.
|
boolean |
last() |
org.ofbiz.core.entity.GenericValue |
next() |
int |
nextIndex() |
org.ofbiz.core.entity.GenericValue |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(org.ofbiz.core.entity.GenericValue o) |
void |
setDelegator(org.ofbiz.core.entity.GenericDelegator genericDelegator) |
void |
setFetchSize(int i) |
forEach, spliterator
void setDelegator(org.ofbiz.core.entity.GenericDelegator genericDelegator)
void afterLast()
void beforeFirst()
boolean last()
boolean first()
void close()
org.ofbiz.core.entity.GenericValue currentGenericValue()
int currentIndex()
boolean absolute(int i)
org.ofbiz.core.entity.GenericValue next()
int nextIndex()
org.ofbiz.core.entity.GenericValue previous()
int previousIndex()
void setFetchSize(int i)
List<org.ofbiz.core.entity.GenericValue> getCompleteList()
List<org.ofbiz.core.entity.GenericValue> getPartialList(int i, int i1)
void add(org.ofbiz.core.entity.GenericValue o)
void remove()
void set(org.ofbiz.core.entity.GenericValue o)
boolean isCaseSensitive(String fieldName)
fieldName
- the name of the entity fieldDataAccessException
- if an underlying problem occurs.Copyright © 2002-2021 Atlassian. All Rights Reserved.