Nuxeo ECM Projects 5.4.3-SNAPSHOT

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


Method Summary
 Node addChild(Node node)
           
 void clearParent()
           
 void collectDescendants(List<Node> nodes)
           
 List<Node> getChildren()
           
 List<Node> getDescendants()
           
 Node getNextNode()
           
 NodeTypeFamily getNodeTypeFamily()
           
 Integer getOrder()
           
 Node getParent()
           
 Node getPreviousNode()
           
 boolean hasChildren()
           
 boolean hasSiblings()
           
 void insertAfter(Node node)
           
 boolean isChildOf(Node node)
           
 boolean isLeaf()
           
 void moveTo(Node container, Integer order)
           
 void removeChild(Node node)
           
 void removeDescendants()
           
 void setChildren(List<Node> children)
           
 void setOrder(Integer order)
           
 void setParent(Node node)
           
 

Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.