com.atlassian.jira.issue.comments.util
Class DatabaseCommentIterator
java.lang.Object
com.atlassian.jira.issue.comments.util.DatabaseCommentIterator
- All Implemented Interfaces:
- CommentIterator, java.util.Iterator<Comment>
public abstract class DatabaseCommentIterator
- extends java.lang.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,
java.util.Collection<java.lang.Long> issueIds,
com.opensymphony.user.User user)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Comment>
next
public Comment next()
- Specified by:
next
in interface java.util.Iterator<Comment>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Comment>
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,
com.opensymphony.user.User user)
Copyright © 2002-2011 Atlassian. All Rights Reserved.