Package org.olat.ims.cp

Examples of org.olat.ims.cp.CPManager.updatePage()


      newPage = new CPPage(newId, cp);
      if (item instanceof VFSLeaf) {
        VFSLeaf leaf = (VFSLeaf) item;
        newPage.setFile(leaf);
      }
      cpMgr.updatePage(cp, newPage);
    }

    // Add any sub items
    if (item instanceof VFSContainer && containsItemsToAdd((VFSContainer) item, menuItemTypes)) {
      VFSContainer dir = (VFSContainer) item;
View Full Code Here


   * @param page
   */
  protected void updatePage(CPPage page) {
    setCurrentPage(page);
    CPManager cpMgm = CPManager.getInstance();
    cpMgm.updatePage(cp, page);
    cpMgm.writeToFile(cp);
    if (page.isOrgaPage()) {
      // TODO:GW Shall the repo entry title be updated when the organization
      // title changes?
      // // If the organization title changed, also update the repo entry
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.