org.nuxeo.theme.nodes
Interface Node
- All Known Subinterfaces:
- Element, Fragment
- All Known Implementing Classes:
- AbstractElement, AbstractFragment, AbstractNode, ActionFragment, AllWebpageFragment, AreaFragment, BlogSiteArchiveFragment, CellElement, ContextualLinkFragment, GenericFragment, MinisiteLastCommentsFragment, MinisiteLastPublishedFragment, PageElement, PageLastCommentsFragment, RecentBlogPostsFragment, RegionFragment, SearchResultsFragment, SectionElement, TagCloudFragment, TagFragment, TextFragment, ThemeElement
public interface Node
getNodeTypeFamily
NodeTypeFamily getNodeTypeFamily()
clearParent
void clearParent()
setParent
void setParent(Node node)
throws NodeException
- Throws:
NodeException
getParent
Node getParent()
addChild
Node addChild(Node node)
throws NodeException
- Throws:
NodeException
removeChild
void removeChild(Node node)
throws NodeException
- Throws:
NodeException
getChildren
List<Node> getChildren()
setChildren
void setChildren(List<Node> children)
throws NodeException
- Throws:
NodeException
getOrder
Integer getOrder()
setOrder
void setOrder(Integer order)
throws NodeException
- Throws:
NodeException
moveTo
void moveTo(Node container,
Integer order)
throws NodeException
- Throws:
NodeException
isLeaf
boolean isLeaf()
insertAfter
void insertAfter(Node node)
throws NodeException
- Throws:
NodeException
hasSiblings
boolean hasSiblings()
getNextNode
Node getNextNode()
getPreviousNode
Node getPreviousNode()
hasChildren
boolean hasChildren()
isChildOf
boolean isChildOf(Node node)
removeDescendants
void removeDescendants()
throws NodeException
- Throws:
NodeException
getDescendants
List<Node> getDescendants()
collectDescendants
void collectDescendants(List<Node> nodes)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.