org.exoplatform.wcm.webui.selector.page
Class UIPageNodeSelector

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.wcm.webui.selector.page.UIPageNodeSelector

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

Created by The eXo Platform SARL Author : chungnv nguyenchung136@yahoo.com Jun 23, 2006 10:07:15 AM


Nested Class Summary
static class UIPageNodeSelector.SelectedNode
          The Class SelectedNode.
static class UIPageNodeSelector.SelectNavigationActionListener
          The listener interface for receiving selectNavigationAction events.
 
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
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPageNodeSelector()
          Instantiates a new uI page node selector.
 
Method Summary
 UIPageNodeSelector.SelectedNode getCopyNode()
          Gets the copy node.
 java.util.List<org.exoplatform.portal.config.model.PageNavigation> getDeleteNavigations()
          Gets the delete navigations.
 org.exoplatform.portal.config.model.PageNavigation getPageNavigation(int id)
          Gets the page navigation.
 java.util.List<org.exoplatform.portal.config.model.PageNavigation> getPageNavigations()
          Gets the page navigations.
 org.exoplatform.portal.config.model.PageNavigation getSelectedNavigation()
          Gets the selected navigation.
 UIPageNodeSelector.SelectedNode getSelectedNode()
          Gets the selected node.
 org.exoplatform.portal.config.model.PageNode getSelectedPageNode()
          Gets the selected page node.
 java.lang.String getUpLevelUri()
          Gets the up level uri.
 void loadNavigations()
          Load navigations.
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 org.exoplatform.portal.config.model.PageNode searchPageNodeByUri(org.exoplatform.portal.config.model.PageNavigation pageNav, java.lang.String uri)
          Search page node by uri.
 void selectNavigation(int id)
          Select navigation.
 void selectPageNodeByUri(java.lang.String uri)
          Select page node by uri.
 void setCopyNode(UIPageNodeSelector.SelectedNode copyNode)
          Sets the copy node.
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPageNodeSelector

public UIPageNodeSelector()
                   throws java.lang.Exception
Instantiates a new uI page node selector.

Throws:
java.lang.Exception - the exception
Method Detail

loadNavigations

public void loadNavigations()
                     throws java.lang.Exception
Load navigations.

Throws:
java.lang.Exception - the exception

selectNavigation

public void selectNavigation(int id)
Select navigation.

Parameters:
id - the id

selectPageNodeByUri

public void selectPageNodeByUri(java.lang.String uri)
Select page node by uri.

Parameters:
uri - the uri

searchPageNodeByUri

public org.exoplatform.portal.config.model.PageNode searchPageNodeByUri(org.exoplatform.portal.config.model.PageNavigation pageNav,
                                                                        java.lang.String uri)
Search page node by uri.

Parameters:
pageNav - the page nav
uri - the uri
Returns:
the page node

getPageNavigations

public java.util.List<org.exoplatform.portal.config.model.PageNavigation> getPageNavigations()
Gets the page navigations.

Returns:
the page navigations

getPageNavigation

public org.exoplatform.portal.config.model.PageNavigation getPageNavigation(int id)
Gets the page navigation.

Parameters:
id - the id
Returns:
the page navigation

processRender

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

getCopyNode

public UIPageNodeSelector.SelectedNode getCopyNode()
Gets the copy node.

Returns:
the copy node

setCopyNode

public void setCopyNode(UIPageNodeSelector.SelectedNode copyNode)
Sets the copy node.

Parameters:
copyNode - the new copy node

getSelectedNode

public UIPageNodeSelector.SelectedNode getSelectedNode()
Gets the selected node.

Returns:
the selected node

getSelectedNavigation

public org.exoplatform.portal.config.model.PageNavigation getSelectedNavigation()
Gets the selected navigation.

Returns:
the selected navigation

getSelectedPageNode

public org.exoplatform.portal.config.model.PageNode getSelectedPageNode()
Gets the selected page node.

Returns:
the selected page node

getUpLevelUri

public java.lang.String getUpLevelUri()
Gets the up level uri.

Returns:
the up level uri

getDeleteNavigations

public java.util.List<org.exoplatform.portal.config.model.PageNavigation> getDeleteNavigations()
Gets the delete navigations.

Returns:
the delete navigations


Copyright © 2010 eXo Platform SAS. All Rights Reserved.