com.atlassian.confluence.core
Interface Hierarchical<T>

All Known Implementing Classes:
Page

public interface Hierarchical<T>

Please do not use this interface. In its current form it is so tightly coupled with Page that it can't be implemented by any other class, and is therefore useless.


Method Summary
 void addChild(T child)
           
 java.util.List<T> getAncestors()
           
 java.util.List<T> getChildren()
           
 T getParent()
           
 boolean hasChildren()
           
 boolean isRootLevel()
           
 void removeChild(T child)
           
 void setChildren(java.util.List<T> children)
           
 void setParent(T parent)
           
 

Method Detail

isRootLevel

boolean isRootLevel()

getParent

T getParent()

setParent

void setParent(T parent)

getChildren

java.util.List<T> getChildren()

hasChildren

boolean hasChildren()

setChildren

void setChildren(java.util.List<T> children)

addChild

void addChild(T child)

removeChild

void removeChild(T child)

getAncestors

java.util.List<T> getAncestors()


Copyright © 2003-2010 Atlassian. All Rights Reserved.