org.sakaiproject.tool.assessment.ui.bean.delivery
Class SettingsDeliveryBean

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

public class SettingsDeliveryBean
extends Object
implements Serializable

Assessment Settings used in Delivery

See Also:
Serialized Form

Constructor Summary
SettingsDeliveryBean()
           
 
Method Summary
 String checkColor(String color, String defaultcolor)
           
 boolean getAutoSubmit()
          Is this auto-submit?
 String getBackground()
           
 String getBgcolor()
           
 String getDivBackground()
           
 String getDivBgcolor()
           
 Date getDueDate()
          Due date for assessment.
 Date getFeedbackDate()
          Feedback date for assessment.
 Set getIpAddresses()
          Set of IP Addresses.
 String getItemNumbering()
           
 int getMaxAttempts()
          Maximum number of attemtps allowed.
 String getPassword()
          if required, assessment password
 String getSubmissionMessage()
          Displayed on submission to grading.
 String getUsername()
          if required, assessment user name
 boolean isAutoSave()
          Is auto save turned on?
 boolean isFormatByAssessment()
          Is there the entire assessment on one page?
 boolean isFormatByPart()
          Is there one part per page?
 boolean isFormatByQuestion()
          Is there one question per page?
 boolean isUnlimitedAttempts()
          No limit to number of attempts.
 void setAssessmentAccessControl(PublishedAssessmentIfc pubAssessment)
           
 void setAutoSave(boolean autoSave)
          Is auto save turned on?
 void setAutoSubmit(boolean autoSubmit)
          Is auto submit turned on?
 void setBackground(String bg)
           
 void setBgcolor(String color)
           
 void setDueDate(Date dueDate)
          Set assessment due date.
 void setFeedbackDate(Date feedbackDate)
          the date at which to display feedback
 void setFormatByAssessment(boolean formatByAssessment)
          Is there the entire assessment on one page?
 void setFormatByPart(boolean formatByPart)
          Is there one part per page?
 void setFormatByQuestion(boolean formatByQuestion)
          Is there one question per page?
 void setIpAddresses(Set set)
          Set list of IP Addresses.
 void setItemNumbering(String numbering)
           
 void setMaxAttempts(int maxAttempts)
          Maximum number of attemtps allowed.
 void setPassword(String string)
          if required, assessment password
 void setSubmissionMessage(String submissionMessage)
          Message on submission to grading.
 void setUnlimitedAttempts(boolean unlimitedAttempts)
          Limit to number of attempts.
 void setUsername(String string)
          if required, assessment user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsDeliveryBean

public SettingsDeliveryBean()
Method Detail

getMaxAttempts

public int getMaxAttempts()
Maximum number of attemtps allowed.

Returns:

setMaxAttempts

public void setMaxAttempts(int maxAttempts)
Maximum number of attemtps allowed.

Parameters:
string -

getAutoSubmit

public boolean getAutoSubmit()
Is this auto-submit? Is auto submit turned on?

Returns:
is this auto-submit?

isAutoSave

public boolean isAutoSave()
Is auto save turned on?

Returns:

getDueDate

public Date getDueDate()
Due date for assessment.

Returns:
Date

getFeedbackDate

public Date getFeedbackDate()
Feedback date for assessment.

Returns:

setAutoSubmit

public void setAutoSubmit(boolean autoSubmit)
Is auto submit turned on?

Parameters:
boolean - autoSubmit

setAutoSave

public void setAutoSave(boolean autoSave)
Is auto save turned on?

Parameters:
boolean - autoSave

setDueDate

public void setDueDate(Date dueDate)
Set assessment due date.

Parameters:
due - date

setFeedbackDate

public void setFeedbackDate(Date feedbackDate)
the date at which to display feedback

Parameters:
the - date at which to display feedback

getPassword

public String getPassword()
if required, assessment password

Returns:
password

getUsername

public String getUsername()
if required, assessment user name

Returns:
user name

setPassword

public void setPassword(String string)
if required, assessment password

Parameters:
string - assessment password

setUsername

public void setUsername(String string)
if required, assessment user name

Parameters:
string - assessment user name

getIpAddresses

public Set getIpAddresses()
Set of IP Addresses.

Returns:
list of IP Addresses.

setIpAddresses

public void setIpAddresses(Set set)
Set list of IP Addresses.

Parameters:
string - list of IP Addresses.

isUnlimitedAttempts

public boolean isUnlimitedAttempts()
No limit to number of attempts. True or false?

Returns:

setUnlimitedAttempts

public void setUnlimitedAttempts(boolean unlimitedAttempts)
Limit to number of attempts. Unlimited-- rue or false?

Parameters:
unlimitedAttempts -

isFormatByPart

public boolean isFormatByPart()
Is there one part per page?

Returns:
Is there one part per page?

setFormatByPart

public void setFormatByPart(boolean formatByPart)
Is there one part per page?

Parameters:
formatByPart - Is there one part per page?

isFormatByQuestion

public boolean isFormatByQuestion()
Is there one question per page?

Returns:
Is there one question per page?

setFormatByQuestion

public void setFormatByQuestion(boolean formatByQuestion)
Is there one question per page?

Parameters:
formatByQuestion - Is there one question per page?

isFormatByAssessment

public boolean isFormatByAssessment()
Is there the entire assessment on one page?

Returns:
Is there the entire assessment on one page?

setFormatByAssessment

public void setFormatByAssessment(boolean formatByAssessment)
Is there the entire assessment on one page?

Parameters:
formatByAssessment - Is there the entire assessment on one page if true.

getSubmissionMessage

public String getSubmissionMessage()
Displayed on submission to grading.

Returns:
message on submission to grading.

setSubmissionMessage

public void setSubmissionMessage(String submissionMessage)
Message on submission to grading.

Parameters:
submissionMessage - displayed on submission to grading.

getBgcolor

public String getBgcolor()

setBgcolor

public void setBgcolor(String color)

getBackground

public String getBackground()

setBackground

public void setBackground(String bg)

getDivBgcolor

public String getDivBgcolor()

getDivBackground

public String getDivBackground()

checkColor

public String checkColor(String color,
                         String defaultcolor)

getItemNumbering

public String getItemNumbering()

setItemNumbering

public void setItemNumbering(String numbering)

setAssessmentAccessControl

public void setAssessmentAccessControl(PublishedAssessmentIfc pubAssessment)


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