com.atlassian.jira.issue.util
Class DatabaseIssuesIterator

java.lang.Object
  extended by com.atlassian.jira.issue.util.DatabaseIssuesIterator
All Implemented Interfaces:
IssueIterator, Iterator

public class DatabaseIssuesIterator
extends Object
implements IssueIterator

This iterator is not synchronized, and should not be accessed by multiple threads


Constructor Summary
DatabaseIssuesIterator(OfBizDelegator delegator, IssueFactory issueFactory)
           
 
Method Summary
 void close()
           
 OfBizListIterator getIssuesIterator()
           
 boolean hasNext()
           
 Object next()
           
 Issue nextIssue()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseIssuesIterator

public DatabaseIssuesIterator(OfBizDelegator delegator,
                              IssueFactory issueFactory)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

nextIssue

public Issue nextIssue()
Specified by:
nextIssue in interface IssueIterator

close

public void close()
Specified by:
close in interface IssueIterator

getIssuesIterator

public OfBizListIterator getIssuesIterator()


Copyright © 2002-2009 Atlassian. All Rights Reserved.