|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.ForumThreadIterator
com.jivesoftware.forum.proxy.ForumThreadIteratorProxy
public class ForumThreadIteratorProxy
Field Summary |
---|
Fields inherited from class com.jivesoftware.forum.ForumThreadIterator |
---|
EMPTY_ITERATOR |
Constructor Summary | |
---|---|
ForumThreadIteratorProxy(ForumThreadIterator iterator,
AuthToken authToken,
Permissions permissions)
|
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if this iterator has more threads when traversing the list in the forward direction. |
boolean |
hasPrevious()
Returns true if this list iterator has more threads when traversing the list in the reverse direction. |
java.lang.Object |
next()
Returns the next thread in the list. |
java.lang.Object |
previous()
Returns the previous element in the list. |
void |
setIndex(ForumThread thread)
Sets the index for the iteration to the specified ForumThread. |
Methods inherited from class com.jivesoftware.forum.ForumThreadIterator |
---|
remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForumThreadIteratorProxy(ForumThreadIterator iterator, AuthToken authToken, Permissions permissions)
Method Detail |
---|
public boolean hasNext()
ForumThreadIterator
hasNext
in interface java.util.Iterator
hasNext
in class ForumThreadIterator
public java.lang.Object next()
ForumThreadIterator
next
in interface java.util.Iterator
next
in class ForumThreadIterator
public boolean hasPrevious()
ForumThreadIterator
hasPrevious
in class ForumThreadIterator
public java.lang.Object previous()
ForumThreadIterator
previous
in class ForumThreadIterator
public void setIndex(ForumThread thread)
ForumThreadIterator
Implementation note: a performance setting allows an optional short-term cache so that object invalidations are delayed for a period of time. This can mean that trying to set the index for a newly created thread can fail. Ensure that this performance setting is disabled, or refrain from calling this method with newly created threads.
setIndex
in class ForumThreadIterator
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |