org.exoplatform.social.webui
Class UISocialNavigation

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.social.webui.UISocialNavigation

public class UISocialNavigation
extends org.exoplatform.webui.core.UIComponent


Nested Class Summary
static class UISocialNavigation.SelectNodeActionListener
          triggers this action when user click on select node event link
 
Field Summary
protected  org.exoplatform.portal.mop.user.UserNode selectedNode_
           
protected  Object selectedParent_
           
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UISocialNavigation()
           
 
Method Summary
 List<org.exoplatform.portal.mop.user.UserNavigation> getNavigations()
          Gets navigation page list
 org.exoplatform.portal.mop.user.UserNavigation getSelectedNavigation()
          gets selected navigation page
 org.exoplatform.portal.mop.user.UserNode getSelectedPageNode()
          Gets selected page node
 Object getSelectedParent()
          Gets selected parent
 org.exoplatform.webui.core.UIComponent getViewModeUIComponent()
          Gets viewModeUIComponent
 boolean isSelectedNode(org.exoplatform.portal.mop.user.UserNode node)
          Checks if a node is a selected node
 boolean isUseAjax()
          Checks if use ajax or not
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setUseAjax(boolean bl)
          Sets useAjax
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, findComponentById, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, 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
 

Field Detail

selectedNode_

protected org.exoplatform.portal.mop.user.UserNode selectedNode_

selectedParent_

protected Object selectedParent_
Constructor Detail

UISocialNavigation

public UISocialNavigation()
Method Detail

getViewModeUIComponent

public org.exoplatform.webui.core.UIComponent getViewModeUIComponent()
Gets viewModeUIComponent

Returns:
viewModeUIComponent

setUseAjax

public void setUseAjax(boolean bl)
Sets useAjax

Parameters:
bl - true or false

isUseAjax

public boolean isUseAjax()
Checks if use ajax or not

Returns:
true or false

getNavigations

public List<org.exoplatform.portal.mop.user.UserNavigation> getNavigations()
                                                                    throws Exception
Gets navigation page list

Returns:
navigation page list
Throws:
Exception

getSelectedNavigation

public org.exoplatform.portal.mop.user.UserNavigation getSelectedNavigation()
                                                                     throws Exception
gets selected navigation page

Returns:
selected navigation page
Throws:
Exception

getSelectedParent

public Object getSelectedParent()
Gets selected parent

Returns:
selected parent

getSelectedPageNode

public org.exoplatform.portal.mop.user.UserNode getSelectedPageNode()
                                                             throws Exception
Gets selected page node

Returns:
selected page node
Throws:
Exception

isSelectedNode

public boolean isSelectedNode(org.exoplatform.portal.mop.user.UserNode node)
Checks if a node is a selected node

Parameters:
node -
Returns:
true or false

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
Throws:
Exception


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