|
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.AvatarEvent
public class AvatarEvent
A class for Avatar events. This class will be passed to AvatarListeners
whenever an avatar 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 | ||||
|---|---|---|---|---|---|
| AVATAR_CREATED | None | ||||
| AVATAR_DELETED | None | ||||
| ACTIVE_AVATAR_MODIFIED |
|
| Field Summary | |
|---|---|
static int |
ACTIVE_AVATAR_MODIFIED
The active Avatar of a user was modified. |
static int |
AVATAR_CREATED
Avatar was added to the system. |
static int |
AVATAR_DELETED
Avatar was deleted. |
| Constructor Summary | |
|---|---|
AvatarEvent(int eventType,
Avatar avatar,
Map<String,? extends Object> params)
Creates a new avatar event. |
|
| Method Summary | |
|---|---|
Avatar |
getAvatar()
Returns the Avatar 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 AVATAR_CREATED
public static final int AVATAR_DELETED
public static final int ACTIVE_AVATAR_MODIFIED
| Constructor Detail |
|---|
public AvatarEvent(int eventType,
Avatar avatar,
Map<String,? extends Object> params)
eventType - the type of the announcement event.avatar - the avatar the event corresponds to.params - parameters corresponding to the event.| Method Detail |
|---|
public int getEventType()
getEventType in interface com.jivesoftware.community.JiveEventpublic Avatar getAvatar()
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 | |||||||||