org.blojsom.plugin.admin.event
Class CategoryEvent

java.lang.Object
  extended byorg.blojsom.event.Event
      extended byorg.blojsom.plugin.admin.event.CategoryEvent
Direct Known Subclasses:
CategoryAddedEvent, CategoryDeletedEvent, CategoryUpdatedEvent

public class CategoryEvent
extends Event

CategoryEvent

Since:
blojsom 3.0
Version:
$Id: CategoryEvent.java,v 1.2 2007/01/17 02:35:08 czarneckid Exp $
Author:
David Czarnecki

Field Summary
protected  Blog _blog
           
protected  Category _category
           
 
Fields inherited from class org.blojsom.event.Event
_eventHandled, _source, _timestamp
 
Constructor Summary
CategoryEvent(java.lang.Object source, java.util.Date timestamp, Category category, Blog blog)
          Create a new event indicating something happened with a category in the system.
 
Method Summary
 Blog getBlog()
          Retrieve the Blog associated with this event
 Category getCategory()
          Retrieve the Category associated with this event
 
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
 

Field Detail

_category

protected Category _category

_blog

protected Blog _blog
Constructor Detail

CategoryEvent

public CategoryEvent(java.lang.Object source,
                     java.util.Date timestamp,
                     Category category,
                     Blog blog)
Create a new event indicating something happened with a category in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
category - Category
blog - Blog
Method Detail

getCategory

public Category getCategory()
Retrieve the Category associated with this event

Returns:
Category

getBlog

public Blog getBlog()
Retrieve the Blog associated with this event

Returns:
Blog