org.sakaiproject.tool.assessment.ui.bean.author
Class AssessmentSettingsBean

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.bean.author.AssessmentSettingsBean
All Implemented Interfaces:
Serializable

public class AssessmentSettingsBean
extends Object
implements Serializable

To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments Used to be org.navigoproject.ui.web.asi.author.assessment.AssessmentActionForm.java

See Also:
Serialized Form

Constructor Summary
AssessmentSettingsBean()
           
 
Method Summary
 String addAttachmentsRedirect()
           
 String checkDate()
           
 String getAlias()
           
 String getAnonymousGrading()
           
 AssessmentFacade getAssessment()
           
 String getAssessmentFormat()
           
 Long getAssessmentId()
           
 List getAttachmentList()
           
 String getAuthors()
           
 boolean getAutoSubmit()
           
 String getBgColor()
           
 String getBgColorSelect()
           
 String getBgImage()
           
 String getBgImageSelect()
           
 String getBlockDivs()
           
 String getCreator()
           
 String getDateString(Date date)
           
 String getDescription()
           
 Date getDueDate()
           
 String getDueDateString()
           
 String getFeedbackAuthoring()
           
 String getFeedbackComponentOption()
           
 Date getFeedbackDate()
           
 String getFeedbackDateString()
           
 String getFeedbackDelivery()
           
 String getFinalPageUrl()
           
 String getFirstTargetSelected()
           
 String getFirstTargetSelected(String releaseTo)
           
 boolean getGradebookExists()
           
 String[] getGroupsAuthorized()
          gopalrc Nov 2007 Returns the groups to which this assessment is released
 String[] getGroupsAuthorizedToSave()
          To compensate for strange stateful behaviour of this bean added by gopalrc Nov 2007 TODO: troubleshoot stateful behaviour if time allows - found that it's due to the bean having "session" scope - but changing it to "request" scope causes other issues
 javax.faces.model.SelectItem[] getGroupsForSite()
          gopalrc Nov 2007 Returns all groups for site
 boolean getHasAttachment()
           
 boolean getHasQuestions()
           
 javax.faces.model.SelectItem[] getHours()
           
 String getIpAddresses()
           
 boolean getIsMarkForReview()
           
 boolean getIsValidDueDate()
           
 boolean getIsValidFeedbackDate()
           
 boolean getIsValidRetractDate()
           
 boolean getIsValidStartDate()
           
 String getItemNavigation()
           
 String getItemNumbering()
           
 String getKeywords()
           
 String getLateHandling()
           
 javax.faces.model.SelectItem[] getMins()
           
 boolean getNoTemplate()
           
 int getNumberOfGroupsForSite()
          gopalrc Nov 2007 Returns the total number of groups for this site
 String getObjectives()
           
 String getOutcomePublish()
           
 String getOutcomeSave()
           
 String getPassword()
           
 String getPublishedUrl()
           
 javax.faces.model.SelectItem[] getPublishingTargets()
           
 String getReleaseTo()
           
 String getReleaseToGroupsAsString()
           
 HashMap getResourceHash()
           
 Date getRetractDate()
           
 String getRetractDateString()
           
 String getRubrics()
           
 String getScoringType()
           
 javax.faces.model.SelectItem[] getSecureDeliverModuleSelections()
           
 String getSecureDeliveryModule()
           
 String getSecureDeliveryModuleExitPassword()
           
 javax.faces.model.SelectItem[] getSecureDeliveryModuleSelections()
           
 boolean getShowCorrectResponse()
           
 boolean getShowGraderComments()
           
 boolean getShowQuestionLevelFeedback()
           
 boolean getShowQuestionText()
           
 boolean getShowSelectionLevelFeedback()
           
 boolean getShowStatistics()
           
 boolean getShowStudentQuestionScore()
           
 boolean getShowStudentResponse()
           
 boolean getShowStudentScore()
           
 Date getStartDate()
           
 String getStartDateString()
           
 String getSubmissionMessage()
           
 String getSubmissionsAllowed()
           
 String getSubmissionsSaved()
           
 String[] getTargetSelected()
           
 String[] getTargetSelected(String releaseTo)
           
 String getTemplateAuthors()
           
 String getTemplateDescription()
           
 String getTemplateTitle()
           
 boolean getTimedAssessment()
           
 Integer getTimedHours()
           
 Integer getTimedMinutes()
           
 Integer getTimedSeconds()
           
 Integer getTimeLimit()
           
 String getTitle()
           
 String getToDefaultGradebook()
           
 String getUnlimitedSubmissions()
           
 String getUsername()
           
 Boolean getValue(String key)
           
 HashMap getValueMap()
           
 boolean isSecureDeliveryAvailable()
           
 void resetIsValidDate()
           
 void resetOriginalDateString()
           
 void resetTimeLimitDisplay()
           
 void setAlias(String alias)
           
 void setAnonymousGrading(String anonymousGrading)
           
 void setAssessment(AssessmentFacade assessment)
           
 void setAssessmentAttachment()
           
 void setAssessmentFormat(String assessmentFormat)
           
 void setAssessmentId(Long assessmentId)
           
 void setAttachmentList(List attachmentList)
           
 void setAuthors(String authors)
           
 void setAutoSubmit(boolean autoSubmit)
           
 void setBgColor(String bgColor)
           
 void setBgColorSelect(String bgColorSelect)
           
 void setBgImage(String bgImage)
           
 void setBgImageSelect(String bgImageSelect)
           
 void setBlockDivs(String blockDivs)
           
 void setCreator(String creator)
           
 void setDescription(String description)
           
 void setDisplayFormat(String displayDateFormat)
           
 void setDueDate(Date dueDate)
           
 void setDueDateString(String dueDateString)
           
 void setFeedbackAuthoring(String feedbackAuthoring)
           
 void setFeedbackComponentOption(String feedbackComponentOption)
           
 void setFeedbackDate(Date feedbackDate)
           
 void setFeedbackDateString(String feedbackDateString)
           
 void setFeedbackDelivery(String feedbackDelivery)
           
 void setFinalPageUrl(String finalPageUrl)
           
 void setFirstTargetSelected(String firstTargetSelected)
           
 void setGradebookExists(boolean gradebookExists)
           
 void setGroupsAuthorized(String[] groupsAuthorized)
           
 void setHasQuestions(boolean hasQuestions)
           
static void setHours(javax.faces.model.SelectItem[] hours)
           
 void setIpAddresses(String ipAddresses)
           
 void setIsMarkForReview(boolean isMarkForReview)
           
 void setItemNavigation(String itemNavigation)
           
 void setItemNumbering(String itemNumbering)
           
 void setKeywords(String keywords)
           
 void setLateHandling(String lateHandling)
           
static void setMins(javax.faces.model.SelectItem[] mins)
           
 void setNoGroupSelectedError(boolean noGroupSelectedError)
           
 void setNoTemplate(boolean noTemplate)
           
 void setObjectives(String objectives)
           
 void setOutcomePublish(String outcomePublish)
           
 void setOutcomeSave(String outcomeSave)
           
 void setPassword(String password)
           
 void setPublishedUrl(String publishedUrl)
           
 void setReleaseTo(String releaseTo)
           
 void setReleaseToGroupsAsString(String releaseToGroupsAsString)
           
 void setResourceHash(HashMap resourceHash)
           
 void setRetractDate(Date retractDate)
           
 void setRetractDateString(String retractDateString)
           
 void setRubrics(String rubrics)
           
 void setScoringType(String scoringType)
           
 void setSecureDeliveryAvailable(boolean secureDeliveryAvailable)
           
 void setSecureDeliveryModule(String secureDeliveryModule)
           
 void setSecureDeliveryModuleExitPassword(String secureDeliveryModuleExitPassword)
           
 void setSecureDeliveryModuleSelections(javax.faces.model.SelectItem[] secureDeliveryModuleSelections)
           
 void setShowCorrectResponse(boolean showCorrectResponse)
           
 void setShowGraderComments(boolean showGraderComments)
           
 void setShowQuestionLevelFeedback(boolean showQuestionLevelFeedback)
           
 void setShowQuestionText(boolean showQuestionText)
           
 void setShowSelectionLevelFeedback(boolean showSelectionLevelFeedback)
           
 void setShowStatistics(boolean showStatistics)
           
 void setShowStudentQuestionScore(boolean showStudentQuestionScore)
           
 void setShowStudentResponse(boolean showStudentResponse)
           
 void setShowStudentScore(boolean showStudentScore)
           
 void setStartDate(Date startDate)
           
 void setStartDateString(String startDateString)
           
 void setSubmissionMessage(String submissionMessage)
           
 void setSubmissionsAllowed(String submissionsAllowed)
           
 void setSubmissionsSaved(String submissionSaved)
           
 void setTargetSelected(String[] targetSelected)
           
 void setTemplateAuthors(String templateAuthors)
           
 void setTemplateDescription(String templateDescription)
           
 void setTemplateTitle(String title)
           
 void setTimedAssessment(boolean timedAssessment)
           
 void setTimedHours(Integer timedHours)
           
 void setTimedMinutes(Integer timedMinutes)
           
 void setTimedSeconds(Integer timedSeconds)
           
 void setTimeLimit(Integer timeLimit)
           
 void setTimeLimitDisplay(int time)
           
 void setTitle(String title)
           
 void setToDefaultGradebook(String toDefaultGradebook)
           
 void setUnlimitedSubmissions(String unlimitedSubmissions)
           
 void setUsername(String username)
           
 void setValue(String key, Object value)
           
 void setValueMap(HashMap newMap)
           
 boolean validateTarget(String firstTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssessmentSettingsBean

public AssessmentSettingsBean()
Method Detail

getAssessment

public AssessmentFacade getAssessment()

setAssessment

public void setAssessment(AssessmentFacade assessment)

getBgColorSelect

public String getBgColorSelect()

setBgColorSelect

public void setBgColorSelect(String bgColorSelect)

getBgImageSelect

public String getBgImageSelect()

setBgImageSelect

public void setBgImageSelect(String bgImageSelect)

getOutcomeSave

public String getOutcomeSave()

setOutcomeSave

public void setOutcomeSave(String outcomeSave)

getOutcomePublish

public String getOutcomePublish()

setOutcomePublish

public void setOutcomePublish(String outcomePublish)

getAssessmentId

public Long getAssessmentId()

setAssessmentId

public void setAssessmentId(Long assessmentId)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getCreator

public String getCreator()

setCreator

public void setCreator(String creator)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getObjectives

public String getObjectives()

setObjectives

public void setObjectives(String objectives)

getKeywords

public String getKeywords()

setKeywords

public void setKeywords(String keywords)

getRubrics

public String getRubrics()

setRubrics

public void setRubrics(String rubrics)

getAuthors

public String getAuthors()

setAuthors

public void setAuthors(String authors)

getBgColor

public String getBgColor()

setBgColor

public void setBgColor(String bgColor)

getBgImage

public String getBgImage()

setBgImage

public void setBgImage(String bgImage)

getHasQuestions

public boolean getHasQuestions()

setHasQuestions

public void setHasQuestions(boolean hasQuestions)

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getDueDate

public Date getDueDate()

setDueDate

public void setDueDate(Date dueDate)

getFeedbackDate

public Date getFeedbackDate()

setFeedbackDate

public void setFeedbackDate(Date feedbackDate)

getRetractDate

public Date getRetractDate()

setRetractDate

public void setRetractDate(Date retractDate)

getReleaseTo

public String getReleaseTo()

setReleaseTo

public void setReleaseTo(String releaseTo)

getTimeLimit

public Integer getTimeLimit()

setTimeLimit

public void setTimeLimit(Integer timeLimit)

setTimedHours

public void setTimedHours(Integer timedHours)

getTimedHours

public Integer getTimedHours()

setTimedMinutes

public void setTimedMinutes(Integer timedMinutes)

getTimedMinutes

public Integer getTimedMinutes()

setTimedSeconds

public void setTimedSeconds(Integer timedSeconds)

getTimedSeconds

public Integer getTimedSeconds()

getTimedAssessment

public boolean getTimedAssessment()

setTimedAssessment

public void setTimedAssessment(boolean timedAssessment)

getAutoSubmit

public boolean getAutoSubmit()

setAutoSubmit

public void setAutoSubmit(boolean autoSubmit)

getAssessmentFormat

public String getAssessmentFormat()

setAssessmentFormat

public void setAssessmentFormat(String assessmentFormat)

getItemNavigation

public String getItemNavigation()

setItemNavigation

public void setItemNavigation(String itemNavigation)

getItemNumbering

public String getItemNumbering()

setItemNumbering

public void setItemNumbering(String itemNumbering)

getUnlimitedSubmissions

public String getUnlimitedSubmissions()

setUnlimitedSubmissions

public void setUnlimitedSubmissions(String unlimitedSubmissions)

getSubmissionsAllowed

public String getSubmissionsAllowed()

setSubmissionsAllowed

public void setSubmissionsAllowed(String submissionsAllowed)

setLateHandling

public void setLateHandling(String lateHandling)

getLateHandling

public String getLateHandling()

setSubmissionsSaved

public void setSubmissionsSaved(String submissionSaved)

getSubmissionsSaved

public String getSubmissionsSaved()

setSubmissionMessage

public void setSubmissionMessage(String submissionMessage)

getSubmissionMessage

public String getSubmissionMessage()

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

setFinalPageUrl

public void setFinalPageUrl(String finalPageUrl)

getFinalPageUrl

public String getFinalPageUrl()

getFeedbackDelivery

public String getFeedbackDelivery()

setFeedbackDelivery

public void setFeedbackDelivery(String feedbackDelivery)

getFeedbackComponentOption

public String getFeedbackComponentOption()

setFeedbackComponentOption

public void setFeedbackComponentOption(String feedbackComponentOption)

getShowQuestionText

public boolean getShowQuestionText()

setShowQuestionText

public void setShowQuestionText(boolean showQuestionText)

getShowStudentResponse

public boolean getShowStudentResponse()

setShowStudentResponse

public void setShowStudentResponse(boolean showStudentResponse)

getShowCorrectResponse

public boolean getShowCorrectResponse()

setShowCorrectResponse

public void setShowCorrectResponse(boolean showCorrectResponse)

getShowStudentScore

public boolean getShowStudentScore()

setShowStudentScore

public void setShowStudentScore(boolean showStudentScore)

getShowStudentQuestionScore

public boolean getShowStudentQuestionScore()

setShowStudentQuestionScore

public void setShowStudentQuestionScore(boolean showStudentQuestionScore)

getShowQuestionLevelFeedback

public boolean getShowQuestionLevelFeedback()

setShowQuestionLevelFeedback

public void setShowQuestionLevelFeedback(boolean showQuestionLevelFeedback)

getShowSelectionLevelFeedback

public boolean getShowSelectionLevelFeedback()

setShowSelectionLevelFeedback

public void setShowSelectionLevelFeedback(boolean showSelectionLevelFeedback)

getShowGraderComments

public boolean getShowGraderComments()

setShowGraderComments

public void setShowGraderComments(boolean showGraderComments)

getShowStatistics

public boolean getShowStatistics()

setShowStatistics

public void setShowStatistics(boolean showStatistics)

getAnonymousGrading

public String getAnonymousGrading()

setAnonymousGrading

public void setAnonymousGrading(String anonymousGrading)

getToDefaultGradebook

public String getToDefaultGradebook()

setToDefaultGradebook

public void setToDefaultGradebook(String toDefaultGradebook)

getGradebookExists

public boolean getGradebookExists()

setGradebookExists

public void setGradebookExists(boolean gradebookExists)

getScoringType

public String getScoringType()

setScoringType

public void setScoringType(String scoringType)

setValue

public void setValue(String key,
                     Object value)

getValue

public Boolean getValue(String key)

getSecureDeliveryModule

public String getSecureDeliveryModule()

setSecureDeliveryModule

public void setSecureDeliveryModule(String secureDeliveryModule)

getSecureDeliveryModuleExitPassword

public String getSecureDeliveryModuleExitPassword()

setSecureDeliveryModuleExitPassword

public void setSecureDeliveryModuleExitPassword(String secureDeliveryModuleExitPassword)

setSecureDeliveryModuleSelections

public void setSecureDeliveryModuleSelections(javax.faces.model.SelectItem[] secureDeliveryModuleSelections)

getSecureDeliveryModuleSelections

public javax.faces.model.SelectItem[] getSecureDeliveryModuleSelections()

isSecureDeliveryAvailable

public boolean isSecureDeliveryAvailable()

setSecureDeliveryAvailable

public void setSecureDeliveryAvailable(boolean secureDeliveryAvailable)

setValueMap

public void setValueMap(HashMap newMap)

getValueMap

public HashMap getValueMap()

getDateString

public String getDateString(Date date)

setTimeLimitDisplay

public void setTimeLimitDisplay(int time)

resetTimeLimitDisplay

public void resetTimeLimitDisplay()

getHours

public javax.faces.model.SelectItem[] getHours()

setHours

public static void setHours(javax.faces.model.SelectItem[] hours)

getMins

public javax.faces.model.SelectItem[] getMins()

setMins

public static void setMins(javax.faces.model.SelectItem[] mins)

getIpAddresses

public String getIpAddresses()

setIpAddresses

public void setIpAddresses(String ipAddresses)

getStartDateString

public String getStartDateString()

setStartDateString

public void setStartDateString(String startDateString)

getDueDateString

public String getDueDateString()

setDueDateString

public void setDueDateString(String dueDateString)

getRetractDateString

public String getRetractDateString()

setRetractDateString

public void setRetractDateString(String retractDateString)

getFeedbackDateString

public String getFeedbackDateString()

setFeedbackDateString

public void setFeedbackDateString(String feedbackDateString)

getTemplateTitle

public String getTemplateTitle()

setTemplateTitle

public void setTemplateTitle(String title)

getTemplateAuthors

public String getTemplateAuthors()

setTemplateAuthors

public void setTemplateAuthors(String templateAuthors)

getTemplateDescription

public String getTemplateDescription()

setTemplateDescription

public void setTemplateDescription(String templateDescription)

getNoTemplate

public boolean getNoTemplate()

setNoTemplate

public void setNoTemplate(boolean noTemplate)

validateTarget

public boolean validateTarget(String firstTarget)

getPublishingTargets

public javax.faces.model.SelectItem[] getPublishingTargets()

setTargetSelected

public void setTargetSelected(String[] targetSelected)

getTargetSelected

public String[] getTargetSelected()

getTargetSelected

public String[] getTargetSelected(String releaseTo)

setFirstTargetSelected

public void setFirstTargetSelected(String firstTargetSelected)

getFirstTargetSelected

public String getFirstTargetSelected()

getFirstTargetSelected

public String getFirstTargetSelected(String releaseTo)

getPublishedUrl

public String getPublishedUrl()

setPublishedUrl

public void setPublishedUrl(String publishedUrl)

getAlias

public String getAlias()

setAlias

public void setAlias(String alias)

checkDate

public String checkDate()

getFeedbackAuthoring

public String getFeedbackAuthoring()

setFeedbackAuthoring

public void setFeedbackAuthoring(String feedbackAuthoring)

getAttachmentList

public List getAttachmentList()

setAttachmentList

public void setAttachmentList(List attachmentList)

getHasAttachment

public boolean getHasAttachment()

addAttachmentsRedirect

public String addAttachmentsRedirect()

setAssessmentAttachment

public void setAssessmentAttachment()

getResourceHash

public HashMap getResourceHash()

setResourceHash

public void setResourceHash(HashMap resourceHash)

setDisplayFormat

public void setDisplayFormat(String displayDateFormat)

getIsValidStartDate

public boolean getIsValidStartDate()

getIsValidDueDate

public boolean getIsValidDueDate()

getIsValidRetractDate

public boolean getIsValidRetractDate()

getIsValidFeedbackDate

public boolean getIsValidFeedbackDate()

resetIsValidDate

public void resetIsValidDate()

resetOriginalDateString

public void resetOriginalDateString()

getGroupsForSite

public javax.faces.model.SelectItem[] getGroupsForSite()
gopalrc Nov 2007 Returns all groups for site

Returns:

getNumberOfGroupsForSite

public int getNumberOfGroupsForSite()
gopalrc Nov 2007 Returns the total number of groups for this site

Returns:

getGroupsAuthorized

public String[] getGroupsAuthorized()
gopalrc Nov 2007 Returns the groups to which this assessment is released

Returns:

setGroupsAuthorized

public void setGroupsAuthorized(String[] groupsAuthorized)

setNoGroupSelectedError

public void setNoGroupSelectedError(boolean noGroupSelectedError)

getGroupsAuthorizedToSave

public String[] getGroupsAuthorizedToSave()
To compensate for strange stateful behaviour of this bean added by gopalrc Nov 2007 TODO: troubleshoot stateful behaviour if time allows - found that it's due to the bean having "session" scope - but changing it to "request" scope causes other issues

Returns:

getIsMarkForReview

public boolean getIsMarkForReview()

setIsMarkForReview

public void setIsMarkForReview(boolean isMarkForReview)

setReleaseToGroupsAsString

public void setReleaseToGroupsAsString(String releaseToGroupsAsString)

getReleaseToGroupsAsString

public String getReleaseToGroupsAsString()

setBlockDivs

public void setBlockDivs(String blockDivs)

getBlockDivs

public String getBlockDivs()

getSecureDeliverModuleSelections

public javax.faces.model.SelectItem[] getSecureDeliverModuleSelections()


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