com.atlassian.jira.issue.comments.util
Class DatabaseCommentIterator
java.lang.Object
com.atlassian.jira.issue.comments.util.DatabaseCommentIterator
- All Implemented Interfaces:
- CommentIterator, Iterator
public abstract class DatabaseCommentIterator
- extends Object
- implements CommentIterator
This iterator is not synchronized, and should not be accessed by multiple threads
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseCommentIterator
public DatabaseCommentIterator(OfBizDelegator delegator,
CommentManager commentManager,
Collection issueIds,
User user)
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
nextComment
public Comment nextComment()
- Specified by:
nextComment
in interface CommentIterator
close
public void close()
- Specified by:
close
in interface CommentIterator
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.
getCommentsIterator
public OfBizListIterator getCommentsIterator()
hasReadPermissionForAction
protected abstract boolean hasReadPermissionForAction(Comment comment,
Issue issue,
User user)
Copyright © 2002-2008 Atlassian. All Rights Reserved.