Package org.palo.viewapi.internal

Examples of org.palo.viewapi.internal.StaticFolder


      FolderService folderService = ServiceProvider
          .getFolderService(getLoggedInUser(sessionId));
      ExplorerTreeNode parentNode = find(root, xParent.getId());
//      ExplorerTreeNode parentNode = folderService.getTreeNode(xParent
//          .getId());
      StaticFolder staticFolder = folderService.createStaticFolder(name,
          parentNode, null);
//      folderService.save(staticFolder.getRoot());
      XStaticFolder xStaticFolder = new XStaticFolder(staticFolder
          .getId(), staticFolder.getName());
      xStaticFolder.setHasChildren(false);
      saveRoot(sessionId, root);
//      print(root, 0);
      return xStaticFolder;
    } catch (OperationFailedException e) {
View Full Code Here


//    ArrayList <XObjectWrapper> folders = new ArrayList<XObjectWrapper>();
//    ArrayList <XObjectWrapper> elements = new ArrayList<XObjectWrapper>();
    for (int i = 0; i < children.length; ++i) {
      ExplorerTreeNode child = children[i];
      if (child instanceof StaticFolder) {
        StaticFolder staticFolder = (StaticFolder) child;
        XStaticFolder xStaticFolder = new XStaticFolder(staticFolder
            .getId(), staticFolder.getName());
        xStaticFolder
            .setHasChildren(staticFolder.getChildren().length > 0);
//        folders.add(wrap(xStaticFolder));
        xChildren[i] = wrap(xStaticFolder);
      } else if (child instanceof FolderElement) {
        FolderElement folderElement = (FolderElement) child;
        XView xView = null;
View Full Code Here

TOP

Related Classes of org.palo.viewapi.internal.StaticFolder

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.