public class MockOfBizListIterator extends Object implements OfBizListIterator
Modifier and Type | Field and Description |
---|---|
static List<OfBizListIterator> |
openIterators |
Constructor and Description |
---|
MockOfBizListIterator(List<org.ofbiz.core.entity.GenericValue> list) |
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) |
Spliterator<org.ofbiz.core.entity.GenericValue> |
spliterator() |
public static final List<OfBizListIterator> openIterators
public MockOfBizListIterator(List<org.ofbiz.core.entity.GenericValue> list)
public org.ofbiz.core.entity.GenericValue next()
next
in interface OfBizListIterator
public boolean isCaseSensitive(String fieldName)
OfBizListIterator
isCaseSensitive
in interface OfBizListIterator
fieldName
- the name of the entity fieldpublic org.ofbiz.core.entity.GenericValue previous()
previous
in interface OfBizListIterator
public int nextIndex()
nextIndex
in interface OfBizListIterator
public int previousIndex()
previousIndex
in interface OfBizListIterator
public void remove()
remove
in interface OfBizListIterator
public void set(org.ofbiz.core.entity.GenericValue o)
set
in interface OfBizListIterator
public void add(org.ofbiz.core.entity.GenericValue o)
add
in interface OfBizListIterator
public void setDelegator(org.ofbiz.core.entity.GenericDelegator genericDelegator)
setDelegator
in interface OfBizListIterator
public void afterLast()
afterLast
in interface OfBizListIterator
public void beforeFirst()
beforeFirst
in interface OfBizListIterator
public boolean last()
last
in interface OfBizListIterator
public boolean first()
first
in interface OfBizListIterator
public void close()
OfBizListIterator
close
in interface OfBizListIterator
close
in interface AutoCloseable
public org.ofbiz.core.entity.GenericValue currentGenericValue()
currentGenericValue
in interface OfBizListIterator
public int currentIndex()
currentIndex
in interface OfBizListIterator
public boolean absolute(int i)
absolute
in interface OfBizListIterator
public void setFetchSize(int i)
setFetchSize
in interface OfBizListIterator
public List<org.ofbiz.core.entity.GenericValue> getCompleteList()
getCompleteList
in interface OfBizListIterator
public List<org.ofbiz.core.entity.GenericValue> getPartialList(int i, int i1)
getPartialList
in interface OfBizListIterator
public Iterator<org.ofbiz.core.entity.GenericValue> iterator()
OfBizListIterator
iterator
in interface OfBizListIterator
iterator
in interface Iterable<org.ofbiz.core.entity.GenericValue>
public Spliterator<org.ofbiz.core.entity.GenericValue> spliterator()
spliterator
in interface Iterable<org.ofbiz.core.entity.GenericValue>
Copyright © 2002-2023 Atlassian. All Rights Reserved.