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

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.bean.evaluation.SubmissionStatusBean
All Implemented Interfaces:
Serializable, org.sakaiproject.jsf.model.PhaseAware

public class SubmissionStatusBean
extends Object
implements Serializable, org.sakaiproject.jsf.model.PhaseAware

Description: class form for evaluating submission status

See Also:
Serialized Form

Constructor Summary
SubmissionStatusBean()
          Creates a new SubmissionStatusBean object.
 
Method Summary
 void clear(javax.faces.event.ActionEvent event)
           
 void endProcessUpdates()
           
 void endProcessValidators()
           
 ArrayList findMatchingAgents(String pattern)
           
 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
 ArrayList getAllAgents()
           
 String getAllSubmissions()
          Is this an all submissions or, just the largest
 String getAnonymous()
          Is this anonymous grading?
 HashMap getAnsweredItems()
          This returns a map of which items actually have answers.
 String getAssessmentId()
          get assessment id
 String getAssessmentName()
          get assessment name
 int getDataRows()
           
 String getDueDate()
          get the due date
 String getFirstItem()
          DOCUMENTATION PENDING
 int getFirstRow()
           
 String getGroupName()
          Get the group name
 String getLateHandling()
          get late handling
 int getMaxDisplayedRows()
           
 String getMaxScore()
          get the max score
 String getPublishedId()
          get published id
 RecordingData getRecordingData()
          encapsulates audio recording info
 String getRoleSelection()
          DOCUMENTATION PENDING
 String getSearchString()
           
 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
protected  void init()
           
 boolean isReleasedToGroups()
          added by gopalrc - jan 2008
 boolean isSortAscending()
          is scores table sorted in ascending order
 void resetFields()
          reset the fields
 void search(javax.faces.event.ActionEvent event)
           
 void setAdjustmentTotalScore(String pAdjustmentTotalScore)
          set the adjustment to total score
 void setAgents(Collection pagents)
          set the agent collection
 void setAllAgents(ArrayList allAgents)
           
 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 setAssessmentId(String passessmentId)
          set assessment id
 void setAssessmentName(String passessmentName)
          set assessment name
 void setDueDate(String dateString)
          set due date string
 void setFirstItem(String pfirstItem)
          DOCUMENTATION PENDING
 void setFirstRow(int firstRow)
           
 void setGroupName(String pgroupName)
          set the group name
 void setLateHandling(String plateHandling)
          set late handling
 void setMaxDisplayedRows(int maxDisplayedRows)
           
 void setMaxScore(String pmaxScore)
          set max score
 void setPublishedId(String ppublishedId)
          set published id
 void setRecordingData(RecordingData rd)
          encapsulates audio recording info
 void setRoleSelection(String proleSelection)
          DOCUMENTATION PENDING
 void setSearchString(String searchString)
           
 void setSelectedSectionFilterValue(String param)
           
 void setSortAscending(boolean sortAscending)
           
 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
 void startRenderResponse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmissionStatusBean

public SubmissionStatusBean()
Creates a new SubmissionStatusBean object.

Method Detail

init

protected void init()

endProcessValidators

public void endProcessValidators()
Specified by:
endProcessValidators in interface org.sakaiproject.jsf.model.PhaseAware

endProcessUpdates

public void endProcessUpdates()
Specified by:
endProcessUpdates in interface org.sakaiproject.jsf.model.PhaseAware

startRenderResponse

public void startRenderResponse()
Specified by:
startRenderResponse in interface org.sakaiproject.jsf.model.PhaseAware

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

Parameters:
passessmentId - the 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

isSortAscending

public boolean isSortAscending()
is scores table sorted in ascending order

Returns:
true if it is

setSortAscending

public void setSortAscending(boolean sortAscending)
Parameters:
sortAscending - is scores table sorted in ascending order

getAllSubmissions

public String getAllSubmissions()
Is this an all submissions or, just the largest

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

Parameters:
proleSelection - 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.


getSelectedSectionFilterValue

public String getSelectedSectionFilterValue()

setSelectedSectionFilterValue

public void setSelectedSectionFilterValue(String param)

getFirstRow

public int getFirstRow()

setFirstRow

public void setFirstRow(int firstRow)

getMaxDisplayedRows

public int getMaxDisplayedRows()

setMaxDisplayedRows

public void setMaxDisplayedRows(int maxDisplayedRows)

getDataRows

public int getDataRows()

setAllAgents

public void setAllAgents(ArrayList allAgents)

getAllAgents

public ArrayList getAllAgents()

getSearchString

public String getSearchString()

setSearchString

public void setSearchString(String searchString)

search

public void search(javax.faces.event.ActionEvent event)

clear

public void clear(javax.faces.event.ActionEvent event)

findMatchingAgents

public ArrayList findMatchingAgents(String pattern)

isReleasedToGroups

public boolean isReleasedToGroups()
added by gopalrc - jan 2008

Returns:


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