public FunctionIteratorFacade(Collection functions) throws DataFacadeException { try{ this.functionIter = functions.iterator(); } catch(Exception e){ throw new DataFacadeException(e.getMessage()); } }
public QualifierIfc nextQualifier() throws DataFacadeException { try { return (QualifierIfc)qualifierIter.next(); } catch (Exception e) { throw new DataFacadeException(e.getMessage()); } }
public void setAssessmentTemplateId(Long newId) { try { this.data = (AssessmentTemplateIfc) assessment.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } this.data.setAssessmentTemplateId(newId); }
public String getEmiAnswerOptionLabels() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return data.getEmiAnswerOptionLabels(); }
public Integer getAnswerOptionsSimpleOrRich() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAnswerOptionsSimpleOrRich(); }
public Boolean getScoreDisplayFlag() { try{ this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getScoreDisplayFlag(); }
public String getTitle() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getTitle(); }
public String getOwnerId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getOwnerId(); }
public Long getAccessTypeId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAccessTypeId(); }
public Long getTypeId() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getTypeId(); }
public Integer getDuration() throws DataFacadeException { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getDuration(); }
public int getNumberOfCorrectEmiOptions() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return data.getNumberOfCorrectEmiOptions(); }
public Integer getAnswerOptionsRichCount() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getAnswerOptionsRichCount(); }
public String getDescription() throws DataFacadeException { try { this.data = (SectionDataIfc) section.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getDescription(); }
public Set getItemSet() throws DataFacadeException { try { this.data = (SectionDataIfc) section.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getItemSet(); }
public String getDescription() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getDescription(); }
public Long getQuestionPoolId() throws DataFacadeException { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getQuestionPoolId(); }
public String getKeywords() { try { this.data = (QuestionPoolDataIfc) questionPool.getData(); } catch (QuestionPoolException ex) { throw new DataFacadeException(ex.getMessage()); } return this.data.getKeywords(); }
public AssessmentIfc getAssessment() throws DataFacadeException { try { this.data = (SectionDataIfc) section.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } return new PublishedAssessmentFacade(this.data.getAssessment()); }
public TypeFacade getItemTypeFacade() { try { this.data = (ItemDataIfc) item.getData(); } catch (AssessmentException ex) { throw new DataFacadeException(ex.getMessage()); } TypeFacadeQueriesAPI typeFacadeQueries = PersistenceService.getInstance().getTypeFacadeQueries(); return typeFacadeQueries.getTypeFacadeById(this.data.getTypeId()); }