org.apache.myfaces.trinidadinternal.taglib.listener
Class FileDownloadActionListener

java.lang.Object
  extended by org.apache.myfaces.trinidad.bean.FacesBeanImpl
      extended by org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener, org.apache.myfaces.trinidad.bean.FacesBean

public class FileDownloadActionListener
extends org.apache.myfaces.trinidad.bean.FacesBeanImpl
implements javax.faces.event.ActionListener, javax.faces.component.StateHolder


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.myfaces.trinidad.bean.FacesBean
org.apache.myfaces.trinidad.bean.FacesBean.Type
 
Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_TYPE_KEY
           
static java.lang.String DOWNLOAD_MESSAGE_ID
          The message identifier of the FacesMessage to be created when there is a download error.
static org.apache.myfaces.trinidad.bean.PropertyKey FILENAME_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey METHOD_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Constructor Summary
FileDownloadActionListener()
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getFilename()
           
 javax.el.MethodExpression getMethod()
           
 org.apache.myfaces.trinidad.bean.FacesBean.Type getType()
           
 boolean isTransient()
           
 void processAction(javax.faces.event.ActionEvent event)
           
 void setContentType(java.lang.String contentType)
           
 void setFilename(java.lang.String filename)
           
 void setMethod(javax.el.MethodExpression method)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class org.apache.myfaces.trinidad.bean.FacesBeanImpl
addAll, addEntry, bindingKeySet, clearInitialState, containsEntry, createExpressionsMap, createPropertyMap, entries, getEntries, getLocalProperty, getLocalPropertyImpl, getProperty, getRawProperty, getValueBinding, getValueExpression, initialStateMarked, keySet, markInitialState, removeEntry, restoreState, saveState, setProperty, setPropertyImpl, setValueBinding, setValueExpression, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.faces.component.StateHolder
restoreState, saveState
 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

FILENAME_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey FILENAME_KEY

CONTENT_TYPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_TYPE_KEY

METHOD_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey METHOD_KEY

DOWNLOAD_MESSAGE_ID

public static final java.lang.String DOWNLOAD_MESSAGE_ID

The message identifier of the FacesMessage to be created when there is a download error.

See Also:
Constant Field Values
Constructor Detail

FileDownloadActionListener

public FileDownloadActionListener()
Method Detail

processAction

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

getMethod

public javax.el.MethodExpression getMethod()

setMethod

public void setMethod(javax.el.MethodExpression method)

getFilename

public java.lang.String getFilename()

setFilename

public void setFilename(java.lang.String filename)

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String contentType)

getType

public org.apache.myfaces.trinidad.bean.FacesBean.Type getType()
Specified by:
getType in interface org.apache.myfaces.trinidad.bean.FacesBean
Specified by:
getType in class org.apache.myfaces.trinidad.bean.FacesBeanImpl

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 © 2001-2011 The Apache Software Foundation. All Rights Reserved.