org.sakaiproject.tool.assessment.facade
Class AssessmentFacade

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

public class AssessmentFacade
extends AssessmentBaseFacade
implements Serializable, 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, RETRACT_FOR_EDIT_STATUS, 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.
AssessmentFacade(Long id, String title, Date lastModifiedDate, String lastModifiedBy)
          IMPORTANT: this constructor do not have "data", this constructor is merely used for holding assessmentBaseId (which is the assessmentId), Title & lastModifiedDate for displaying purpose.
AssessmentFacade(Long id, String title, Date lastModifiedDate, String lastModifiedBy, int questionSize)
           
 
Method Summary
 List getAssessmentAttachmentList()
           
 Set getAssessmentAttachmentSet()
           
 Long getAssessmentId()
           
 Long getAssessmentTemplateId()
           
 SectionDataIfc getDefaultSection()
           
 String getLastModifiedDateForDisplay()
           
 Integer getQuestionSize()
           
 SectionDataIfc getSection(Long sequence)
           
 ArrayList getSectionArray()
           
 ArrayList getSectionArraySorted()
           
 Set getSectionSet()
           
 void setAssessmentAttachmentSet(Set assessmentAttachmentSet)
           
 void setAssessmentTemplateId(Long assessmentTemplateId)
           
 void setLastModifiedDateForDisplay(String lastModifiedDateForDisplay)
           
 void setQuestionSize(Integer questionSize)
           
 void setSectionSet(Set sectionSet)
           
 
Methods inherited from class org.sakaiproject.tool.assessment.facade.AssessmentBaseFacade
addAssessmentAttachmentMetaData, addAssessmentMetaData, getAssessmentAccessControl, getAssessmentAttachmentMetaData, 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.AssessmentIfc
getHasMetaDataForQuestions
 
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(Long id,
                        String title,
                        Date lastModifiedDate,
                        String lastModifiedBy)
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(Long id,
                        String title,
                        Date lastModifiedDate,
                        String lastModifiedBy,
                        int questionSize)

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

getAssessmentAttachmentSet

public Set getAssessmentAttachmentSet()
                               throws DataFacadeException
Specified by:
getAssessmentAttachmentSet in interface AssessmentIfc
Throws:
DataFacadeException

setAssessmentAttachmentSet

public void setAssessmentAttachmentSet(Set assessmentAttachmentSet)
Specified by:
setAssessmentAttachmentSet in interface AssessmentIfc

getAssessmentAttachmentList

public List getAssessmentAttachmentList()
Specified by:
getAssessmentAttachmentList in interface AssessmentIfc

getQuestionSize

public Integer getQuestionSize()

setQuestionSize

public void setQuestionSize(Integer questionSize)

getLastModifiedDateForDisplay

public String getLastModifiedDateForDisplay()

setLastModifiedDateForDisplay

public void setLastModifiedDateForDisplay(String lastModifiedDateForDisplay)


Copyright © 2005-2012 Sakai Project. All Rights Reserved.