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

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

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

Description: class form for evaluating question scores

See Also:
Serialized Form

Field Summary
static String SHOW_SA_RATIONALE_RESPONSES_INLINE
           
static String SHOW_SA_RATIONALE_RESPONSES_POPUP
           
 
Constructor Summary
QuestionScoresBean()
          Creates a new QuestionScoresBean object.
 
Method Summary
 void clear(javax.faces.event.ActionEvent event)
           
 void endProcessUpdates()
           
 void endProcessValidators()
           
 ArrayList findMatchingAgents(String pattern)
           
 Object[] getAgentArray()
          get agent resutls as an array
 String getAgentInitials()
          This is a read-only calculated property.
 HashMap getAgentResultsByItemGradingId()
           
 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?
 String getAnswer()
          get the answer text
 String getAssessmentId()
          get assessment id
 String getAssessmentName()
          get assessment name
 int getAudioMaxDisplayedScoreRows()
           
 int getDataRows()
           
 Collection getDeliveryItem()
          get the item to display
 String getDiscount()
           
 String getDueDate()
          get the due date
 int getFirstRow()
           
 String getGroupName()
          Get the group name
 boolean getHasAudioMaxDisplayedScoreRowsChanged()
           
 boolean getHaveModelShortAnswer()
           
 boolean getIsAnyItemGradingAttachmentListModified()
           
 String getItemId()
          get item id
 String getItemName()
          get item name
 HashMap getItemScoresMap()
           
 String getLateHandling()
          get late handling
 int getMaxDisplayedRows()
           
 String getMaxPoint()
          get the max Point
 String getMaxScore()
          get the max score
 int getOtherMaxDisplayedScoreRows()
           
 String getPartName()
          get part name
 PublishedAssessmentIfc getPublishedAssessment()
           
 String getPublishedId()
          get published id
 String getQuestionScoreComments()
          get comments
 RecordingData getRecordingData()
          encapsulates audio recording info
 String getRoleSelection()
          DOCUMENTATION PENDING
 String getScore()
           
 HashMap getScoresByItem()
           
 String getSearchString()
           
 Collection getSections()
          get a list of sections
 String getSelectedSARationaleView()
           
 String getSelectedSectionFilterValue()
           
 String getSortType()
          get sort type
 String getTotalPeople()
          get the total number of students for this assessment
 String getTypeId()
          DOCUMENTATION PENDING
 Map getUserIdMap()
           
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 setAgentResultsByItemGradingId(HashMap agentResultsByItemGradingId)
           
 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 setAnswer(String pAnswertext)
          set the answer text
 void setAssessmentId(String passessmentId)
          set assessment id
 void setAssessmentName(String passessmentName)
          set assessment name
 void setAttachment(Long itemGradingId)
           
 void setAudioMaxDisplayedScoreRows(int audioMaxDisplayedRows)
           
 void setDeliveryItem(Collection pitem)
          set the delivery item
 void setDiscount(String pDiscount)
          set the discount
 void setDueDate(String dateString)
          set due date string
 void setFirstRow(int firstRow)
           
 void setGroupName(String pgroupName)
          set the group name
 void setHasAudioMaxDisplayedScoreRowsChanged(boolean hasAudioMaxDisplayedRowsChanged)
           
 void setHaveModelShortAnswer(boolean haveModelShortAnswer)
           
 void setIsAnyItemGradingAttachmentListModified(boolean isAnyItemGradingAttachmentListModified)
           
 void setItemId(String pitemId)
          set item id
 void setItemName(String pitemName)
          set item name
 void setItemScoresMap(HashMap itemScoresMap)
           
 void setLateHandling(String plateHandling)
          set late handling
 void setMaxDisplayedRows(int maxDisplayedRows)
           
 void setMaxScore(String pmaxScore)
          set max score
 void setOtherMaxDisplayedScoreRows(int otherMaxDisplayedRows)
           
 void setPartName(String ppartName)
          set part name
 void setPublishedAssessment(PublishedAssessmentIfc publishedAssessment)
           
 void setPublishedId(String ppublishedId)
          set published id
 void setQuestionScoreComments(String pQuestionScoreComments)
          set comments for question score
 void setRecordingData(RecordingData rd)
          encapsulates audio recording info
 void setRoleSelection(String proleSelection)
          DOCUMENTATION PENDING
 void setScore(String pScore)
          set the score
 void setScoresByItem(HashMap newScores)
           
 void setSearchString(String searchString)
           
 void setSections(Collection psections)
          set the section list
 void setSelectedSARationaleView(String selectedSARationaleView)
           
 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 setTypeId(String ptypeId)
          DOCUMENTATION PENDING
 void setUserIdMap(Map userIdMap)
           
 void startRenderResponse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_SA_RATIONALE_RESPONSES_INLINE

public static final String SHOW_SA_RATIONALE_RESPONSES_INLINE
See Also:
Constant Field Values

SHOW_SA_RATIONALE_RESPONSES_POPUP

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

QuestionScoresBean

public QuestionScoresBean()
Creates a new QuestionScoresBean 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

getPartName

public String getPartName()
get part name

Returns:
the name

setPartName

public void setPartName(String ppartName)
set part name

Parameters:
ppartName - the name

getItemName

public String getItemName()
get item name

Returns:
the name

setItemName

public void setItemName(String pitemName)
set item name

Parameters:
pitemName - the name

getItemId

public String getItemId()
get item id

Returns:
the id

setItemId

public void setItemId(String pitemId)
set item id

Parameters:
pitemId - the id

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

getMaxPoint

public String getMaxPoint()
get the max Point

Returns:
the max point

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

getSections

public Collection getSections()
get a list of sections

Returns:
the collection

setSections

public void setSections(Collection psections)
set the section list

Parameters:
psections - the collection

getDeliveryItem

public Collection getDeliveryItem()
get the item to display

Returns:
the collection

setDeliveryItem

public void setDeliveryItem(Collection pitem)
set the delivery item

Parameters:
pitem - 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

getScore

public String getScore()
Returns:
the score

setScore

public void setScore(String pScore)
set the score

Parameters:
pScore - the score

getDiscount

public String getDiscount()
Returns:
the discount

setDiscount

public void setDiscount(String pDiscount)
set the discount

Parameters:
pDiscount - the discount

getAnswer

public String getAnswer()
get the answer text

Returns:
the answer text

setAnswer

public void setAnswer(String pAnswertext)
set the answer text

Parameters:
pAnswertext - the answer text

getQuestionScoreComments

public String getQuestionScoreComments()
get comments

Returns:
the comments

setQuestionScoreComments

public void setQuestionScoreComments(String pQuestionScoreComments)
set comments for question score

Parameters:
pQuestionScoreComments - 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

getTypeId

public String getTypeId()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

setTypeId

public void setTypeId(String ptypeId)
DOCUMENTATION PENDING

Parameters:
ptypeId - 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 -

getScoresByItem

public HashMap getScoresByItem()

setScoresByItem

public void setScoresByItem(HashMap newScores)

getSelectedSectionFilterValue

public String getSelectedSectionFilterValue()

setSelectedSectionFilterValue

public void setSelectedSectionFilterValue(String param)

setItemScoresMap

public void setItemScoresMap(HashMap itemScoresMap)

getItemScoresMap

public HashMap getItemScoresMap()

setPublishedAssessment

public void setPublishedAssessment(PublishedAssessmentIfc publishedAssessment)

getPublishedAssessment

public PublishedAssessmentIfc getPublishedAssessment()

getSelectedSARationaleView

public String getSelectedSARationaleView()

setSelectedSARationaleView

public void setSelectedSARationaleView(String selectedSARationaleView)

getFirstRow

public int getFirstRow()

setFirstRow

public void setFirstRow(int firstRow)

getMaxDisplayedRows

public int getMaxDisplayedRows()

setMaxDisplayedRows

public void setMaxDisplayedRows(int maxDisplayedRows)

getAudioMaxDisplayedScoreRows

public int getAudioMaxDisplayedScoreRows()

setAudioMaxDisplayedScoreRows

public void setAudioMaxDisplayedScoreRows(int audioMaxDisplayedRows)

getOtherMaxDisplayedScoreRows

public int getOtherMaxDisplayedScoreRows()

setOtherMaxDisplayedScoreRows

public void setOtherMaxDisplayedScoreRows(int otherMaxDisplayedRows)

getHasAudioMaxDisplayedScoreRowsChanged

public boolean getHasAudioMaxDisplayedScoreRowsChanged()

setHasAudioMaxDisplayedScoreRowsChanged

public void setHasAudioMaxDisplayedScoreRowsChanged(boolean hasAudioMaxDisplayedRowsChanged)

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)

getHaveModelShortAnswer

public boolean getHaveModelShortAnswer()

setHaveModelShortAnswer

public void setHaveModelShortAnswer(boolean haveModelShortAnswer)

isReleasedToGroups

public boolean isReleasedToGroups()
added by gopalrc - jan 2008

Returns:

getUserIdMap

public Map getUserIdMap()

setUserIdMap

public void setUserIdMap(Map userIdMap)

setAttachment

public void setAttachment(Long itemGradingId)

getAgentResultsByItemGradingId

public HashMap getAgentResultsByItemGradingId()

setAgentResultsByItemGradingId

public void setAgentResultsByItemGradingId(HashMap agentResultsByItemGradingId)

getIsAnyItemGradingAttachmentListModified

public boolean getIsAnyItemGradingAttachmentListModified()

setIsAnyItemGradingAttachmentListModified

public void setIsAnyItemGradingAttachmentListModified(boolean isAnyItemGradingAttachmentListModified)


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