Clearspace API (2.5.18) Core Javadocs

com.jivesoftware.community.event
Interface AvatarListener


public interface AvatarListener

An AvatarListener gets notified anytime an avatar event is fired. Concrete implementations of this class must have a zero argument constructor.


Method Summary
 void activeAvatarModified(AvatarEvent event)
          Fired when the active avatar of a user has been changed.
 void avatarCreated(AvatarEvent event)
          Fired when an avatar has been added to the system.
 void avatarDeleted(AvatarEvent event)
          Fired when an avatar is about to be deleted from the system.
 

Method Detail

avatarCreated

void avatarCreated(AvatarEvent event)
Fired when an avatar has been added to the system.

Parameters:
event - the event object.

avatarDeleted

void avatarDeleted(AvatarEvent event)
Fired when an avatar is about to be deleted from the system. Because various code pieces may depend on this event for performing cleanup tasks, it's guaranteed that this method will be called before the avatar is deleted from the database.

Parameters:
event - the event object.

activeAvatarModified

void activeAvatarModified(AvatarEvent event)
Fired when the active avatar of a user has been changed. The avatar of the event is the new active one.

Parameters:
event - the event object.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.