...
List of files and the modifications for each file.
Originally changed for Sakai v2.2.x, but the same changes will apply to v2.1.x except that the directory structure differs.
Also, note that depending on which release of 2.2.x is used, QTI and services are moved out into the new samigo-qti directory.
...
v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/bundle/AuthorImportExport.properties | Added import_qp=Import Pool for importing question pools | text used in importPool.jsp |
v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties | removed duplicate t_addSubpool; added t_importPool | clean up and added text for poolList.jsp |
v2.1.x: tool/src/webapp/jsf/questionpool/poolList.jsp | added link with action="importPool"; added new msg values | Added the Import link to the main Question Pools screen |
v2.1.x: tool/src/webapp/jsf/qti/importPool.jsp | importPool.jsp created | The jsf file is modeled on importAssessment.jsp for user to browse and upload xml file |
v2.1.x: tool/src/webapp/WEB-INF/faces-config.xml | Added questionPoolBean to XML Import; changed navigation path for question pool import to qti folder to be consistent with other import files | added navigation and bean for xml import |
v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/ui/bean/qti/XMLImportBean.java | Added importPoolFromQTI to mirror import assessment function; Added processAsPoolFile to call createImportedQuestionPool | mirrored functions to assessment calls createImportedQuestionPool |
v2.1.x: component/src/java/org/sakaiproject/tool/assessment/services/qtiQTIService.java | Added createImportedQuestionPool to service | Calls AuthoringHelper.createImportedQuestionPool; service allows outside connectivity |
v2.1.x: component/src/java/org/sakaiproject/tool/assessment/qti/helper/AuthoringHelper.java | Added createImportedQuestionPool; process mirrors createImportedAssessment; calls updateQuestionPool; Exception thrown if import of more than one section is attempted | Reads xml map and assigns values for data entry;fields require testing; |
v2.1.x: component/src/java/org/sakaiproject/tool/assessment/qti/helper/ExtractionHelper.java | Added updateQuestionPool(QuestionPoolFacade questionpool,Map assessmentMap) to pull additional optional fields from an imported question pool | Note: these fields are not populated by imported assessments, but are specific to question pools and may be populated with qtimetadata when an export pool function is available in Samigo |