com.atlassian.jira.rest.v2.issue
Class AvatarResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.AvatarResource
public class AvatarResource
- extends Object
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvatarResource
public AvatarResource(JiraAuthenticationContext authContext,
AvatarManager avatarManager,
AvatarPickerHelper avatarPickerHelper,
AttachmentHelper attachmentHelper)
getAllSystemAvatars
public javax.ws.rs.core.Response getAllSystemAvatars(String type)
- Returns all system avatars of the given type.
- Parameters:
type
- the avatar type
- Returns:
- all system avatars of the given type.
- Since:
- v5.0
storeTemporaryAvatar
public javax.ws.rs.core.Response storeTemporaryAvatar(String type,
String filename,
Long size,
@Context
javax.servlet.http.HttpServletRequest request)
- Creates temporary avatar
- Parameters:
type
- the avatar typefilename
- name of file being uploadedsize
- size of filerequest
- servlet request
- Returns:
- temporary avatar cropping instructions
- Since:
- v5.0
createAvatarFromTemporary
public javax.ws.rs.core.Response createAvatarFromTemporary(String type,
AvatarCroppingBean croppingInstructions)
- Updates the cropping instructions of the temporary avatar.
- Parameters:
type
- the avatar typecroppingInstructions
- cropping instructions- Since:
- v5.0
Copyright © 2002-2013 Atlassian. All Rights Reserved.