com.jivesoftware.community.event
Class BlogEvent
java.lang.Object
com.jivesoftware.community.event.BlogEvent
public class BlogEvent
- extends
A class for Blog events. This class will be passed to event listeners whenever a blog event is fired
and contains all the pertinent information to the event.
Certain event types will populate the params Map with additional objects as outlined below:
| Event Type | Extra Params |
| CREATED | None |
| DELETING | None |
| MODIFIED | None |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogEvent
public BlogEvent()
BlogEvent
public BlogEvent(BlogEvent.Type eventType,
Blog blog,
Map<String,? extends Object> params)
- Creates a new blog event.
- Parameters:
eventType - the type of the blog event.blog - the blog the event corresponds to.params - parameters corresponding to the event.
getParent
public EntityDescriptor getParent()
getContainerModificationType
public ModificationType getContainerModificationType()
- A modification type from the list below that corresponds to the implementing event's type.
- Returns:
- a ModificationType.
Copyright © 1999-2007 Jive Software.