public class SectionNode extends AbstractNode
editable, editURI, editURIAjaxCompatible, expandible, getUriType, iconCategory, iconId, last, parent, subnodes, tree
Constructor and Description |
---|
SectionNode() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Locale l)
Node description
|
String |
getIconId()
Icon identifier
|
String |
getId() |
String |
getName(Locale l)
Node name
|
protected SectionNode |
getNewSectionNode(Section section) |
Section |
getSection() |
Long |
getSectionId() |
SectionPropertiesHandler |
getSectionPropertiesHandler() |
Workspace |
getWorkspace() |
String |
getWorkspaceId() |
protected boolean |
hasDynamicChildren() |
protected void |
init() |
protected List |
listChildren()
Get the children list for this node
|
protected TreeNode |
listChildrenById(String id)
Get a children node by its id.
|
boolean |
onEdit()
Called when the node is edited.
|
void |
setSectionId(Long sectionId) |
void |
setSectionPropertiesHandler(SectionPropertiesHandler sectionPropertiesHandler) |
void |
setWorkspaceId(String workspaceId) |
equals, getAncestor, getAncestorForLevel, getChildren, getEditURI, getGetUriType, getI18nProperty, getIconCategory, getLevel, getParent, getPath, getSubnodeById, getSubNodeByPath, getSubnodes, getTree, isEditable, isEditURIAjaxCompatible, isExpandible, isLastChild, isLeaf, onCollapse, onExpand, onSelect, onUnedit, onUnselect, setEditable, setEditURI, setEditURIAjaxCompatible, setExpandible, setGetUriType, setIconCategory, setIconId, setLast, setParent, setSubnodes, setTree, toString
@PostConstruct protected void init()
public String getIconId()
TreeNode
getIconId
in interface TreeNode
getIconId
in class AbstractNode
public String getWorkspaceId()
public void setWorkspaceId(String workspaceId)
public Long getSectionId()
public void setSectionId(Long sectionId)
protected List listChildren()
AbstractNode
listChildren
in class AbstractNode
protected boolean hasDynamicChildren()
hasDynamicChildren
in class AbstractNode
protected TreeNode listChildrenById(String id)
AbstractNode
listChildrenById
in class AbstractNode
public SectionPropertiesHandler getSectionPropertiesHandler()
public void setSectionPropertiesHandler(SectionPropertiesHandler sectionPropertiesHandler)
protected SectionNode getNewSectionNode(Section section)
public String getId()
public String getName(Locale l)
TreeNode
getName
in interface TreeNode
getName
in class AbstractNode
public String getDescription(Locale l)
TreeNode
getDescription
in interface TreeNode
getDescription
in class AbstractNode
public boolean onEdit()
TreeNode
onEdit
in interface TreeNode
onEdit
in class AbstractNode
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.