org.blojsom.plugin.comment.event
Class CommentAddedEvent

java.lang.Object
  extended byorg.blojsom.event.Event
      extended byorg.blojsom.plugin.admin.event.EntryEvent
          extended byorg.blojsom.plugin.comment.event.CommentEvent
              extended byorg.blojsom.plugin.comment.event.CommentAddedEvent

public class CommentAddedEvent
extends CommentEvent

Comment Added Event indicates an event where a BlogComment has been added to the system.

Since:
blojsom 3.0
Version:
$Id: CommentAddedEvent.java,v 1.2 2007/01/17 02:35:09 czarneckid Exp $
Author:
David Czarnecki, Mark Lussier

Field Summary
 
Fields inherited from class org.blojsom.plugin.comment.event.CommentEvent
_comment
 
Fields inherited from class org.blojsom.plugin.admin.event.EntryEvent
_blog, _entry
 
Fields inherited from class org.blojsom.event.Event
_eventHandled, _source, _timestamp
 
Constructor Summary
CommentAddedEvent(java.lang.Object source, java.util.Date timestamp, Comment comment, Blog blog)
          Create a new event indicating a Comment was added in the system.
 
Methods inherited from class org.blojsom.plugin.comment.event.CommentEvent
getComment
 
Methods inherited from class org.blojsom.plugin.admin.event.EntryEvent
getBlog, getEntry
 
Methods inherited from class org.blojsom.event.Event
getSource, getTimestamp, isEventHandled, setEventHandled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentAddedEvent

public CommentAddedEvent(java.lang.Object source,
                         java.util.Date timestamp,
                         Comment comment,
                         Blog blog)
Create a new event indicating a Comment was added in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
comment - Comment
blog - Blog