| org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueriesAPI
All known Subclasses: org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries,
AssessmentFacadeQueriesAPI | public interface AssessmentFacadeQueriesAPI (Code) | | |
Method Summary | |
public Long | addAssessment(Long assessmentTemplateId) | public SectionFacade | addSection(Long assessmentId) | public Long | addTemplate() | public boolean | assessmentTitleIsUnique(Long assessmentBaseId, String title, Boolean isTemplate) | public void | checkForQuestionPoolItem(AssessmentData assessment, HashMap qpItemHash) | public void | checkForQuestionPoolItem(SectionData section, HashMap qpItemHash) | public AssessmentData | cloneAssessmentFromTemplate(AssessmentTemplateData t) | public void | copyAllAssessments(String fromContext, String toContext) | public AssessmentFacade | createAssessment(String title, String description, Long typeId, Long templateId) | public AssessmentAttachmentIfc | createAssessmentAttachment(AssessmentIfc assessment, String resourceId, String filename, String protocol) | public AssessmentFacade | createAssessmentWithoutDefaultSection(String title, String description, Long typeId, Long templateId) This method is the same as createAssessment() except that no default
section will be created with the assessment. | public AttachmentData | createEmailAttachment(String resourceId, String filename, String protocol) | public ItemAttachmentIfc | createItemAttachment(ItemDataIfc item, String resourceId, String filename, String protocol) | public SectionAttachmentIfc | createSectionAttachment(SectionDataIfc section, String resourceId, String filename, String protocol) | public void | deleteAllMetaData(AssessmentBaseIfc assessment) | public void | deleteAllSecuredIP(AssessmentIfc assessment) | public void | deleteTemplate(Long templateId) | public ArrayList | getAllActiveAssessmentTemplates() | public ArrayList | getAllActiveAssessments(String orderBy) | public List | getAllActiveAssessmentsByAgent(String fromContext) | public ArrayList | getAllAssessmentTemplates() | public ArrayList | getAllAssessments(String orderBy) | public ArrayList | getAllAssessments(int pageSize, int pageNumber, String orderBy) | public AssessmentFacade | getAssessment(Long assessmentId) | public List | getAssessmentByTemplate(Long templateId) | public String | getAssessmentCreatedBy(String assessmentId) | public IdImpl | getAssessmentId(String id) | public IdImpl | getAssessmentId(Long id) | public IdImpl | getAssessmentId(long id) | public String | getAssessmentSiteId(String assessmentId) | public AssessmentTemplateFacade | getAssessmentTemplate(Long assessmentTemplateId) | public IdImpl | getAssessmentTemplateId(String id) | public IdImpl | getAssessmentTemplateId(Long id) | public IdImpl | getAssessmentTemplateId(long id) | public ArrayList | getBasicInfoOfAllActiveAssessmentTemplates(String orderBy) | public ArrayList | getBasicInfoOfAllActiveAssessments(String orderBy, boolean ascending) | public ArrayList | getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId, boolean ascending) | public ArrayList | getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId) | public AssessmentFacade | getBasicInfoOfAnAssessment(Long assessmentId) | public List | getDefaultMetaDataSet() | public IdImpl | getId(String id) | public IdImpl | getId(Long id) | public IdImpl | getId(long id) | public int | getQuestionSize(Long assessmentId) | public SectionFacade | getSection(Long sectionId) | public ArrayList | getSettingsOfAllActiveAssessments(String orderBy) | public ArrayList | getTitleOfAllActiveAssessmentTemplates() a list of AssessmentTemplateFacade. | public AssessmentBaseData | load(Long id) | public AssessmentData | loadAssessment(Long assessmentId) | public SectionData | loadSection(Long sectionId) | public AssessmentTemplateData | loadTemplate(Long assessmentTemplateId) | public void | moveAllItems(Long sourceSectionId, Long destSectionId) | public void | removeAllItems(Long sourceSectionId) | public void | removeAssessment(Long assessmentId) | public void | removeAssessmentAttachment(Long assessmentAttachmentId) | public void | removeItemAttachment(Long itemAttachmentId) | public void | removeSection(Long sectionId) | public void | removeSectionAttachment(Long sectionAttachmentId) | public void | removeTemplate(Long assessmentId) | public void | saveOrUpdate(AssessmentFacade assessment) | public void | saveOrUpdate(AssessmentTemplateData template) | public void | saveOrUpdateAttachments(List list) | public void | saveOrUpdateSection(SectionFacade section) | public void | updateAssessmentLastModifiedInfo(AssessmentFacade assessmentFacade) |
addAssessment | public Long addAssessment(Long assessmentTemplateId)(Code) | | |
assessmentTitleIsUnique | public boolean assessmentTitleIsUnique(Long assessmentBaseId, String title, Boolean isTemplate)(Code) | | |
copyAllAssessments | public void copyAllAssessments(String fromContext, String toContext)(Code) | | |
createAssessmentWithoutDefaultSection | public AssessmentFacade createAssessmentWithoutDefaultSection(String title, String description, Long typeId, Long templateId) throws Exception(Code) | | This method is the same as createAssessment() except that no default
section will be created with the assessment.
|
deleteTemplate | public void deleteTemplate(Long templateId)(Code) | | |
getAllActiveAssessmentTemplates | public ArrayList getAllActiveAssessmentTemplates()(Code) | | |
getAllActiveAssessmentsByAgent | public List getAllActiveAssessmentsByAgent(String fromContext)(Code) | | |
getAllAssessmentTemplates | public ArrayList getAllAssessmentTemplates()(Code) | | |
getAssessmentByTemplate | public List getAssessmentByTemplate(Long templateId)(Code) | | |
getAssessmentTemplateId | public IdImpl getAssessmentTemplateId(long id)(Code) | | |
getBasicInfoOfAllActiveAssessmentTemplates | public ArrayList getBasicInfoOfAllActiveAssessmentTemplates(String orderBy)(Code) | | |
getBasicInfoOfAllActiveAssessments | public ArrayList getBasicInfoOfAllActiveAssessments(String orderBy, boolean ascending)(Code) | | |
getBasicInfoOfAllActiveAssessmentsByAgent | public ArrayList getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId, boolean ascending)(Code) | | |
getBasicInfoOfAllActiveAssessmentsByAgent | public ArrayList getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId)(Code) | | |
getDefaultMetaDataSet | public List getDefaultMetaDataSet()(Code) | | |
getQuestionSize | public int getQuestionSize(Long assessmentId)(Code) | | |
getSettingsOfAllActiveAssessments | public ArrayList getSettingsOfAllActiveAssessments(String orderBy)(Code) | | |
getTitleOfAllActiveAssessmentTemplates | public ArrayList getTitleOfAllActiveAssessmentTemplates()(Code) | | a list of AssessmentTemplateFacade. However, it is IMPORTANT tonote that it is not a full object, it contains merelyassessmentBaseId (which is the templateId) & title. This methodsis used when a list of template titles is required for displayingpurposes. |
moveAllItems | public void moveAllItems(Long sourceSectionId, Long destSectionId)(Code) | | This method move a set of questions form one section to another
Parameters: sourceSectionId - Parameters: destSectionId - |
removeAllItems | public void removeAllItems(Long sourceSectionId)(Code) | | |
removeAssessment | public void removeAssessment(Long assessmentId)(Code) | | |
removeAssessmentAttachment | public void removeAssessmentAttachment(Long assessmentAttachmentId)(Code) | | |
removeItemAttachment | public void removeItemAttachment(Long itemAttachmentId)(Code) | | |
removeSection | public void removeSection(Long sectionId)(Code) | | |
removeSectionAttachment | public void removeSectionAttachment(Long sectionAttachmentId)(Code) | | |
removeTemplate | public void removeTemplate(Long assessmentId)(Code) | | |
saveOrUpdateAttachments | public void saveOrUpdateAttachments(List list)(Code) | | |
updateAssessmentLastModifiedInfo | public void updateAssessmentLastModifiedInfo(AssessmentFacade assessmentFacade)(Code) | | |
|
|