org.blojsom.plugin.admin.event
Class BlogEntryEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.admin.event.BlogEntryEvent
Direct Known Subclasses:
AddBlogEntryEvent, CommentEvent, DeletedBlogEntryEvent, PingbackEvent, ProcessBlogEntryEvent, TrackbackEvent, UpdatedBlogEntryEvent

public class BlogEntryEvent
extends BlojsomEvent

BlogEntryEvent

Since:
blojsom 2.22
Version:
$Id: BlogEntryEvent.java,v 1.2 2006/01/04 16:53:00 czarneckid Exp $
Author:
David Czarnecki

Field Summary
protected  BlogEntry _blogEntry
           
protected  BlogUser _blogUser
           
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
BlogEntryEvent(java.lang.Object source, java.util.Date timestamp, BlogEntry blogEntry, BlogUser blogUser)
          Create a new event indicating something happened with an entry in the system.
 
Method Summary
 BlogEntry getBlogEntry()
          Retrieve the BlogEntry associated with the event
 BlogUser getBlogUser()
          Retrieve the BlogUser associated with the event
 
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

_blogEntry

protected BlogEntry _blogEntry

_blogUser

protected BlogUser _blogUser
Constructor Detail

BlogEntryEvent

public BlogEntryEvent(java.lang.Object source,
                      java.util.Date timestamp,
                      BlogEntry blogEntry,
                      BlogUser blogUser)
Create a new event indicating something happened with an entry in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
blogEntry - BlogEntry
blogUser - BlogUser
Method Detail

getBlogEntry

public BlogEntry getBlogEntry()
Retrieve the BlogEntry associated with the event

Returns:
BlogEntry

getBlogUser

public BlogUser getBlogUser()
Retrieve the BlogUser associated with the event

Returns:
BlogUser