if (path.indexOf('/') > 0) {
currentId = path.substring(0, path.indexOf('/'));
hasMore = true;
}
VBOTreeNode node = null;
for (int m = 0; m < nodes.size(); m++) {
node = nodes.get(m);
if ((!mustBeActive)
|| ((mustBeActive) && (node.getVociBusinessObject()
.isActive()))) {
if (nodes.get(m).getVociBusinessObject().getId() == Integer
.parseInt(currentId)) {
if (!hasMore) {
return node;
} else {
return getTreeNodeFromPath(node.getChildren(), path
.substring(path.indexOf('/') + 1), mustBeActive);
}
}
}
}