Package org.olat.catalog

Examples of org.olat.catalog.CatalogEntry


   *
   * @return true if successful otherwise false (e.c. jumpToNode referenced a
   *         catalog leaf or no catalog entry at all)
   */
  private boolean jumpToNode(UserRequest ureq, long jumpToNode){
    CatalogEntry cE=CatalogManager.getInstance().loadCatalogEntry(Long.valueOf(jumpToNode));
      if(cE!=null){
          Stack<CatalogEntry> stack=new Stack<CatalogEntry>();
          // get elements, and add to filo stack
          while(cE !=null){
            stack.push(cE);
            cE=cE.getParent();
          }
          // read filo stack
          while ( !stack.isEmpty())
          {
            cE = stack.pop();
View Full Code Here

TOP

Related Classes of org.olat.catalog.CatalogEntry

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.