use of org.olat.course.archiver.ArchiveResource in project openolat by klemens.
the class TAIdentityListCourseNodeController method doDownload.
private void doDownload(UserRequest ureq) {
OLATResource courseOres = getCourseRepositoryEntry().getOlatResource();
AssessmentToolOptions asOptions = getOptions();
ArchiveOptions options = new ArchiveOptions();
options.setGroup(asOptions.getGroup());
options.setIdentities(asOptions.getIdentities());
ArchiveResource resource = new ArchiveResource(courseNode, courseOres, options, getLocale());
ureq.getDispatchResult().setResultingMediaResource(resource);
}
Aggregations