de.deepamehta.plugins.mail
Class Mail

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.plugins.mail.Mail

public class Mail
extends Object

Model class that wraps the mail composite access.


Field Summary
private  DeepaMehtaService dms
           
private  Topic topic
           
 
Constructor Summary
Mail(long topicId, DeepaMehtaService dms)
           
 
Method Summary
 Set<Long> getAttachmentIds()
           
 String getBody()
           
 RecipientsByType getRecipients()
           
 javax.mail.internet.InternetAddress getSender()
           
 String getSubject()
           
 Topic getTopic()
           
 Topic setMessageId(String messageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dms

private final DeepaMehtaService dms

topic

private final Topic topic
Constructor Detail

Mail

public Mail(long topicId,
            DeepaMehtaService dms)
Method Detail

getBody

public String getBody()
               throws Exception
Throws:
Exception

getRecipients

public RecipientsByType getRecipients()
                               throws InvalidRecipients
Throws:
InvalidRecipients

getSender

public javax.mail.internet.InternetAddress getSender()
                                              throws UnsupportedEncodingException,
                                                     javax.mail.internet.AddressException
Throws:
UnsupportedEncodingException
javax.mail.internet.AddressException

getSubject

public String getSubject()

getTopic

public Topic getTopic()

setMessageId

public Topic setMessageId(String messageId)

getAttachmentIds

public Set<Long> getAttachmentIds()


Copyright © 2013. All Rights Reserved.