org.blojsom.plugin.comment.event
Class CommentEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.admin.event.BlogEntryEvent
          extended byorg.blojsom.plugin.comment.event.CommentEvent
Direct Known Subclasses:
CommentAddedEvent, CommentApprovedEvent, CommentDeletedEvent

public class CommentEvent
extends BlogEntryEvent

Comment Event indicates an event dealing with a BlogComment.

Since:
blojsom 2.23
Version:
$Id: CommentEvent.java,v 1.2 2006/01/04 16:53:00 czarneckid Exp $
Author:
Mark Lussier

Field Summary
protected  BlogComment _blogComment
           
 
Fields inherited from class org.blojsom.plugin.admin.event.BlogEntryEvent
_blogEntry, _blogUser
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
CommentEvent(java.lang.Object source, java.util.Date timestamp, BlogComment blogComment, BlogUser blogUser)
          Create a new event indicating something happened with a BlogComment in the system.
 
Method Summary
 BlogComment getBlogComment()
          Retrieve the BlogComment associated with the event
 
Methods inherited from class org.blojsom.plugin.admin.event.BlogEntryEvent
getBlogEntry, getBlogUser
 
Methods inherited from class org.blojsom.event.BlojsomEvent
getSource, getTimestamp, isEventHandled, setEventHandled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_blogComment

protected BlogComment _blogComment
Constructor Detail

CommentEvent

public CommentEvent(java.lang.Object source,
                    java.util.Date timestamp,
                    BlogComment blogComment,
                    BlogUser blogUser)
Create a new event indicating something happened with a BlogComment in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
blogComment - BlogComment
blogUser - BlogUser
Method Detail

getBlogComment

public BlogComment getBlogComment()
Retrieve the BlogComment associated with the event

Returns:
BlogComment