OLATResourceManager rm = OLATResourceManager.getInstance();
OLATResource ores = rm.findOrPersistResourceable(tempFr);
// make IMS-Content-Packaging offline readable adding a html-frameset
if (tempFr instanceof ImsCPFileResource) {
CPOfflineReadableManager cporm = CPOfflineReadableManager.getInstance();
cporm.makeCPOfflineReadable(ores, newName);
}
return tempFr;
}