public ArrayList getSectionArraySorted() { ArrayList list = getSectionArray(); Collections.sort(list); return list; }
public ArrayList getSectionArraySorted() { ArrayList list = getSectionArray(); Collections.sort(list); return list; }
public int updateAllRandomPoolQuestions(AssessmentFacade assessment, boolean publishing){ //verify that we can update the sections first: for(SectionFacade section : (List<SectionFacade>) assessment.getSectionArray()){ if(!verifyItemsDrawSize(section)){ return UPDATE_ERROR_DRAW_SIZE_TOO_LARGE; } } //passed all tests, so update pool questions: for(SectionFacade section : (List<SectionFacade>) assessment.getSectionArray()){ updateRandomPoolQuestions(section, publishing); } return UPDATE_SUCCESS; }
public int updateAllRandomPoolQuestions(AssessmentFacade assessment, boolean publishing){ //verify that we can update the sections first: for(SectionFacade section : (List<SectionFacade>) assessment.getSectionArray()){ if(!verifyItemsDrawSize(section)){ return UPDATE_ERROR_DRAW_SIZE_TOO_LARGE; } } //passed all tests, so update pool questions: for(SectionFacade section : (List<SectionFacade>) assessment.getSectionArray()){ updateRandomPoolQuestions(section, publishing); } return UPDATE_SUCCESS; }
int nQuestion = 1; for (Object sectionObj : assessment.getSectionArray()) { SectionFacade section = (SectionFacade)sectionObj; List<ItemDataIfc> items = null;
int nQuestion = 1; for (Object sectionObj : assessment.getSectionArray()) { SectionFacade section = (SectionFacade)sectionObj; List<ItemDataIfc> items = null;
boolean exportToMarkupText = false; for (Object sectionObj : assessment.getSectionArray()) { SectionFacade section = (SectionFacade)sectionObj; List<ItemDataIfc> items = null;
boolean exportToMarkupText = false; for (Object sectionObj : assessment.getSectionArray()) { SectionFacade section = (SectionFacade)sectionObj; List<ItemDataIfc> items = null;
List sectionList = assessmentFacade.getSectionArray(); for(int i = 0; i < sectionList.size(); i++){ SectionFacade section = (SectionFacade) sectionList.get(i);
List sectionList = assessmentFacade.getSectionArray(); for(int i = 0; i < sectionList.size(); i++){ SectionFacade section = (SectionFacade) sectionList.get(i);