public final class NodeGroupHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CHILDREN_PER_NODE
The maximum children to display per node.
|
Modifier | Constructor and Description |
---|---|
private |
NodeGroupHelper() |
Modifier and Type | Method and Description |
---|---|
private static String |
getGroupPaths(Node node,
int maxNodesPerGroup)
Get the virtual a node's path relative to its parent.
|
static String |
getPathWithGroups(Node node)
Get the node's full path, including virtual path segments.
|
public static final int MAX_CHILDREN_PER_NODE
private NodeGroupHelper()
public static String getPathWithGroups(Node node) throws RepositoryException
node
- the node of which to get the path.RepositoryException
- if a repository error occurs.private static String getGroupPaths(Node node, int maxNodesPerGroup) throws RepositoryException
node
- the node to get the virtual path of.maxNodesPerGroup
- the maximum node per group.RepositoryException
- if a repository error occurs.