|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.event.TagEvent
public class TagEvent
An event for Tag objects. Certain event types will populate the params Map with additional objects as outlined below:
Event Type | Extra Params |
---|---|
TAG_CREATED | None |
Field Summary | |
---|---|
static int |
TAG_ADDED
A tag was added to an object. |
static int |
TAG_CREATED
Tag was added to the system. |
static int |
TAG_REMOVED
A tag was removed from an object. |
Constructor Summary | |
---|---|
TagEvent(int eventType,
ContentTag tag,
java.util.Map params,
long parentObjectID,
int parentObjectType)
Creates a new tag event. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Returns the date (as a Date object) that the event was created. |
int |
getEventType()
Returns the event type corresponding to the event. |
java.util.Map |
getParams()
Returns a map of parameters which can be used to pass data to a listener. |
long |
getParentObjectID()
|
int |
getParentObjectType()
|
ContentTag |
getTag()
Returns the tag 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 TAG_CREATED
public static final int TAG_ADDED
public static final int TAG_REMOVED
Constructor Detail |
---|
public TagEvent(int eventType, ContentTag tag, java.util.Map params, long parentObjectID, int parentObjectType)
eventType
- the type of the tag event.tag
- the tag the event corresponds to.params
- parameters corresponding to the event.Method Detail |
---|
public int getEventType()
JiveEvent
getEventType
in interface JiveEvent
public ContentTag getTag()
public java.util.Map getParams()
JiveEvent
getParams
in interface JiveEvent
public java.util.Date getDate()
JiveEvent
getDate
in interface JiveEvent
public long getParentObjectID()
public int getParentObjectType()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |