com.atlassian.confluence.user.actions
Class ProfilePictureInfo

java.lang.Object
  extended by com.atlassian.confluence.user.actions.ProfilePictureInfo

public class ProfilePictureInfo
extends Object

This class handles the difference between an avatar which is a standard icon and one which is an attachment.


Field Summary
static ProfilePictureInfo ANONYMOUS_PROFILE
           
static String ANONYMOUS_PROFILE_PATH
           
static ProfilePictureInfo DEFAULT_PROFILE
           
static String DEFAULT_PROFILE_PATH
           
 
Constructor Summary
ProfilePictureInfo(Attachment attachment)
           
ProfilePictureInfo(String downloadPath)
           
 
Method Summary
 String getDownloadPath()
           
 String getFileName()
           
 boolean isAnonymous()
           
 boolean isDefault()
           
 boolean isUploaded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROFILE_PATH

public static final String DEFAULT_PROFILE_PATH
See Also:
Constant Field Values

ANONYMOUS_PROFILE_PATH

public static final String ANONYMOUS_PROFILE_PATH
See Also:
Constant Field Values

ANONYMOUS_PROFILE

public static final ProfilePictureInfo ANONYMOUS_PROFILE

DEFAULT_PROFILE

public static final ProfilePictureInfo DEFAULT_PROFILE
Constructor Detail

ProfilePictureInfo

public ProfilePictureInfo(String downloadPath)

ProfilePictureInfo

public ProfilePictureInfo(Attachment attachment)
Method Detail

getFileName

public String getFileName()

getDownloadPath

public String getDownloadPath()

isUploaded

public boolean isUploaded()

isDefault

public boolean isDefault()

isAnonymous

public boolean isAnonymous()


Copyright © 2003-2013 Atlassian. All Rights Reserved.