com.atlassian.jira.issue.comments.util
Class LuceneCommentIterator
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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
size
public int size()
- Description copied from interface:
CommentIterator
- Returns the total number of comments this iterator contains.
- Specified by:
size
in interface CommentIterator
- Returns:
- the total number of comments this iterator contains.
Copyright © 2002-2009 Atlassian. All Rights Reserved.