pl.edu.agh.cast.data.template.export
Class AbstractExportTemplateAction

java.lang.Object
  extended by pl.edu.agh.cast.data.template.export.AbstractExportTemplateAction
Direct Known Subclasses:
ExportTemplateActionNavigator, ExportTemplateButtonAction

public abstract class AbstractExportTemplateAction
extends Object

Abstract export template action, which is launched whenever a user wants to export a specified template to target file. It provides only the export helper methods, such as choosing the target file or defining the actions that are to be performed on success and on error.

Author:
AGH CAST Team

Constructor Summary
AbstractExportTemplateAction()
           
 
Method Summary
protected  File chooseTargetFile(String templateName)
           
protected  void onError(String target, Exception ex)
           
protected  void onSuccess(String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExportTemplateAction

public AbstractExportTemplateAction()
Method Detail

chooseTargetFile

protected File chooseTargetFile(String templateName)

onSuccess

protected void onSuccess(String target)

onError

protected void onError(String target,
                       Exception ex)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.