Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community.event
Interface BlogPostListener

All Known Implementing Classes:
TagManagerFactory

public interface BlogPostListener

A BlogPostListener gets notified anytime a blog post event is fired. Concrete implementations of this class must have a zero argument constructor.


Method Summary
 void postCreated(BlogPostEvent event)
          Fired when a post has been added to the system.
 void postDeleting(BlogPostEvent event)
          Fired when a post is about to be deleted from the system.
 void postModified(BlogPostEvent event)
          Fired when a post has been modified in the system.
 void postViewed(BlogPostEvent event)
          Fired when a post has been viewed in the system.
 

Method Detail

postCreated

void postCreated(BlogPostEvent event)
Fired when a post has been added to the system.

Parameters:
event - the event object.

postDeleting

void postDeleting(BlogPostEvent event)
Fired when a post is about to be deleted from the system. Because various code pieces may depend on this event for performing cleanup tasks, it's guaranteed that this method will be called before the message is deleted from the database.

Parameters:
event - the event object.

postModified

void postModified(BlogPostEvent event)
Fired when a post has been modified in the system.

Parameters:
event - the event object

postViewed

void postViewed(BlogPostEvent event)
Fired when a post has been viewed in the system.

Parameters:
event - the event object

Clearspace Project Page

Copyright © 1999-2007 Jive Software.