public class NodeBean extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showEmptyCategories |
| Constructor and Description |
|---|
NodeBean(org.gatein.api.navigation.Node node,
org.gatein.api.site.SiteId siteId)
Constructs a new
NodeBean encapsulating the Node instance specified
in the parameter. |
NodeBean(org.gatein.api.navigation.Node node,
org.gatein.api.site.SiteId siteId,
Boolean showEmptyCategories) |
| Modifier and Type | Method and Description |
|---|---|
List<NodeBean> |
getChildren() |
String |
getName()
Returns the display name of the encapsulated node.
|
String |
getPath()
Returns the
String value of path to the current NavigationNodeBean. |
String |
getSiteId() |
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
NodeBean node active state. |
void |
setChildren(List<NodeBean> children) |
void |
setEmptyCategory(boolean emptyCategory) |
public NodeBean(org.gatein.api.navigation.Node node,
org.gatein.api.site.SiteId siteId)
NodeBean encapsulating the Node instance specified
in the parameter.node - A node to be encapsulated by this NavigationNodeBean.public NodeBean(org.gatein.api.navigation.Node node,
org.gatein.api.site.SiteId siteId,
Boolean showEmptyCategories)
public void setEmptyCategory(boolean emptyCategory)
public boolean isEmptyCategory()
public boolean isSystem()
Visibility.Status.SYSTEM.public void setActive(boolean active)
NodeBean 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 String getSiteId()
public boolean isPage()
public boolean isParent()
public String getName()
public String getURI()
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.