public class WGDatabase.DocumentCollectionHierarchy extends java.lang.Object implements PageHierarchyNode
Constructor and Description |
---|
WGDatabase.DocumentCollectionHierarchy(int type) |
Modifier and Type | Method and Description |
---|---|
de.innovationgate.utils.SkippingIterator<? extends PageHierarchyNode> |
getChildNodeIterator(int pageSize)
Returns an iterator for the child nodes of this hierarchy node
|
java.util.List<? extends PageHierarchyNode> |
getChildNodes()
Returns the child nodes of this hierarchy node
|
java.lang.Class<? extends WGDocument> |
getChildNodeType()
Return the class type of child nodes
|
java.lang.String |
getNodeKey()
Returns a string key for the node that is unique among all keys of PageHierarchyNodes in this database.
|
java.lang.String |
getNodeTitle(java.lang.String language)
Returns the display title for the node.
|
PageHierarchyNode |
getParentNode()
Return the parent of this node in hierarchy.
|
public WGDatabase.DocumentCollectionHierarchy(int type)
public java.lang.Class<? extends WGDocument> getChildNodeType()
PageHierarchyNode
getChildNodeType
in interface PageHierarchyNode
public java.util.List<? extends PageHierarchyNode> getChildNodes() throws WGAPIException
PageHierarchyNode
getChildNodes
in interface PageHierarchyNode
WGAPIException
public de.innovationgate.utils.SkippingIterator<? extends PageHierarchyNode> getChildNodeIterator(int pageSize) throws WGAPIException
PageHierarchyNode
getChildNodeIterator
in interface PageHierarchyNode
pageSize
- The size of a fetch page, if the implementation fetches childnodes page-wiseWGAPIException
public java.lang.String getNodeKey() throws WGAPIException
PageHierarchyNode
getNodeKey
in interface PageHierarchyNode
WGAPIException
public java.lang.String getNodeTitle(java.lang.String language) throws WGAPIException
PageHierarchyNode
getNodeTitle
in interface PageHierarchyNode
language
- The language whose title is wantedWGAPIException
public PageHierarchyNode getParentNode() throws WGAPIException
PageHierarchyNode
getParentNode
in interface PageHierarchyNode
WGAPIException