Search in sources :

Example 6 with SequencerModel

use of org.olat.modules.scorm.server.servermodels.SequencerModel in project openolat by klemens.

the class PrerequisiteManager method populateFromDisk.

/**
 * Method to get the disk version of the package (what/what hasn't has been
 * completed)
 *
 * @param org
 * @return true is successful
 */
protected boolean populateFromDisk(String org) {
    _sequencerModel = new SequencerModel(settings.getScoItemSequenceFile(), settings);
    _prereqTable = _sequencerModel.getItemsAsHash(org);
    return (_prereqTable != null);
}
Also used : SequencerModel(org.olat.modules.scorm.server.servermodels.SequencerModel)

Aggregations

SequencerModel (org.olat.modules.scorm.server.servermodels.SequencerModel)6 OLATRuntimeException (org.olat.core.logging.OLATRuntimeException)2 LocalFileImpl (org.olat.core.util.vfs.LocalFileImpl)2 VFSContainer (org.olat.core.util.vfs.VFSContainer)2 VFSItem (org.olat.core.util.vfs.VFSItem)2