Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.event
Class BlogEvent

java.lang.Object
  extended by 
      extended by 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
MODIFIEDNone


Nested Class Summary
static class BlogEvent.Type
           
 
Constructor Summary
BlogEvent()
           
BlogEvent(BlogEvent.Type eventType, Blog blog, Map<String,? extends Object> params)
          Creates a new blog event.
 
Method Summary
 ModificationType getContainerModificationType()
          A modification type from the list below that corresponds to the implementing event's type.
 EntityDescriptor getParent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

Jive Product Page

Copyright © 1999-2007 Jive Software.