org.sakaiproject.tool.assessment.ui.bean.evaluation
Class TotalScoresBean

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.ui.bean.evaluation.TotalScoresBean
All Implemented Interfaces:
Serializable

public class TotalScoresBean
extends Object
implements Serializable

Description: class form for evaluating total scores

Used to be org.navigoproject.ui.web.form.evaluation.TotalScoresForm

Author:
Rachel Gollub
See Also:
Serialized Form

Field Summary
static String ALL_SECTIONS_SELECT_VALUE
           
static String ALL_SUBMISSIONS
           
static String HIGHEST_SUBMISSION
           
static String LAST_SUBMISSION
           
 
Constructor Summary
TotalScoresBean()
          Creates a new TotalScoresBean object.
 
Method Summary
 String getAdjustmentTotalScore()
          get the adjustment to the total score
 Object[] getAgentArray()
          get agent resutls as an array
 String getAgentInitials()
          This is a read-only calculated property.
 Collection getAgents()
          get an agent result collection
 String getAllSubmissions()
          Is this an all submissions or, the highest, or the largest Scoring option from assessment Settings page
 String getAnonymous()
          Is this anonymous grading?
 HashMap getAnsweredItems()
          This returns a map of which items actually have answers.
 HashMap getAssessmentGradingHash(Long publishedAssessmentId)
           
 ArrayList getAssessmentGradingList()
           
 String getAssessmentId()
          get assessment id
 String getAssessmentName()
          get assessment name
 List getAvailableSections()
           
 String getDueDate()
          get the due date
 String getFirstItem()
          DOCUMENTATION PENDING
 String getGroupName()
          Get the group name
 boolean getHasRandomDrawPart()
           
 String getLateHandling()
          get late handling
 String getMaxScore()
          get the max score
 PublishedAssessmentData getPublishedAssessment()
           
 String getPublishedId()
          get published id
 RecordingData getRecordingData()
          encapsulates audio recording info
 boolean getReleaseToAnonymous()
           
 String getRoleSelection()
          DOCUMENTATION PENDING
 String getScoringOption()
           
 List getSectionFilterSelectItems()
           
 String getSelectedSectionFilterValue()
           
 String getSortType()
          get sort type
 String getTotalPeople()
          get the total number of students for this assessment
 String getTotalScore()
           
 String getTotalScoreComments()
          get total score
 Map getUserIdMap()
           
 void resetFields()
          reset the fields
 void setAccessControlProperties(PublishedAccessControl ac)
           
 void setAdjustmentTotalScore(String pAdjustmentTotalScore)
          set the adjustment to total score
 void setAgents(Collection pagents)
          set the agent collection
 void setAllSubmissions(String pallSubmissions)
          set whether all submissions are to be exposed
 void setAnonymous(String panonymous)
          Set switch if this is anonymous grading.
 void setAnsweredItems(HashMap newItems)
          This stores a map of which items actually have answers.
 void setAssessmentGradingHash(Long publishedAssessmentId)
           
 void setAssessmentGradingList(ArrayList assessmentGradingList)
           
 void setAssessmentId(String passessmentId)
          set assessment id
 void setAssessmentName(String passessmentName)
          set assessment name
 void setAvailableSections(List param)
           
 void setDueDate(String dateString)
          set due date string
 void setEvaluationModelProperties(PublishedEvaluationModel eval)
           
 void setFirstItem(String pfirstItem)
          DOCUMENTATION PENDING
 void setGroupName(String pgroupName)
          set the group name
 void setHasRandomDrawPart(boolean param)
           
 void setLateHandling(String plateHandling)
          set late handling
 void setMaxScore(String pmaxScore)
          set max score
 void setPublishedAssessment(PublishedAssessmentData publishedAssessment)
           
 void setPublishedId(String ppublishedId)
          set published id
 void setRecordingData(RecordingData rd)
          encapsulates audio recording info
 void setReleaseToAnonymous(boolean param)
           
 void setRoleSelection(String proleSelection)
          DOCUMENTATION PENDING
 void setScoringOption(String param)
           
 void setSectionFilterSelectItems(List param)
           
 void setSelectedSectionFilterValue(String param)
           
 void setSortType(String psortType)
          set sort type, trigger property sorts
 void setTotalPeople(String ptotalPeople)
          set the total number of people
 void setTotalScore(String pTotalScore)
          set the total score
 void setTotalScoreComments(String pTotalScoreComments)
          set comments for totals score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_SECTIONS_SELECT_VALUE

public static final String ALL_SECTIONS_SELECT_VALUE
See Also:
Constant Field Values

ALL_SUBMISSIONS

public static final String ALL_SUBMISSIONS
See Also:
Constant Field Values

LAST_SUBMISSION

public static final String LAST_SUBMISSION
See Also:
Constant Field Values

HIGHEST_SUBMISSION

public static final String HIGHEST_SUBMISSION
See Also:
Constant Field Values
Constructor Detail

TotalScoresBean

public TotalScoresBean()
Creates a new TotalScoresBean object.

Method Detail

getAssessmentName

public String getAssessmentName()
get assessment name

Returns:
the name

setAssessmentName

public void setAssessmentName(String passessmentName)
set assessment name

Parameters:
passessmentName - the name

getAssessmentId

public String getAssessmentId()
get assessment id

Returns:
the assessment id

setAssessmentId

public void setAssessmentId(String passessmentId)
set assessment id

Parameters:
passessmentId - the id

getPublishedId

public String getPublishedId()
get published id

Returns:
the published id

setPublishedId

public void setPublishedId(String ppublishedId)
set published id


getAnonymous

public String getAnonymous()
Is this anonymous grading?

Returns:
anonymous grading? true or false

setAnonymous

public void setAnonymous(String panonymous)
Set switch if this is anonymous grading.

Parameters:
panonymous - anonymous grading? true or false

getGroupName

public String getGroupName()
Get the group name

Returns:
group name

setGroupName

public void setGroupName(String pgroupName)
set the group name

Parameters:
pgroupName - the name

getMaxScore

public String getMaxScore()
get the max score

Returns:
the max score

setMaxScore

public void setMaxScore(String pmaxScore)
set max score

Parameters:
pmaxScore - set the max score

getAgents

public Collection getAgents()
get an agent result collection

Returns:
the collection

setAgents

public void setAgents(Collection pagents)
set the agent collection

Parameters:
pagents - the collection

getAgentInitials

public String getAgentInitials()
This is a read-only calculated property.

Returns:
list of uppercase student initials

getAgentArray

public Object[] getAgentArray()
get agent resutls as an array

Returns:
the array

getTotalPeople

public String getTotalPeople()
get the total number of students for this assessment

Returns:
the number

setTotalPeople

public void setTotalPeople(String ptotalPeople)
set the total number of people

Parameters:
ptotalPeople - the total

getTotalScore

public String getTotalScore()
Returns:
the total score

setTotalScore

public void setTotalScore(String pTotalScore)
set the total score

Parameters:
pTotalScore - the total score

getAdjustmentTotalScore

public String getAdjustmentTotalScore()
get the adjustment to the total score

Returns:
the total score

setAdjustmentTotalScore

public void setAdjustmentTotalScore(String pAdjustmentTotalScore)
set the adjustment to total score

Parameters:
pAdjustmentTotalScore - the adjustment

getTotalScoreComments

public String getTotalScoreComments()
get total score

Returns:
the total score

setTotalScoreComments

public void setTotalScoreComments(String pTotalScoreComments)
set comments for totals score

Parameters:
pTotalScoreComments - the comments

getLateHandling

public String getLateHandling()
get late handling

Returns:
late handlign

setLateHandling

public void setLateHandling(String plateHandling)
set late handling

Parameters:
plateHandling - the late handling

getDueDate

public String getDueDate()
get the due date

Returns:
the due date as a String

setDueDate

public void setDueDate(String dateString)
set due date string

Parameters:
dateString - the date string

getSortType

public String getSortType()
get sort type

Returns:
sort type

setSortType

public void setSortType(String psortType)
set sort type, trigger property sorts

Parameters:
psortType - the type

getAllSubmissions

public String getAllSubmissions()
Is this an all submissions or, the highest, or the largest Scoring option from assessment Settings page

Returns:
true if is is, else false

setAllSubmissions

public void setAllSubmissions(String pallSubmissions)
set whether all submissions are to be exposed

Parameters:
pallSubmissions - true if it is

getRoleSelection

public String getRoleSelection()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setRoleSelection

public void setRoleSelection(String proleSelection)
DOCUMENTATION PENDING

Parameters:
proleSelection - DOCUMENTATION PENDING

getFirstItem

public String getFirstItem()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setFirstItem

public void setFirstItem(String pfirstItem)
DOCUMENTATION PENDING


resetFields

public void resetFields()
reset the fields


getRecordingData

public RecordingData getRecordingData()
encapsulates audio recording info

Returns:
recording data

setRecordingData

public void setRecordingData(RecordingData rd)
encapsulates audio recording info

Parameters:
rd -

getAnsweredItems

public HashMap getAnsweredItems()
This returns a map of which items actually have answers. Used by QuestionScores.


setAnsweredItems

public void setAnsweredItems(HashMap newItems)
This stores a map of which items actually have answers. Used by QuestionScores.


getHasRandomDrawPart

public boolean getHasRandomDrawPart()

setHasRandomDrawPart

public void setHasRandomDrawPart(boolean param)

getSelectedSectionFilterValue

public String getSelectedSectionFilterValue()

setSelectedSectionFilterValue

public void setSelectedSectionFilterValue(String param)

getScoringOption

public String getScoringOption()

setScoringOption

public void setScoringOption(String param)

setAvailableSections

public void setAvailableSections(List param)

getAvailableSections

public List getAvailableSections()

setSectionFilterSelectItems

public void setSectionFilterSelectItems(List param)

getSectionFilterSelectItems

public List getSectionFilterSelectItems()

getUserIdMap

public Map getUserIdMap()

getReleaseToAnonymous

public boolean getReleaseToAnonymous()

setReleaseToAnonymous

public void setReleaseToAnonymous(boolean param)

getPublishedAssessment

public PublishedAssessmentData getPublishedAssessment()

setPublishedAssessment

public void setPublishedAssessment(PublishedAssessmentData publishedAssessment)

setAccessControlProperties

public void setAccessControlProperties(PublishedAccessControl ac)

setEvaluationModelProperties

public void setEvaluationModelProperties(PublishedEvaluationModel eval)

setAssessmentGradingHash

public void setAssessmentGradingHash(Long publishedAssessmentId)

getAssessmentGradingHash

public HashMap getAssessmentGradingHash(Long publishedAssessmentId)

setAssessmentGradingList

public void setAssessmentGradingList(ArrayList assessmentGradingList)

getAssessmentGradingList

public ArrayList getAssessmentGradingList()