Examples of VBOTreeNode


Examples of edu.uga.galileo.voci.bo.VBOTreeNode

    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);
          }
        }
      }
    }
View Full Code Here

Examples of edu.uga.galileo.voci.bo.VBOTreeNode

        + parentId);

    synchronized (projectTreeMap) {
      // -1 is a top-level community
      if (parentId == -1) {
        nodes.add(new VBOTreeNode(addedVBO, null, null, null, null));
        Collections.sort(nodes);
      } else {
        ArrayList<VBOTreeNode> childNodes;
        if (nodes != null) {
          VociBusinessObject vbo;
View Full Code Here

Examples of edu.uga.galileo.voci.bo.VBOTreeNode

          + deletedVBO.getProjectId());
      return;
    }

    synchronized (projectTreeMap) {
      VBOTreeNode node;
      ArrayList<VBOTreeNode> nodes = projectTreeMap.get(projectHandle);
      for (int m = nodes.size() - 1; m >= 0; m--) {
        node = nodes.get(m);
        node.deleteChild(deletedVBO);
        if (node.getVociBusinessObject().getId() == deletedVBO.getId()) {
          nodes.remove(m);
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.