org.blojsom.plugin.admin.event
Class UserEvent

java.lang.Object
  extended byorg.blojsom.event.Event
      extended byorg.blojsom.plugin.admin.event.UserEvent
Direct Known Subclasses:
ProcessUserEvent

public class UserEvent
extends Event

UserEvent

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

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

_user

protected User _user

_blog

protected Blog _blog
Constructor Detail

UserEvent

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

Parameters:
source - Source of the event
timestamp - Event timestamp
user - User
blog - Blog
Method Detail

getUser

public User getUser()
Retrieve the User associated with the event

Returns:
User associated with event

getBlog

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

Returns:
Blog associated with event