Nuxeo Enterprise Platform 5.1

org.nuxeo.theme.nodes
Class AbstractNode

java.lang.Object
  extended by org.nuxeo.theme.nodes.AbstractNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
AbstractElement, AbstractModel

public abstract class AbstractNode
extends Object
implements Node


Constructor Summary
AbstractNode()
           
 
Method Summary
 Node addChild(Node node)
           
 void clearParent()
           
 void collectDescendants(List<Node> nodes)
           
 List<Node> getChildren()
           
 List<Node> getDescendants()
           
 Node getNextNode()
           
abstract  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 parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

clearParent

public void clearParent()
Specified by:
clearParent in interface Node

setParent

public void setParent(Node parent)
Specified by:
setParent in interface Node

getParent

public Node getParent()
Specified by:
getParent in interface Node

addChild

public Node addChild(Node node)
Specified by:
addChild in interface Node

removeChild

public void removeChild(Node node)
Specified by:
removeChild in interface Node

getChildren

public List<Node> getChildren()
Specified by:
getChildren in interface Node

setChildren

public void setChildren(List<Node> children)
Specified by:
setChildren in interface Node

getNodeTypeFamily

public abstract NodeTypeFamily getNodeTypeFamily()
Specified by:
getNodeTypeFamily in interface Node

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface Node

getOrder

public Integer getOrder()
Specified by:
getOrder in interface Node

setOrder

public void setOrder(Integer order)
Specified by:
setOrder in interface Node

moveTo

public void moveTo(Node container,
                   Integer order)
Specified by:
moveTo in interface Node

insertAfter

public void insertAfter(Node node)
Specified by:
insertAfter in interface Node

hasSiblings

public boolean hasSiblings()
Specified by:
hasSiblings in interface Node

getNextNode

public Node getNextNode()
Specified by:
getNextNode in interface Node

getPreviousNode

public Node getPreviousNode()
Specified by:
getPreviousNode in interface Node

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in interface Node

isChildOf

public boolean isChildOf(Node node)
Specified by:
isChildOf in interface Node

removeDescendants

public void removeDescendants()
Specified by:
removeDescendants in interface Node

getDescendants

public List<Node> getDescendants()
Specified by:
getDescendants in interface Node

collectDescendants

public void collectDescendants(List<Node> nodes)
Specified by:
collectDescendants in interface Node

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.