Interface ScormActionService
- All Known Implementing Classes:
ScormActionServiceImpl
public interface ScormActionService
Service offering functionality to manage scorm contents like importing a scorm folder / domain as lms-object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
importScorm
(org.directwebremoting.io.FileTransfer scormFile) Sets up the required data structure in the database and imports the resources into the repository.void
replaceScorm
(EntityExplorerActionSelection selection, org.directwebremoting.io.FileTransfer newScormFile) Replaces the scorm file with a new one.
-
Method Details
-
importScorm
Sets up the required data structure in the database and imports the resources into the repository.- Parameters:
scormFile
- the scorm file- Throws:
ScormImportException
- if an error occurs during the import.
-
replaceScorm
void replaceScorm(EntityExplorerActionSelection selection, org.directwebremoting.io.FileTransfer newScormFile) throws IOException, RpcExecutionException, InterruptedException Replaces the scorm file with a new one. During replacement, the file will be named after the entity's primary key.- Parameters:
newScormFile
- the new scorm file- Throws:
IOException
RpcExecutionException
InterruptedException
-