org.apache.myfaces.trinidadinternal.taglib.listener
Class FileDownloadActionListener
java.lang.Object
org.apache.myfaces.trinidad.bean.FacesBeanImpl
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 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
|
| 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 |
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
FileDownloadActionListener
public FileDownloadActionListener()
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.