Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.event
Interface ThreadListener

All Known Implementing Classes:
CommunityEverywhereManager, DbRewardManager, DbSearchManager, DebugEventListener, GatewayListener, PollCleanupListener, PostCountStatusLevelCalculator, TagManagerFactory, ThreadListenerAdapter, ViewCountManager, WatchListener

public interface ThreadListener

Listener for thread events.


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.
 

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 forum 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.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.