org.sakaiproject.tool.assessment.facade
Class AssessmentFacade

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.facade.AssessmentBaseFacade
      extended byorg.sakaiproject.tool.assessment.facade.AssessmentFacade
All Implemented Interfaces:
AssessmentBaseIfc, AssessmentIfc, Serializable

public class AssessmentFacade
extends AssessmentBaseFacade
implements AssessmentIfc

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sakaiproject.tool.assessment.facade.AssessmentBaseFacade
assessment
 
Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentBaseIfc
ACTIVE_STATUS, DEAD_STATUS, HASMETADATAFORQUESTIONS, INACTIVE_STATUS, METADATAQUESTIONS_ISINSTRUCTOREDITABLE, SHOWFEEDBACKAUTHORING
 
Constructor Summary
AssessmentFacade()
           
AssessmentFacade(AssessmentIfc data)
           
AssessmentFacade(AssessmentIfc data, Boolean loadSection)
           
AssessmentFacade(Long id, String title, Date lastModifiedDate)
          IMPORTANT: this constructor do not have "data", this constructor is merely used for holding assessmentBaseId (which is the assessmentId), Title & lastModifiedDate for displaying purpose.
 
Method Summary
 Long getAssessmentId()
           
 Long getAssessmentTemplateId()
           
 SectionDataIfc getDefaultSection()
           
 SectionDataIfc getSection(Long sequence)
           
 ArrayList getSectionArray()
           
 ArrayList getSectionArraySorted()
           
 Set getSectionSet()
           
 void setAssessmentTemplateId(Long assessmentTemplateId)
           
 void setSectionSet(Set sectionSet)
           
 
Methods inherited from class org.sakaiproject.tool.assessment.facade.AssessmentBaseFacade
addAssessmentMetaData, getAssessmentAccessControl, getAssessmentBaseId, getAssessmentFeedback, getAssessmentMetaDataByLabel, getAssessmentMetaDataMap, getAssessmentMetaDataMap, getAssessmentMetaDataSet, getAssessmentTypeFacade, getComments, getCreatedBy, getCreatedDate, getData, getDescription, getDisplayName, getEvaluationModel, getHasMetaDataForQuestions, getInstructorNotification, getIsTemplate, getLastModifiedBy, getLastModifiedDate, getMetaDataQuestions_isInstructorEditable, getMultipartAllowed, getParentId, getSecuredIPAddressSet, getShowFeedbackAuthoring, getStatus, getTesteeNotification, getTitle, getType, getTypeId, setAssessmentAccessControl, setAssessmentBaseId, setAssessmentFeedback, setAssessmentMetaDataSet, setComments, setCreatedBy, setCreatedDate, setData, setDescription, setDisplayName, setEvaluationModel, setInstructorNotification, setIsTemplate, setLastModifiedBy, setLastModifiedDate, setMultipartAllowed, setParentId, setSecuredIPAddressSet, setStatus, setTesteeNotification, setTitle, setTypeId, updateAssessmentMetaData, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentBaseIfc
addAssessmentMetaData, getAssessmentAccessControl, getAssessmentBaseId, getAssessmentFeedback, getAssessmentMetaDataByLabel, getAssessmentMetaDataMap, getAssessmentMetaDataMap, getAssessmentMetaDataSet, getComments, getCreatedBy, getCreatedDate, getDescription, getEvaluationModel, getInstructorNotification, getIsTemplate, getLastModifiedBy, getLastModifiedDate, getMultipartAllowed, getParentId, getSecuredIPAddressSet, getStatus, getTesteeNotification, getTitle, getType, getTypeId, setAssessmentAccessControl, setAssessmentBaseId, setAssessmentFeedback, setAssessmentMetaDataSet, setComments, setCreatedBy, setCreatedDate, setDescription, setEvaluationModel, setInstructorNotification, setIsTemplate, setLastModifiedBy, setLastModifiedDate, setMultipartAllowed, setParentId, setSecuredIPAddressSet, setStatus, setTesteeNotification, setTitle, setTypeId, updateAssessmentMetaData
 

Constructor Detail

AssessmentFacade

public AssessmentFacade()

AssessmentFacade

public AssessmentFacade(Long id,
                        String title,
                        Date lastModifiedDate)
IMPORTANT: this constructor do not have "data", this constructor is merely used for holding assessmentBaseId (which is the assessmentId), Title & lastModifiedDate for displaying purpose. This constructor does not persist data (which it has none) to DB

Parameters:
id -
title -
lastModifiedDate -

AssessmentFacade

public AssessmentFacade(AssessmentIfc data,
                        Boolean loadSection)

AssessmentFacade

public AssessmentFacade(AssessmentIfc data)
Method Detail

getAssessmentId

public Long getAssessmentId()
Specified by:
getAssessmentId in interface AssessmentIfc

getAssessmentTemplateId

public Long getAssessmentTemplateId()
Specified by:
getAssessmentTemplateId in interface AssessmentIfc

setAssessmentTemplateId

public void setAssessmentTemplateId(Long assessmentTemplateId)
Specified by:
setAssessmentTemplateId in interface AssessmentIfc

getSectionSet

public Set getSectionSet()
Specified by:
getSectionSet in interface AssessmentIfc

setSectionSet

public void setSectionSet(Set sectionSet)
Specified by:
setSectionSet in interface AssessmentIfc

getSectionArray

public ArrayList getSectionArray()
Specified by:
getSectionArray in interface AssessmentIfc

getSectionArraySorted

public ArrayList getSectionArraySorted()
Specified by:
getSectionArraySorted in interface AssessmentIfc

getSection

public SectionDataIfc getSection(Long sequence)
Specified by:
getSection in interface AssessmentIfc

getDefaultSection

public SectionDataIfc getDefaultSection()
Specified by:
getDefaultSection in interface AssessmentIfc