|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.event.TrackbackEvent
public class TrackbackEvent
A class for Trackback events. This class will be passed to TrackbackListeners
whenever a trackback 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 |
|---|---|
| TRACKBACK_CREATED | None |
| TRACKBACK_DELETED | None |
| TRACKBACK_MODIFIED | None |
| Field Summary | |
|---|---|
static int |
TRACKBACK_CREATED
Trackback was added to the system. |
static int |
TRACKBACK_DELETED
Trackback was deleted. |
static int |
TRACKBACK_MODIFIED
Trackback was modified. |
| Constructor Summary | |
|---|---|
TrackbackEvent(int eventType,
Trackback trackback,
Map<String,? extends Object> params)
Creates a new trackback event. |
|
| Method Summary | |
|---|---|
Date |
getDate()
|
int |
getEventType()
|
Map<String,? extends Object> |
getParams()
|
Trackback |
getTrackback()
Returns the trackback that the event corresponds to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TRACKBACK_CREATED
public static final int TRACKBACK_DELETED
public static final int TRACKBACK_MODIFIED
| Constructor Detail |
|---|
public TrackbackEvent(int eventType,
Trackback trackback,
Map<String,? extends Object> params)
eventType - the type of the trackback event.trackback - the trackback the event corresponds to.params - parameters corresponding to the event.| Method Detail |
|---|
public int getEventType()
getEventType in interface com.jivesoftware.community.JiveEventpublic Trackback getTrackback()
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 | |||||||||