com.atlassian.jira.issue.comments.util
Class LuceneCommentIterator

java.lang.Object
  extended by com.atlassian.jira.issue.comments.util.LuceneCommentIterator
All Implemented Interfaces:
CommentIterator, Iterator

public class LuceneCommentIterator
extends Object
implements CommentIterator


Constructor Summary
LuceneCommentIterator(SearchProviderFactory searchProviderFactory, CommentService commentService, Collection issueIds, User user)
           
LuceneCommentIterator(SearchProviderFactory searchProviderFactory, CommentService commentService, Collection issueIds, User user, Date fromDate, Date toDate, Long previousOffset, Long nextOffset)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Object next()
           
 Comment nextComment()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneCommentIterator

public LuceneCommentIterator(SearchProviderFactory searchProviderFactory,
                             CommentService commentService,
                             Collection issueIds,
                             User user)

LuceneCommentIterator

public LuceneCommentIterator(SearchProviderFactory searchProviderFactory,
                             CommentService commentService,
                             Collection issueIds,
                             User user,
                             Date fromDate,
                             Date toDate,
                             Long previousOffset,
                             Long nextOffset)
Method Detail

hasNext

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

nextComment

public Comment nextComment()
Specified by:
nextComment in interface CommentIterator

close

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

next

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

remove

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


Copyright © 2002-2007 Atlassian. All Rights Reserved.