|
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.base.event.JivePropertyEvent
public class JivePropertyEvent
An event for JiveProperty changes Certain event types will populate the params Map with additional objects as outlined below:
Event Type | Extra Params |
---|---|
PROPERTY_ADDED | none |
PROPERTY_REMOVED | REMOVED_VALUES => list of values (excluding event param value) |
PROPERTY_MODIFIED | PARAM_MODIFIED_OLD_VALUE -> original value value |
Field Summary | |
---|---|
static java.lang.String |
PARAM_MODIFIED_OLD_VALUE
Param map value for modified values on a PROPERTY_MODIFIED event |
static java.lang.String |
PARAM_REMOVED_VALUES
Param map value for removed values on a PROPERTY_REMOVED event |
static int |
PROPERTY_ADDED
A new property was added |
static int |
PROPERTY_MODIFIED
A property was modified. |
static int |
PROPERTY_REMOVED
A property was removed. |
Constructor Summary | |
---|---|
JivePropertyEvent(int eventType,
java.lang.String name,
java.lang.String value,
java.util.Map params)
Creates a new jive property event. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Returns the date the event was created |
int |
getEventType()
Returns an integer value for the type of event this is |
java.lang.String |
getName()
Returns the name of the jive property |
java.util.Map |
getParams()
Returns any extra parameters associated with event |
java.lang.String |
getValue()
Returns the value of the jive property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PROPERTY_ADDED
public static final int PROPERTY_REMOVED
public static final int PROPERTY_MODIFIED
public static final java.lang.String PARAM_REMOVED_VALUES
public static final java.lang.String PARAM_MODIFIED_OLD_VALUE
Constructor Detail |
---|
public JivePropertyEvent(int eventType, java.lang.String name, java.lang.String value, java.util.Map params)
name
- the jive propertyvalue
- the value of the jive propertyeventType
- the type of the message event.Method Detail |
---|
public int getEventType()
getEventType
in interface JiveEvent
public java.util.Date getDate()
getDate
in interface JiveEvent
public java.util.Map getParams()
getParams
in interface JiveEvent
public java.lang.String getName()
public java.lang.String getValue()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |