org.blojsom.plugin.admin.event
Class BlogCategoryEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.admin.event.BlogCategoryEvent
Direct Known Subclasses:
AddedBlogCategoryEvent, DeletedBlogCategoryEvent, UpdatedBlogCategoryEvent

public class BlogCategoryEvent
extends BlojsomEvent

BlogCategoryEvent

Since:
blojsom 2.28
Version:
$Id: $
Author:
David Czarnecki

Field Summary
protected  BlogCategory _blogCategory
           
protected  BlogUser _blogUser
           
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
BlogCategoryEvent(java.lang.Object source, java.util.Date timestamp, BlogCategory blogCategory, BlogUser blogUser)
          Create a new event indicating something happened with a category in the system.
 
Method Summary
 BlogCategory getBlogCategory()
          Retrieve the BlogCategory associated with this event
 BlogUser getBlogUser()
          Retrieve the BlogUser associated with this 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

_blogCategory

protected BlogCategory _blogCategory

_blogUser

protected BlogUser _blogUser
Constructor Detail

BlogCategoryEvent

public BlogCategoryEvent(java.lang.Object source,
                         java.util.Date timestamp,
                         BlogCategory blogCategory,
                         BlogUser blogUser)
Create a new event indicating something happened with a category in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
blogCategory - BlogCategory
blogUser - BlogUser
Method Detail

getBlogCategory

public BlogCategory getBlogCategory()
Retrieve the BlogCategory associated with this event

Returns:
BlogCategory

getBlogUser

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

Returns:
BlogUser