|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.ForumMessageIterator
com.jivesoftware.forum.proxy.ForumMessageIteratorProxy
public class ForumMessageIteratorProxy
| Field Summary |
|---|
| Fields inherited from class com.jivesoftware.forum.ForumMessageIterator |
|---|
EMPTY_ITERATOR |
| Constructor Summary | |
|---|---|
ForumMessageIteratorProxy(ForumMessageIterator iterator,
AuthToken authToken,
Permissions permissions)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if this iterator has more messages when traversing the list in the forward direction. |
boolean |
hasPrevious()
Returns true if this list iterator has more messages when traversing the list in the reverse direction. |
java.lang.Object |
next()
Returns the next message in the list. |
java.lang.Object |
previous()
Returns the previous element in the list. |
void |
setIndex(long messageID)
Sets the index for the iteration to the specified message ID. |
| Methods inherited from class com.jivesoftware.forum.ForumMessageIterator |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForumMessageIteratorProxy(ForumMessageIterator iterator,
AuthToken authToken,
Permissions permissions)
| Method Detail |
|---|
public boolean hasNext()
ForumMessageIterator
hasNext in interface java.util.IteratorhasNext in class ForumMessageIteratorpublic java.lang.Object next()
ForumMessageIterator
next in interface java.util.Iteratornext in class ForumMessageIteratorpublic boolean hasPrevious()
ForumMessageIterator
hasPrevious in class ForumMessageIteratorpublic java.lang.Object previous()
ForumMessageIterator
previous in class ForumMessageIteratorpublic void setIndex(long messageID)
ForumMessageIteratorImplementation note: a performance setting allows an optional short-term query 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 message can fail. Ensure that this performance setting is disabled, or refrain from calling this method with newly created messages.
setIndex in class ForumMessageIterator
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||