public class SectionNode extends AbstractNode
Constructor and Description |
---|
SectionNode() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Locale l)
Node description
|
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 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, getIconId, 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
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop
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-2014 JBoss by Red Hat. All Rights Reserved.