Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community.event
Interface ThreadListener


public interface ThreadListener

A ThreadListener gets notified anytime a thread event is fired. Concrete implementations of this class must have a zero argument constructor.


Method Summary
 void threadAdded(ThreadEvent event)
          Fired when a thread has been added to the system.
 void threadDeleted(ThreadEvent event)
          Fired when a thread is about to be deleted from the system.
 void threadModerationModified(ThreadEvent event)
          Fired when the moderation value of a thread has been changed.
 void threadMoved(ThreadEvent event)
          Fired when a thread is moved from one foru to another.
 void threadRated(ThreadEvent event)
          Fired when the thread has been rated.
 void threadViewed(ThreadEvent event)
          Fired when the thread has been viewed.
 

Method Detail

threadAdded

void threadAdded(ThreadEvent event)
Fired when a thread has been added to the system.

Parameters:
event - the event object.

threadDeleted

void threadDeleted(ThreadEvent event)
Fired when a thread is about to be deleted from the system. This event will only be fired when an individual thread is deleted; it is not fired when the community that contains the thread is deleted. Because various code pieces may depend on this event for performing cleanup tasks, it's guaranteed that this method will be called before the thread is deleted from the database.

Parameters:
event - the event object.

threadMoved

void threadMoved(ThreadEvent event)
Fired when a thread is moved from one foru to another.

Parameters:
event - the event object.

threadModerationModified

void threadModerationModified(ThreadEvent event)
Fired when the moderation value of a thread has been changed.

Parameters:
event - the event object.

threadRated

void threadRated(ThreadEvent event)
Fired when the thread has been rated.

Parameters:
event - the event object.

threadViewed

void threadViewed(ThreadEvent event)
Fired when the thread has been viewed.

Parameters:
event - the event object.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.