org.sakaiproject.tool.assessment.ui.listener.delivery
Class BeginDeliveryActionListener

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.ui.listener.delivery.BeginDeliveryActionListener
All Implemented Interfaces:
ActionListener, EventListener, FacesListener

public class BeginDeliveryActionListener
extends Object
implements ActionListener

Title: Samigo

Purpose: this module handles the beginning of the assessment

Description: Sakai Assessment Manager

Copyright: Copyright (c) 2004 Sakai Project

Organization: Sakai Project

Version:
$Id: BeginDeliveryActionListener.java 7328 2006-04-03 16:11:27Z lance@indiana.edu $
Author:
Ed Smiley

Constructor Summary
BeginDeliveryActionListener()
           
 
Method Summary
 PublishedAssessmentFacade getPublishedAssessmentBasedOnAction(int action, DeliveryBean delivery)
           
 void populateBeanFromPub(DeliveryBean delivery, PublishedAssessmentFacade pubAssessment)
          This takes the published assessment information and puts it in the delivery bean.
 void processAction(ActionEvent ae)
          ACTION.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeginDeliveryActionListener

public BeginDeliveryActionListener()
Method Detail

processAction

public void processAction(ActionEvent ae)
                   throws AbortProcessingException
ACTION.

Specified by:
processAction in interface ActionListener
Parameters:
ae -
Throws:
AbortProcessingException

populateBeanFromPub

public void populateBeanFromPub(DeliveryBean delivery,
                                PublishedAssessmentFacade pubAssessment)
This takes the published assessment information and puts it in the delivery bean. This is primarily the information that needs to be set up for the begin assessment page. Additional properties will be set when the student elects to begin taking assessment.

Parameters:
delivery -
pubAssessment -

getPublishedAssessmentBasedOnAction

public PublishedAssessmentFacade getPublishedAssessmentBasedOnAction(int action,
                                                                     DeliveryBean delivery)