|
Clearspace API (2.5.22) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.event.ProfileEvent
public class ProfileEvent
A class for com.jivesoftware.community.user.profile.ProfileFieldValue events. This class will be passed to ProfileListeners
whenever a profile 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:
| Field Summary | |
|---|---|
static String |
PARAM_FILTERABLE_FIELD_VALUE_MODIFIED
|
static String |
PARAM_MODIFIED_FIELD_IDS
|
static int |
PROFILE_MODIFIED
Event type for whenever a user profile is modified. |
| Constructor Summary | |
|---|---|
ProfileEvent(int eventType,
User user,
Map<String,Object> params)
|
|
| Method Summary | |
|---|---|
int |
getEventType()
|
Exception |
getFailureException()
Returns the exception that indicates why a listener failed to handle an event. |
Map<String,Object> |
getParams()
|
User |
getUser()
|
void |
setFailureException(Exception e)
Sets the exception that indicates why a listener failed to handle an event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PROFILE_MODIFIED
public static final String PARAM_MODIFIED_FIELD_IDS
public static final String PARAM_FILTERABLE_FIELD_VALUE_MODIFIED
| Constructor Detail |
|---|
public ProfileEvent(int eventType,
User user,
Map<String,Object> params)
| Method Detail |
|---|
public int getEventType()
public User getUser()
public Map<String,Object> getParams()
public Exception getFailureException()
Sometimes the class triggering the event needs to know if any listeners for the event were unsuccessful for any reason. This is used internally by Jive classes and should be ignored by listener authors.
public void setFailureException(Exception e)
Sometimes the class triggering the event needs to know if any listeners for the event were unsuccessful for any reason. Listeners can call this method to indicate that the event was not handled successfully in all cases. This is used internally by Jive classes ashould be ignored by listener authors.
e - the exception.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||