Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.event
Class AvatarEvent

java.lang.Object
  extended by 
      extended by com.jivesoftware.community.event.AvatarEvent

public class AvatarEvent
extends

A class for Avatar events. This class will be passed to com.jivesoftware.community.event.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
CREATED None
DELETED None
MODIFIED
DescriptionName
The user's usernameusername


Nested Class Summary
static class AvatarEvent.Type
           
 
Constructor Summary
AvatarEvent()
           
AvatarEvent(AvatarEvent.Type eventType, Avatar avatar, Map<String,? extends Object> params)
          Creates a new avatar event.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarEvent

public AvatarEvent()

AvatarEvent

public AvatarEvent(AvatarEvent.Type eventType,
                   Avatar avatar,
                   Map<String,? extends Object> params)
Creates a new avatar event.

Parameters:
eventType - the type of the announcement event.
avatar - the avatar the event corresponds to.
params - parameters corresponding to the event.

Jive Product Page

Copyright © 1999-2007 Jive Software.