org.apache.myfaces.custom.exporter
Class ExporterActionListener

java.lang.Object
  extended by org.apache.myfaces.custom.exporter.ExporterActionListener
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener

public class ExporterActionListener
extends java.lang.Object
implements javax.faces.event.ActionListener, javax.faces.component.StateHolder

This class is acting as the Exporter ActionListener.


Field Summary
static java.lang.String FILE_TYPE_KEY
           
static java.lang.String FILENAME_KEY
           
static java.lang.String FOR_KEY
           
 
Constructor Summary
ExporterActionListener()
           
 
Method Summary
 java.lang.String getFilename()
           
 java.lang.String getFileType()
           
 java.lang.String getFor()
           
 boolean isTransient()
           
 void processAction(javax.faces.event.ActionEvent event)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setFilename(java.lang.String _filename)
           
 void setFileType(java.lang.String type)
           
 void setFor(java.lang.String _for)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME_KEY

public static final java.lang.String FILENAME_KEY
See Also:
Constant Field Values

FILE_TYPE_KEY

public static final java.lang.String FILE_TYPE_KEY
See Also:
Constant Field Values

FOR_KEY

public static final java.lang.String FOR_KEY
See Also:
Constant Field Values
Constructor Detail

ExporterActionListener

public ExporterActionListener()
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent event)
Specified by:
processAction in interface javax.faces.event.ActionListener

getFilename

public java.lang.String getFilename()

setFilename

public void setFilename(java.lang.String _filename)

getFileType

public java.lang.String getFileType()

setFileType

public void setFileType(java.lang.String type)

getFor

public java.lang.String getFor()

setFor

public void setFor(java.lang.String _for)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface javax.faces.component.StateHolder


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.