public class NavigationNodeBean extends Object
NavigationNodeBean is representing a single navigation node. It basically encapsulates
the Node from the GateIn Portal API.| Constructor and Description |
|---|
NavigationNodeBean(org.gatein.api.navigation.Node node)
Constructs a new
NavigationNodeBean encapsulating the Node instance specified
in the parameter. |
| Modifier and Type | Method and Description |
|---|---|
List<NavigationNodeBean> |
getChildren() |
String |
getName()
Returns the display name of the encapsulated node.
|
String |
getPath()
Returns the
String value of path to the current NavigationNodeBean. |
String |
getURI()
Returns the URI string of the encapsulated node.
|
boolean |
isActive()
Returns the current NavigationNodeBean active state.
|
boolean |
isEmptyCategory() |
boolean |
isPage()
Returns true if current node has a page assigned to it, false otherwise.
|
boolean |
isParent()
Returns true if parent node contains one or more children nodes.
|
boolean |
isSystem()
Returns true, if the current node is a system node.
|
void |
setActive(boolean active)
Sets the current
NavigationNodeBean node active state. |
void |
setChildren(List<NavigationNodeBean> children) |
void |
setEmptyCategory(boolean emptyCategory) |
public NavigationNodeBean(org.gatein.api.navigation.Node node)
NavigationNodeBean encapsulating the Node instance specified
in the parameter.node - A node to be encapsulated by this NavigationNodeBean.public List<NavigationNodeBean> getChildren()
public void setChildren(List<NavigationNodeBean> children)
public void setEmptyCategory(boolean emptyCategory)
public boolean isEmptyCategory()
public boolean isSystem()
Visibility.Status.SYSTEM.public void setActive(boolean active)
NavigationNodeBean node active state. The active state indicates that this bean is being
currently accessed in the user interface.active - A boolean value.public boolean isActive()
setActive(boolean)public String getPath()
String value of path to the current NavigationNodeBean.String value of path to the current NavigationNodeBean.public boolean isPage()
public boolean isParent()
public String getName()
public String getURI()
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.