fr.ifremer.coser.web.actions.pop
Class GraphDownloadAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by fr.ifremer.coser.web.actions.common.CoserAction
          extended by fr.ifremer.coser.web.actions.pop.GraphDownloadAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class GraphDownloadAction
extends CoserAction

Télécharge les données qui ont servi a généré le graph au format CSV. Parametre : zone, species, indicator.

Version:
$Revision: 668 $ Last update : $Date: 2011-02-04 11:47:43 +0100 (ven., 04 févr. 2011) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  String indicator
           
protected  String species
           
protected  String zone
           
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
GraphDownloadAction()
           
 
Method Summary
 String execute()
           
 String getFilename()
           
 String getIndicator()
           
 InputStream getInputStream()
           
 String getSpecies()
           
 String getZone()
           
 void setIndicator(String indicator)
           
 void setSpecies(String species)
           
 void setZone(String zone)
           
 
Methods inherited from class fr.ifremer.coser.web.actions.common.CoserAction
getAdminEmail, getApplicationVersion
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zone

protected String zone

species

protected String species

indicator

protected String indicator
Constructor Detail

GraphDownloadAction

public GraphDownloadAction()
Method Detail

getZone

public String getZone()

setZone

public void setZone(String zone)

getIndicator

public String getIndicator()

setIndicator

public void setIndicator(String indicator)

getSpecies

public String getSpecies()

setSpecies

public void setSpecies(String species)

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport

getFilename

public String getFilename()

getInputStream

public InputStream getInputStream()


Copyright © 2010-2011 Ifremer. All Rights Reserved.