org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui
Class UIPublicationTree.TreeNode

java.lang.Object
  extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationTree.TreeNode
Enclosing class:
UIPublicationTree

public static class UIPublicationTree.TreeNode
extends java.lang.Object

The Class TreeNode.


Constructor Summary
UIPublicationTree.TreeNode(java.lang.String portalName, org.exoplatform.portal.config.model.PageNavigation navigation, java.util.ResourceBundle res, boolean isPageNode)
          Instantiates a new tree node.
 
Method Summary
 java.util.List<UIPublicationTree.TreeNode> getChildren()
          Gets the children.
 java.lang.String getIcon()
          Gets the icon.
 java.lang.String getName()
          Gets the name.
 org.exoplatform.portal.config.model.PageNavigation getNavigation()
          Gets the navigation.
 org.exoplatform.portal.config.model.PageNode getPageNode()
          Gets the page node.
 java.lang.String getPageNodeUri()
          Gets the page node uri.
 java.lang.String getPortalName()
          Gets the portal name.
 java.lang.String getResolvedLabel()
          Gets the resolved label.
 java.util.List<UIPublicationTree.TreeNode> getTreeNodeChildren()
          Gets the tree node children.
 java.lang.String getUri()
          Gets the uri.
 boolean isPageNode()
          Checks if is page node.
 UIPublicationTree.TreeNode searchTreeNodeByURI(java.lang.String uri)
          Search tree node by uri.
 void setChildrenByPageNodes(java.util.List<org.exoplatform.portal.config.model.PageNode> pagesNodes)
          Sets the children by page nodes.
 void setIsPageNode(boolean isPageNode)
          Sets the checks if is page node.
 void setPageNode(org.exoplatform.portal.config.model.PageNode pageNode)
          Sets the page node.
 void setPortalName(java.lang.String s)
          Sets the portal name.
 void setTreeNodeChildren(java.util.List<UIPublicationTree.TreeNode> list)
          Sets the tree node children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPublicationTree.TreeNode

public UIPublicationTree.TreeNode(java.lang.String portalName,
                                  org.exoplatform.portal.config.model.PageNavigation navigation,
                                  java.util.ResourceBundle res,
                                  boolean isPageNode)
Instantiates a new tree node.

Parameters:
portalName - the portal name
navigation - the navigation
res - the res
isPageNode - the is page node
Method Detail

getUri

public java.lang.String getUri()
Gets the uri.

Returns:
the uri

getPageNodeUri

public java.lang.String getPageNodeUri()
Gets the page node uri.

Returns:
the page node uri

getIcon

public java.lang.String getIcon()
Gets the icon.

Returns:
the icon

getTreeNodeChildren

public java.util.List<UIPublicationTree.TreeNode> getTreeNodeChildren()
Gets the tree node children.

Returns:
the tree node children

setTreeNodeChildren

public void setTreeNodeChildren(java.util.List<UIPublicationTree.TreeNode> list)
Sets the tree node children.

Parameters:
list - the new tree node children

setPageNode

public void setPageNode(org.exoplatform.portal.config.model.PageNode pageNode)
Sets the page node.

Parameters:
pageNode - the new page node

isPageNode

public boolean isPageNode()
Checks if is page node.

Returns:
true, if is page node

setIsPageNode

public void setIsPageNode(boolean isPageNode)
Sets the checks if is page node.

Parameters:
isPageNode - the new checks if is page node

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

getResolvedLabel

public java.lang.String getResolvedLabel()
Gets the resolved label.

Returns:
the resolved label

setPortalName

public void setPortalName(java.lang.String s)
Sets the portal name.

Parameters:
s - the new portal name

getPortalName

public java.lang.String getPortalName()
Gets the portal name.

Returns:
the portal name

setChildrenByPageNodes

public void setChildrenByPageNodes(java.util.List<org.exoplatform.portal.config.model.PageNode> pagesNodes)
                            throws java.lang.Exception
Sets the children by page nodes.

Parameters:
pagesNodes - the new children by page nodes
Throws:
java.lang.Exception - the exception

searchTreeNodeByURI

public UIPublicationTree.TreeNode searchTreeNodeByURI(java.lang.String uri)
                                               throws java.lang.Exception
Search tree node by uri.

Parameters:
uri - the uri
Returns:
the tree node
Throws:
java.lang.Exception - the exception

getChildren

public java.util.List<UIPublicationTree.TreeNode> getChildren()
Gets the children.

Returns:
the children

getNavigation

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

Returns:
the navigation

getPageNode

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

Returns:
the page node


Copyright © 2010 eXo Platform SAS. All Rights Reserved.