| org.sakaiproject.tool.assessment.shared.api.qti.QTIServiceAPI
All known Subclasses: org.sakaiproject.tool.assessment.shared.impl.qti.QTIServiceImpl,
QTIServiceAPI | public interface QTIServiceAPI (Code) | | |
createImportedAssessment | public AssessmentIfc 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 1=QTI VERSION 1.2 or 2=QTI Version 2.0 a persisted assessment |
createImportedItem | public ItemDataIfc 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 1=QTI VERSION 1.2 or 2=QTI Version 2.0 a persisted item |
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 1=QTI VERSION 1.2 or 2=QTI 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 1=QTI VERSION 1.2 or 2=QTI 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 1=QTI VERSION 1.2 or 2=QTI Version 2.0 the Document with the item bank |
|
|