org.exoplatform.social.webui.profile
Class UIProfile

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.social.webui.profile.UIProfile

public class UIProfile
extends org.exoplatform.webui.core.UIContainer

Component is used for profile managing, it is the place put all other profile management components.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIProfile()
          Constructor to initialize UIAvatarUploader popup and info sections
 
Method Summary
 org.exoplatform.social.core.identity.model.Profile getProfile()
          Gets profile with forceReload.
 boolean isEditable()
          Checks the current user is right edit permission.
 void saveAvatar(UIAvatarUploadContent uiAvatarUploadContent)
           
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, 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, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIProfile

public UIProfile()
          throws Exception
Constructor to initialize UIAvatarUploader popup and info sections

Throws:
Exception
Method Detail

getProfile

public org.exoplatform.social.core.identity.model.Profile getProfile()
                                                              throws Exception
Gets profile with forceReload.

Returns:
Throws:
Exception

isEditable

public boolean isEditable()
Checks the current user is right edit permission.

Returns:
true if current user has permission.

saveAvatar

public void saveAvatar(UIAvatarUploadContent uiAvatarUploadContent)
                throws Exception
Parameters:
uiAvatarUploadContent -
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.