@Role
public interface TreeNode
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_EXCLUSIONS
The property that specifies the nodes to exclude.
|
static String |
PROPERTY_FILTERS
The property that specifies the filters to apply on the tree.
|
static String |
PROPERTY_ORDER_BY
The property that specifies how the child nodes are sorted.
|
Modifier and Type | Method and Description |
---|---|
int |
getChildCount(String nodeId)
Retrieve the number of children of the specified node.
|
List<String> |
getChildren(String nodeId,
int offset,
int limit)
Retrieve the children of the specified node.
|
String |
getParent(String nodeId)
Retrieve the parent of the specified node.
|
Map<String,Object> |
getProperties()
Retrieve the properties that can be used to configure the tree node.
|
static final String PROPERTY_ORDER_BY
static final String PROPERTY_EXCLUSIONS
static final String PROPERTY_FILTERS
List<String> getChildren(String nodeId, int offset, int limit)
nodeId
- the node idoffset
- the offset within the list of child nodeslimit
- the number of child nodes to returnint getChildCount(String nodeId)
nodeId
- the node idString getParent(String nodeId)
nodeId
- the node idCopyright © 2004–2021 XWiki. All rights reserved.