Package com.tensegrity.palo.gwt.core.server.services.cubeview

Examples of com.tensegrity.palo.gwt.core.server.services.cubeview.CubeViewController


  }

  private final List <XElementNode> loadElementsFrom(UserSession userSession,
      XAxisHierarchy xHierarchy, int level) {
    List<XElementNode> nodes = new ArrayList<XElementNode>();
    CubeViewController viewController = getViewController(userSession,
        xHierarchy.getViewId());
    if (viewController != null) {
      nodes.addAll(viewController.loadElements(xHierarchy, level));
    }
    return nodes;
  }
View Full Code Here


    return nodes;   
  }
 
  private final List <TreeNode> loadTreeNodesFrom(UserSession userSession,
      String hierarchyId, String viewId, String axisId, int level) {   
    CubeViewController viewController = getViewController(userSession,
        viewId);
    if (viewController != null) {
      return loadTreeNodes(viewController, hierarchyId, viewId, axisId, level);
    }
    return new ArrayList<TreeNode>();
View Full Code Here

    }
  }
 
  private final XObject [] loadElementsFromHierarchy(UserSession userSession, String viewId, String axisId, String hierarchyId) {
    List<XElementNode> roots = new ArrayList<XElementNode>();
    CubeViewController viewController = getViewController(userSession, viewId);
    if (viewController != null) {
      roots.addAll(viewController.getRoots(axisId, hierarchyId, viewId));
    }
    return roots.toArray(new XElementNode[0]);
  }
View Full Code Here

    }
    return roots.toArray(new XElementNode[0]);
  }
 
  private final XObject [] loadElementsFromElementNode(UserSession userSession, String viewId, String elementNodeId) {   
    CubeViewController viewController = getViewController(userSession, viewId);   
    return viewController.loadChildren(elementNodeId).toArray(new XElementNode[0]);
  }
View Full Code Here

  }
 
  private final XElementNode[] loadElementsFrom(UserSession userSession,
      XAxisHierarchy xHierarchy) {
    List<XElementNode> roots = new ArrayList<XElementNode>();
    CubeViewController viewController = getViewController(userSession,
        xHierarchy.getViewId());
    if (viewController != null) {
      roots.addAll(viewController.getRoots(xHierarchy));
    }
    return roots.toArray(new XElementNode[0]);
  }
View Full Code Here

 
  private final XElementNode[] loadElementsFrom(XElementNode node,
      UserSession userSession) {
    String viewId = node.getViewId();
    List<XElementNode> children = new ArrayList<XElementNode>();
    CubeViewController viewController = getViewController(userSession,
        viewId);
    if (viewController != null) {
      children.addAll(viewController.loadChildren(node));
    }     
    return children.toArray(new XElementNode[0]);
  }
View Full Code Here

TOP

Related Classes of com.tensegrity.palo.gwt.core.server.services.cubeview.CubeViewController

Copyright © 2018 www.massapicom. 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.