Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.watches
Class BatchWatchResult

java.lang.Object
  extended by com.jivesoftware.forum.watches.BatchWatchResult

public class BatchWatchResult
extends java.lang.Object

BatchWatchResult holds a count of watch results for a given batch watch, as well as a list of watched messages. The count will be the total number of messages modified since the last batch watch notification, but the list of messages will contain no more than the upper bound defined by the jive property "watches.digest.maxMessagesPerWatch", which defaults to 10.


Constructor Summary
BatchWatchResult(int messageCount, int threadCount, java.util.List results)
           
BatchWatchResult(int messageCount, java.util.List results)
           
 
Method Summary
 java.util.List getMessageList()
           
 int getTotalCount()
          Deprecated. This method only exists so that existing watch templates do not break
 int getTotalMessageCount()
           
 int getTotalThreadCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchWatchResult

public BatchWatchResult(int messageCount,
                        int threadCount,
                        java.util.List results)

BatchWatchResult

public BatchWatchResult(int messageCount,
                        java.util.List results)
Method Detail

getTotalCount

public int getTotalCount()
Deprecated. This method only exists so that existing watch templates do not break


getTotalMessageCount

public int getTotalMessageCount()

getTotalThreadCount

public int getTotalThreadCount()

getMessageList

public java.util.List getMessageList()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.