public class UIAvatarUploadContent
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UIAvatarUploadContent.CancelActionListener
Cancels, close the popup window.
|
static class |
UIAvatarUploadContent.SaveActionListener
Accepts and saves the uploaded image to profile.
|
| Constructor and Description |
|---|
UIAvatarUploadContent()
Default constructor.
|
UIAvatarUploadContent(org.exoplatform.social.core.model.AvatarAttachment avatarAttachment)
Initializes object at the first run time.
|
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.social.core.model.AvatarAttachment |
getAvatarAttachment()
Gets information of AvatarAttachment.
|
String |
getImageSource()
Gets the source of image.
|
void |
saveSpaceAvatar(UIAvatarUploadContent uiAvatarUploadContent,
org.exoplatform.social.core.space.model.Space space) |
void |
saveUserAvatar(UIAvatarUploadContent uiAvatarUploadContent)
Saves avatar of users.
|
void |
setAvatarAttachment(org.exoplatform.social.core.model.AvatarAttachment avatarAttachment)
Sets information of AvatarAttachment.
|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlpublic org.exoplatform.social.core.model.AvatarAttachment getAvatarAttachment()
public void setAvatarAttachment(org.exoplatform.social.core.model.AvatarAttachment avatarAttachment)
throws Exception
avatarAttachment - Exceptionpublic String getImageSource()
public void saveSpaceAvatar(UIAvatarUploadContent uiAvatarUploadContent, org.exoplatform.social.core.space.model.Space space) throws Exception
Exceptionpublic void saveUserAvatar(UIAvatarUploadContent uiAvatarUploadContent) throws Exception
uiAvatarUploadContent - ExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.