|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Avatar
An object that represents a user's avatar. Avatars give a user the ability to specify an image that will be displayed alongside their username throughout the application.
| Method Summary | |
|---|---|
Attachment |
getAttachment()
Returns the attachment for this avatar |
int |
getModValue()
Returns the moderation value for this Avatar |
User |
getOwner()
Returns user who created this avatar, if the user is null then this is a global avatar |
Map<String,String> |
getProperties()
Retrieve a map of all the extended properties for the avatar. |
boolean |
isSystemDefault()
Returns true if this is an instance of SystemDefaultAvatar, meaning the user has not selected an
avatar or they are a guest user. |
void |
setModValue(int modValue)
Modifies the moderation value of this specific avatar |
| Methods inherited from interface com.jivesoftware.community.JiveObject |
|---|
getID, getObjectType |
| Method Detail |
|---|
int getModValue()
Attachment getAttachment()
throws AttachmentNotFoundException
AttachmentNotFoundException - if we could not find an attachment for this avatarMap<String,String> getProperties()
If the user is not authorized to modify the avatar any method which modifies the map will fail with a UnsupportedOperationException;
User getOwner()
void setModValue(int modValue)
throws UnauthorizedException
modValue - change the moderation value
UnauthorizedException - thrown if the user does not have moderation privilegesboolean isSystemDefault()
SystemDefaultAvatar, meaning the user has not selected an
avatar or they are a guest user.
SystemDefaultAvatar.
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||