| java.lang.Object org.sakaiproject.tool.assessment.services.qti.QTIService
QTIService | public class QTIService (Code) | | This service provides translation between database and QTI representations.
This is used to import/export IMS QTI format XML, and for web services.
Copyright: Copyright (c) 2005 Sakai
author: Ed Smiley esmiley@stanford.edu version: $Id: QTIService.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $ |
Method Summary | |
public AssessmentFacade | createImportedAssessment(Document document, int qtiVersion) Import an assessment XML document in QTI format, extract & persist the data. | public AssessmentFacade | createImportedAssessment(Document document, int qtiVersion, String unzipLocation, String templateId) | public AssessmentFacade | createImportedAssessment(Document document, int qtiVersion, String unzipLocation) Import an assessment XML document in QTI format, extract & persist the data. | public ItemFacade | createImportedItem(Document document, int qtiVersion) Import an item XML document in QTI format, extract & persist the data. | public QuestionPoolFacade | createImportedQuestionPool(Document document, int qtiVersion) Import an assessment XML document in QTI format, extract & persist the data. | public Document | getExportedAssessment(String assessmentId, int qtiVersion) Get an assessment in Document form. | public Document | getExportedItem(String itemId, int qtiVersion) Get an item in Document form. | public Document | getExportedItemBank(String itemIds, int qtiVersion) Get an item bank in Document form. |
QTIService | public QTIService()(Code) | | |
createImportedAssessment | public AssessmentFacade createImportedAssessment(Document document, int qtiVersion)(Code) | | Import an assessment XML document in QTI format, extract & persist the data.
Parameters: document - the assessment XML document in QTI format Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; a persisted assessment |
createImportedAssessment | public AssessmentFacade createImportedAssessment(Document document, int qtiVersion, String unzipLocation)(Code) | | Import an assessment XML document in QTI format, extract & persist the data.
Parameters: document - the assessment XML document in QTI format Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; a persisted assessment |
createImportedItem | public ItemFacade createImportedItem(Document document, int qtiVersion)(Code) | | Import an item XML document in QTI format, extract & persist the data.
Parameters: document - the item XML document in QTI format Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; a persisted item |
createImportedQuestionPool | public QuestionPoolFacade createImportedQuestionPool(Document document, int qtiVersion)(Code) | | Import an assessment XML document in QTI format, extract & persist the data.
import process assumes assessment structure, not objectbank or itembank
based on usage in other potential migration systems, Respondus, BlackBoard, etc.
QTI version 2.x will probably focus on content packaging for question pools
Parameters: document - the assessment XML document in QTI format Parameters: qtiVersion - QTIVersion.VERSION_1_2; a persisted assessment |
getExportedAssessment | public Document getExportedAssessment(String assessmentId, int qtiVersion)(Code) | | Get an assessment in Document form.
Note: this service requires a Faces context.
Parameters: assessmentId - the assessment's Id Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; the Document with the assessment data |
getExportedItem | public Document getExportedItem(String itemId, int qtiVersion)(Code) | | Get an item in Document form.
Note: this service requires a Faces context.
Parameters: itemId - the item's Id Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; the Document with the assessment data |
getExportedItemBank | public Document getExportedItemBank(String itemIds, int qtiVersion)(Code) | | Get an item bank in Document form.
Note: this service requires a Faces context.
Parameters: itemIds - an array of item ids Parameters: qtiVersion - either QTIVersion.VERSION_1_2 or QTIVersion.VERSION_2_0; the Document with the item bank |
|
|