|
Clearspace API (2.5.18) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.event.BlogEvent
public class BlogEvent
A class for Blog events. This class will be passed to BlogListeners
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 |
|---|---|
| BLOG_CREATED | None |
| BLOG_DELETING | None |
| BLOG_MODIFIED | None |
| Field Summary | |
|---|---|
static int |
BLOG_CREATED
Blog was added to the system. |
static int |
BLOG_DELETING
Blog is about to be deleted. |
static int |
BLOG_MODIFIED
Blog was modified. |
static int |
BLOG_MOVED
Blog was moved |
| Constructor Summary | |
|---|---|
BlogEvent(int eventType,
Blog blog,
Map<String,? extends Object> params)
Creates a new blog event. |
|
| Method Summary | |
|---|---|
Blog |
getBlog()
Returns the blog that the event corresponds to. |
Date |
getDate()
|
int |
getEventType()
|
Map<String,? extends Object> |
getParams()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BLOG_CREATED
public static final int BLOG_DELETING
public static final int BLOG_MODIFIED
public static final int BLOG_MOVED
| Constructor Detail |
|---|
public BlogEvent(int eventType,
Blog blog,
Map<String,? extends Object> params)
eventType - the type of the blog event.blog - the blog the event corresponds to.params - parameters corresponding to the event.| Method Detail |
|---|
public int getEventType()
getEventType in interface com.jivesoftware.community.JiveEventpublic Blog getBlog()
public Map<String,? extends Object> getParams()
getParams in interface com.jivesoftware.community.JiveEventpublic Date getDate()
getDate in interface com.jivesoftware.community.JiveEvent
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||