org.apache.myfaces.trinidaddemo.email
Class ShowMessageBackingBean
java.lang.Object
org.apache.myfaces.trinidaddemo.email.ShowMessageBackingBean
public class ShowMessageBackingBean
- extends Object
Backing bean for the "show message" page. Provides support
for downloading attachments, and hides the fact that the "message"
comes in pageFlowScope from the actual page content.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowMessageBackingBean
public ShowMessageBackingBean()
getMessage
public MessageData getMessage()
setAttachmentToDownload
public void setAttachmentToDownload(javax.mail.Part attachment)
getAttachmentToDownload
public javax.mail.Part getAttachmentToDownload()
setMessage
public void setMessage(MessageData message)
downloadAttachment
public String downloadAttachment()
throws IOException,
javax.mail.MessagingException
- Throws:
IOException
javax.mail.MessagingException
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.