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(Object o)
           
 void afterLast()
           
 void beforeFirst()
           
 void close()
           
 org.ofbiz.core.entity.GenericValue currentGenericValue()
           
 int currentIndex()
           
 boolean first()
           
 List getCompleteList()
           
 List getPartialList(int i, int i1)
           
 boolean isCaseSensitive(String fieldName)
          Returns true if the specified field name in the database is case sensitive.
 boolean last()
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object 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

Object next()

nextIndex

int nextIndex()

previous

Object previous()

previousIndex

int previousIndex()

setFetchSize

void setFetchSize(int i)

getCompleteList

List getCompleteList()

getPartialList

List getPartialList(int i,
                    int i1)

add

void add(Object o)

remove

void remove()

set

void set(Object 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-2009 Atlassian. All Rights Reserved.