Package org.olat.repository

Examples of org.olat.repository.RepositoryEntryImportExport.exportDoExport()


    RepositoryEntry re = WikiEditController.getWikiReference(getModuleConfiguration(), false);
    if (re == null) return;
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }
 
 

  /**
 
View Full Code Here


    //@TODO OLAT-2597: real solution is a long-running background-task concept...
    DBFactory.getInstance().intermediateCommit();

    // export properties
    RepositoryEntryImportExport reImportExport = new RepositoryEntryImportExport(re, fExportBaseDirectory);
    return reImportExport.exportDoExport();
  }
 
  public RepositoryEntryImportExport getRepositoryImportExport(File importDataDir) {
    File fImportBaseDirectory = new File(importDataDir, "sharedfolder");
    return new RepositoryEntryImportExport(fImportBaseDirectory);
View Full Code Here

    if (re == null) return false;
    File fExportBaseDirectory = new File(exportedDataDir, EXPORT_FOLDER_NAME);
    if (!fExportBaseDirectory.mkdir()) return false;
    // export properties
    RepositoryEntryImportExport reImportExport = new RepositoryEntryImportExport(re, fExportBaseDirectory);
    return reImportExport.exportDoExport();
  }
 
 
  /**
   * Export the glossary as a media resource. The resource name is set to the
View Full Code Here

      return;
    }
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.CourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
View Full Code Here

      return;
    }
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
View Full Code Here

    RepositoryEntry re = CPEditController.getCPReference(getModuleConfiguration(), false);
    if (re == null) return;
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
View Full Code Here

    RepositoryEntry re = CPEditController.getCPReference(getModuleConfiguration(), false);
    if (re == null) return;
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
View Full Code Here

    }

    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
View Full Code Here

    FeedManager.getInstance().getFeedArchive(re.getOlatResource());
    // trigger resource file export
    File fExportDirectory = new File(exportDirectory, getIdent());
    fExportDirectory.mkdirs();
    RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
    reie.exportDoExport();
  }

  /**
   * @see org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
   *      org.olat.course.ICourse, org.olat.core.gui.UserRequest,
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.