org.nuxeo.theme.nodes
Interface Node
- All Known Subinterfaces:
- Element, Fragment
- All Known Implementing Classes:
- AbstractElement, AbstractFragment, AbstractNode, ActionFragment, AllWebpageFragment, AreaFragment, BlogSiteArchiveFragment, CellElement, ContextualLinkFragment, GadgetManagerFragment, GenericFragment, LayoutManagerFragment, MainContentFragment, 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
java.util.List<Node> getChildren()
setChildren
void setChildren(java.util.List<Node> children)
throws NodeException
- Throws:
NodeException
getOrder
java.lang.Integer getOrder()
setOrder
void setOrder(java.lang.Integer order)
throws NodeException
- Throws:
NodeException
moveTo
void moveTo(Node container,
java.lang.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
java.util.List<Node> getDescendants()
collectDescendants
void collectDescendants(java.util.List<Node> nodes)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.