Package com.dotcms.publisher.pusher.wrapper

Examples of com.dotcms.publisher.pusher.wrapper.CategoryWrapper


   */
  public List<CategoryWrapper> findTopLevelWrappers() throws FileNotFoundException {
    List<CategoryWrapper> topLevels = new ArrayList<CategoryWrapper>();
    for(File category : categories){
      if(category.isDirectory()) continue;
      CategoryWrapper wrapper = getCategoryWrapperFromFile(category);
      if(wrapper.isTopLevel())
        topLevels.add(wrapper);
    }
    return topLevels;
  }
View Full Code Here


    }
    return topLevels;
  }
 
  public CategoryWrapper getCategoryWrapperFromInode(String inode) throws FileNotFoundException {
    CategoryWrapper wrapper = null;
    for(File category : categories){
      if(category.isDirectory()) continue;
      wrapper = getCategoryWrapperFromFile(category);
      if(inode.equals(wrapper.getCategory().getInode()))
        return wrapper;
    }
    return wrapper;
  }
View Full Code Here

TOP

Related Classes of com.dotcms.publisher.pusher.wrapper.CategoryWrapper

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.