public class AvatarBeanFactory extends Object
Constructor and Description |
---|
AvatarBeanFactory(AvatarManager avatarManager) |
Modifier and Type | Method and Description |
---|---|
static AvatarBean |
createAvatarBean(Avatar avatar,
ApplicationUser remoteUser,
boolean userCanDelete)
Creates an AvatarBean from Avatar domain object
|
List<AvatarBean> |
createAvatarBeans(List<Avatar> avatars,
ApplicationUser avatarUser)
Create a list of AvatarBeans given the passed List of Avatar domain objects.
|
static AvatarCroppingBean |
createTemporaryAvatarCroppingInstructions(AvatarPickerHelperImpl.TemporaryAvatarBean temporaryAvatarBean)
Gets cropping instructions for temporary avatar
|
public AvatarBeanFactory(AvatarManager avatarManager)
public List<AvatarBean> createAvatarBeans(List<Avatar> avatars, ApplicationUser avatarUser)
public static AvatarBean createAvatarBean(Avatar avatar, ApplicationUser remoteUser, boolean userCanDelete)
avatar
- - domain objectpublic static AvatarCroppingBean createTemporaryAvatarCroppingInstructions(AvatarPickerHelperImpl.TemporaryAvatarBean temporaryAvatarBean)
temporaryAvatarBean
- temporary avatar representationCopyright © 2002-2022 Atlassian. All Rights Reserved.