Class ProfilePictureInfo
java.lang.Object
com.atlassian.confluence.user.actions.ProfilePictureInfo
This class handles the difference between an avatar which is a standard icon and one which is an attachment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringDeprecated.since 6.7 useADGS_DEFAULT_PROFILE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionProfilePictureInfo(Attachment attachment) ProfilePictureInfo(com.atlassian.plugins.avatar.Avatar userAvatar) ProfilePictureInfo(String downloadPath) ProfilePictureInfo(String downloadPath, String contentType, boolean external) -
Method Summary
Modifier and TypeMethodDescriptiongetBytes()Deprecated.since 5.10 usegetUriReference()booleanbooleanbooleanboolean
-
Field Details
-
DEFAULT_PROFILE_PATH
Deprecated.since 6.7 useADGS_DEFAULT_PROFILE_PATH- See Also:
-
ANONYMOUS_PROFILE_PATH
Deprecated.since 6.7 useADGS_ANONYMOUS_PROFILE_PATH- See Also:
-
ADGS_DEFAULT_PROFILE_PATH
- See Also:
-
ADGS_ANONYMOUS_PROFILE_PATH
- See Also:
-
-
Constructor Details
-
ProfilePictureInfo
-
ProfilePictureInfo
-
ProfilePictureInfo
-
ProfilePictureInfo
public ProfilePictureInfo(com.atlassian.plugins.avatar.Avatar userAvatar)
-
-
Method Details
-
getFileName
-
getDownloadPath
Deprecated.since 5.10 usegetUriReference() -
getUriReference
-
isUploaded
public boolean isUploaded() -
isDefault
public boolean isDefault() -
isAnonymousPicture
public boolean isAnonymousPicture()- Since:
- 5.3
-
getContentType
-
isExternal
public boolean isExternal() -
getBytes
- Throws:
IOException
-
ADGS_ANONYMOUS_PROFILE_PATH