org.exoplatform.social.portlet
Class UIProfileNavigationPortlet

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.core.UIApplication
              extended by org.exoplatform.webui.core.UIPortletApplication
                  extended by org.exoplatform.social.portlet.UIProfileNavigationPortlet

public class UIProfileNavigationPortlet
extends org.exoplatform.webui.core.UIPortletApplication

Manages the navigation of connections.
- Decides which node is current selected.
- Checked is view by current user or by another.


Nested Class Summary
static class UIProfileNavigationPortlet.ChangePictureActionListener
          Action trigger for editting picture.
 
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.UIPortletApplication
CONFIG_MODE, EDIT_MODE, HELP_MODE, VIEW_MODE
 
Fields inherited from class org.exoplatform.webui.core.UIApplication
log
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIProfileNavigationPortlet()
          Default Constructor.
 
Method Summary
 org.exoplatform.social.core.relationship.model.Relationship getRelationship()
          Gets relationship between current user and viewer identity.
 String getSelectedNode()
          Returns the current selected node.
 boolean isOwner()
          Checks if the owner user is the viewer user.
 
Methods inherited from class org.exoplatform.webui.core.UIPortletApplication
getMinHeight, getMinWidth, getUIPopupMessages, processRender, renderChildren, serveResource, setMinHeight, setMinWidth
 
Methods inherited from class org.exoplatform.webui.core.UIApplication
addMessage, addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, processAction, renderBlockToUpdate, setLastAccessApplication, setOwner
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, 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, isRendered, loadConfirmMesssage, 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

UIProfileNavigationPortlet

public UIProfileNavigationPortlet()
                           throws Exception
Default Constructor.

Throws:
Exception
Method Detail

getSelectedNode

public String getSelectedNode()
Returns the current selected node.

Returns:
selected node.

getRelationship

public org.exoplatform.social.core.relationship.model.Relationship getRelationship()
                                                                            throws Exception
Gets relationship between current user and viewer identity.

Returns:
relationship.
Throws:
Exception

isOwner

public boolean isOwner()
Checks if the owner user is the viewer user.

Returns:
true if the viewer user is the same as owner user.


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.