org.sakaiproject.tool.assessment.ui.listener.evaluation
Class SubmissionStatusListener

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.listener.evaluation.SubmissionStatusListener
All Implemented Interfaces:
EventListener, javax.faces.event.ActionListener, javax.faces.event.FacesListener, javax.faces.event.ValueChangeListener

public class SubmissionStatusListener
extends Object
implements javax.faces.event.ActionListener, javax.faces.event.ValueChangeListener

Description: Action Listener for displaying Submission Status for anonymnous grading

Version:
$Id: SubmissionStatusListener.java 64665 2009-07-13 22:15:45Z ktsao@stanford.edu $

Constructor Summary
SubmissionStatusListener()
           
 
Method Summary
 boolean getRetakeAllowed(String agentId, HashMap studentGradingSummaryDataMap, RetakeAssessmentBean retakeAssessment)
           
 void prepareNotSubmittedAgentResult(Iterator notsubmitted_iter, ArrayList agents, Map userRoles, RetakeAssessmentBean retakeAssessment, HashMap studentGradingSummaryDataMap)
           
 void processAction(javax.faces.event.ActionEvent ae)
          Standard process action method.
 void processValueChange(javax.faces.event.ValueChangeEvent event)
          Process a value change.
 boolean submissionStatus(String publishedId, SubmissionStatusBean bean, TotalScoresBean totalScoresBean, boolean isValueChange)
          This will populate the SubmissionStatusBean with the data associated with the particular versioned assessment based on the publishedId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmissionStatusListener

public SubmissionStatusListener()
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent ae)
                   throws javax.faces.event.AbortProcessingException
Standard process action method.

Specified by:
processAction in interface javax.faces.event.ActionListener
Parameters:
ae - ActionEvent
Throws:
javax.faces.event.AbortProcessingException

processValueChange

public void processValueChange(javax.faces.event.ValueChangeEvent event)
Process a value change.

Specified by:
processValueChange in interface javax.faces.event.ValueChangeListener

submissionStatus

public boolean submissionStatus(String publishedId,
                                SubmissionStatusBean bean,
                                TotalScoresBean totalScoresBean,
                                boolean isValueChange)
This will populate the SubmissionStatusBean with the data associated with the particular versioned assessment based on the publishedId.

Parameters:
publishedId - String
bean - SubmissionStatusBean
Returns:
boolean

prepareNotSubmittedAgentResult

public void prepareNotSubmittedAgentResult(Iterator notsubmitted_iter,
                                           ArrayList agents,
                                           Map userRoles,
                                           RetakeAssessmentBean retakeAssessment,
                                           HashMap studentGradingSummaryDataMap)

getRetakeAllowed

public boolean getRetakeAllowed(String agentId,
                                HashMap studentGradingSummaryDataMap,
                                RetakeAssessmentBean retakeAssessment)


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