Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.forum.event
Interface AnnouncementListener


public interface AnnouncementListener

Listener for announcement events.

Since:
4.0

Method Summary
 void announcementCreated(AnnouncementEvent event)
          Fired when an announcement has been added to the system.
 void announcementDeleted(AnnouncementEvent event)
          Fired when an announcement is about to be deleted from the system.
 void announcementModified(AnnouncementEvent event)
          Fired when portions of an announcement have been modified.
 

Method Detail

announcementCreated

void announcementCreated(AnnouncementEvent event)
Fired when an announcement has been added to the system. Care should be taken with this event type since an announcement may not become immediately visible to end users (it is not visible except after the start date and before the end date).

Parameters:
event - the event object.

announcementDeleted

void announcementDeleted(AnnouncementEvent event)
Fired when an announcement is about to be deleted from the system. This event will only be fired when an individual announcement is deleted; it is not fired when the container object 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 announcement is deleted from the database.

Parameters:
event - the event object.

announcementModified

void announcementModified(AnnouncementEvent event)
Fired when portions of an announcement have been modified.

Parameters:
event - the event object.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.