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

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

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

Description: Action Listener for template updates

Copyright: Copyright (c) 2004

Organization: Sakai Project

Version:
$Id: TemplateUpdateListener.java 71511 2010-01-15 22:35:10Z ktsao@stanford.edu $
Author:
Ed Smiley

Constructor Summary
TemplateUpdateListener()
           
 
Method Summary
 void processAction(javax.faces.event.ActionEvent ae)
          Normal listener method.
 boolean updateAssessment(TemplateBean templateBean)
           
 
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

TemplateUpdateListener

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

updateAssessment

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


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