org.sakaiproject.tool.assessment.ui.listener.author
Class TemplateLoadListener

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

public class TemplateLoadListener
extends TemplateBaseListener
implements javax.faces.event.ActionListener

Description: Action Listener for loading a template

Copyright: Copyright (c) 2004

Organization: Sakai Project

Version:
$Id: TemplateLoadListener.java 100218 2011-10-28 05:48:28Z ktsao@stanford.edu $
Author:
Ed Smiley

Constructor Summary
TemplateLoadListener()
           
 
Method Summary
 boolean loadAssessment(TemplateBean templateBean, String templateId)
           
 void processAction(javax.faces.event.ActionEvent ae)
          Normal listener method.
 
Methods inherited from class org.sakaiproject.tool.assessment.ui.listener.author.TemplateBaseListener
getAssessmentTemplate, lookupTemplateBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateLoadListener

public TemplateLoadListener()
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent ae)
                   throws javax.faces.event.AbortProcessingException
Normal listener method.

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

loadAssessment

public boolean loadAssessment(TemplateBean templateBean,
                              String templateId)
Parameters:
templateBean -
templateId - template id or "0" if create new
Returns:
true on success
Throws:
Exception


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