org.sakaiproject.tool.assessment.facade
Class AssessmentTemplateFacade

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

public class AssessmentTemplateFacade
extends AssessmentBaseFacade
implements AssessmentTemplateIfc

See Also:
Serialized Form

Field Summary
static Integer ACTIVE_STATUS
           
static String AUTHORS
           
static String BGCOLOR
           
static String BGIMAGE
           
static Long DEFAULTTEMPLATE
           
static Integer INACTIVE_STATUS
           
static String KEYWORDS
           
static String OBJECTIVES
           
 
Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentBaseIfc
DEAD_STATUS, HASMETADATAFORQUESTIONS, METADATAQUESTIONS_ISINSTRUCTOREDITABLE, SHOWFEEDBACKAUTHORING
 
Constructor Summary
AssessmentTemplateFacade()
           
AssessmentTemplateFacade(AssessmentTemplateIfc data)
           
AssessmentTemplateFacade(Long id, String title)
          IMPORTANT: this constructor do not have "data", this constructor is merely used for holding assessmentBaseId (which is the templateId) & Title for displaying purpose.
AssessmentTemplateFacade(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 getAssessmentTemplateId()
           
 void setAssessmentTemplateId(Long newId)
           
 
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
 

Field Detail

AUTHORS

public static String AUTHORS

KEYWORDS

public static String KEYWORDS

OBJECTIVES

public static String OBJECTIVES

BGCOLOR

public static String BGCOLOR

BGIMAGE

public static String BGIMAGE

DEFAULTTEMPLATE

public static Long DEFAULTTEMPLATE

INACTIVE_STATUS

public static Integer INACTIVE_STATUS

ACTIVE_STATUS

public static Integer ACTIVE_STATUS
Constructor Detail

AssessmentTemplateFacade

public AssessmentTemplateFacade()

AssessmentTemplateFacade

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

Parameters:
id -
title -

AssessmentTemplateFacade

public AssessmentTemplateFacade(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 -

AssessmentTemplateFacade

public AssessmentTemplateFacade(AssessmentTemplateIfc data)
Method Detail

getAssessmentTemplateId

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

setAssessmentTemplateId

public void setAssessmentTemplateId(Long newId)
Specified by:
setAssessmentTemplateId in interface AssessmentTemplateIfc