com.atlassian.jira.rest.v2.issue
Class AvatarBeanFactory
java.lang.Object
com.atlassian.jira.rest.v2.issue.AvatarBeanFactory
public class AvatarBeanFactory
- extends Object
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvatarBeanFactory
public AvatarBeanFactory()
createAvatarBeans
public static List<AvatarBean> createAvatarBeans(List<Avatar> avatars)
- Create a list of AvatarBeans given the passed List of Avatar domain objects.
- Returns:
- the List of AvatarBeans from the passed List of Avatar domain objects.
createAvatarBean
public static AvatarBean createAvatarBean(Avatar avatar)
- Creates an AvatarBean from Avatar domain object
- Parameters:
avatar
- - domain object
- Returns:
- avatar bean
createTemporaryAvatarCroppingInstructions
public static AvatarCroppingBean createTemporaryAvatarCroppingInstructions(AvatarPickerHelperImpl.TemporaryAvatarBean temporaryAvatarBean)
- Gets cropping instructions for temporary avatar
- Parameters:
temporaryAvatarBean
- temporary avatar representation
- Returns:
- cropping instructions for temporary avatar
Copyright © 2002-2012 Atlassian. All Rights Reserved.