com.atlassian.jira.ofbiz
Interface OfBizListIterator

All Known Implementing Classes:
DefaultOfBizListIterator

public interface OfBizListIterator

A wrapper around 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.


Method Summary
 boolean absolute(int i)
           
 void add(org.ofbiz.core.entity.GenericValue o)
           
 void afterLast()
           
 void beforeFirst()
           
 void close()
           
 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.
 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)
           
 

Method Detail

setDelegator

void setDelegator(org.ofbiz.core.entity.GenericDelegator genericDelegator)

afterLast

void afterLast()

beforeFirst

void beforeFirst()

last

boolean last()

first

boolean first()

close

void close()

currentGenericValue

org.ofbiz.core.entity.GenericValue currentGenericValue()

currentIndex

int currentIndex()

absolute

boolean absolute(int i)

next

org.ofbiz.core.entity.GenericValue next()

nextIndex

int nextIndex()

previous

org.ofbiz.core.entity.GenericValue previous()

previousIndex

int previousIndex()

setFetchSize

void setFetchSize(int i)

getCompleteList

List<org.ofbiz.core.entity.GenericValue> getCompleteList()

getPartialList

List<org.ofbiz.core.entity.GenericValue> getPartialList(int i,
                                                        int i1)

add

void add(org.ofbiz.core.entity.GenericValue o)

remove

void remove()

set

void set(org.ofbiz.core.entity.GenericValue o)

isCaseSensitive

boolean isCaseSensitive(String fieldName)
Returns true if the specified field name in the database is case sensitive.

Parameters:
fieldName - the name of the entity field
Returns:
true if the field is case sensitive in the database
Throws:
DataAccessException - if an underlying problem occurs.


Copyright © 2002-2010 Atlassian. All Rights Reserved.