item.setTypeId(typeId);
item.setTypeId(typeId);
Set correctAnswerIDs = importableQuestion.getCorrectAnswerIDs(); itemFacade = new ItemFacade(); itemFacade.setTypeId(new Long(importableQuestion.getQuestionType())); textSet = new HashSet(); questionTextString = contextualizeUrls(importableQuestion.getQuestionText(), siteId); if (matcher.find()) questionTextString = questionTextString.replaceFirst(matcher.group(),"{}"); text.setText(questionTextString); itemFacade.setTypeId(Long.valueOf(SamigoPoolHandler.FILL_BLANK)); } else if (importableQuestion.getQuestionType() == SamigoPoolHandler.FILL_BLANK) { if (j.hasNext()) continue; itemFacade.setCorrectItemFeedback(importableQuestion.getFeedbackWhenCorrect()); itemFacade.setInCorrectItemFeedback(importableQuestion.getFeedbackWhenIncorrect()); itemFacade.setTypeId(Long.valueOf(importableQuestion.getQuestionType())); itemFacade.setScore(importableQuestion.getPointValue()); itemFacade.setSequence(importableQuestion.getPosition());
Set correctAnswerIDs = importableQuestion.getCorrectAnswerIDs(); itemFacade = new ItemFacade(); itemFacade.setTypeId(new Long(importableQuestion.getQuestionType())); textSet = new HashSet(); questionTextString = contextualizeUrls(importableQuestion.getQuestionText(), siteId); if (matcher.find()) questionTextString = questionTextString.replaceFirst(matcher.group(),"{}"); text.setText(questionTextString); itemFacade.setTypeId(Long.valueOf(SamigoPoolHandler.FILL_BLANK)); } else if (importableQuestion.getQuestionType() == SamigoPoolHandler.FILL_BLANK) { if (j.hasNext()) continue;
item.setHint(itemData.getHint()); item.setStatus(itemData.getStatus()); item.setTypeId(itemData.getTypeId()); item.setCreatedBy(AgentFacade.getAgentString()); item.setCreatedDate(new Date());
item.setHint(itemData.getHint()); item.setStatus(itemData.getStatus()); item.setTypeId(itemData.getTypeId()); item.setCreatedBy(AgentFacade.getAgentString()); item.setCreatedDate(new Date());