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

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

public class QuestionScoreUpdateListener
extends Object
implements javax.faces.event.ActionListener

This handles the updating of the Question Score page.

Description: Action Listener Evaluation Updating Question Score front door

Copyright: Copyright (c) 2004

Organization: Sakai Project

Version:
$Id: QuestionScoreUpdateListener.java 92666 2011-05-06 00:14:03Z ktsao@stanford.edu $
Author:
Ed Smiley

Constructor Summary
QuestionScoreUpdateListener()
           
 
Method Summary
 void processAction(javax.faces.event.ActionEvent ae)
          Standard process action method.
 boolean saveQuestionScores(QuestionScoresBean bean, TotalScoresBean tbean)
          Persist the results from the ActionForm in the question page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionScoreUpdateListener

public QuestionScoreUpdateListener()
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

saveQuestionScores

public boolean saveQuestionScores(QuestionScoresBean bean,
                                  TotalScoresBean tbean)
Persist the results from the ActionForm in the question page.

Parameters:
bean - QuestionScoresBean bean
Returns:
true if successful


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