|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.mail.archive.content.ContentBackedMail
public class ContentBackedMail
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.confluence.mail.archive.Mail |
|---|
CONTENT_TYPE, DEFAULT_NO_SUBJECT, MESSAGE_ID_SIZE, MESSAGE_SUBJECT_SIZE |
| Method Summary | |
|---|---|
java.lang.String |
getCanonicalSubject()
Get the canonical subject of this mail. |
CustomContentEntityObject |
getEntity()
Gets the ContentEntityObject that backs this piece of content. |
ConfluenceMailAddress |
getFrom()
|
java.lang.String |
getInReplyTo()
If this mail has an In-Reply-To header, get the message ID of the email that this message is a response to. |
java.lang.String |
getMessageBody()
|
java.lang.String |
getMessageId()
|
java.util.Collection<ConfluenceMailAddress> |
getRecipients()
|
java.util.Collection<java.lang.String> |
getReferences()
|
java.util.Date |
getSentDate()
Gets the date this mail was sent; |
Space |
getSpace()
Get the space this mail belongs to |
java.lang.String |
getSpaceKey()
|
java.lang.String |
getSubject()
Get the subject line of this mail. |
static boolean |
isMailContentEntity(CustomContentEntityObject contentEntityObject)
|
static ContentBackedMail |
newInstance(CustomContentEntityObject content)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isMailContentEntity(CustomContentEntityObject contentEntityObject)
public static ContentBackedMail newInstance(CustomContentEntityObject content)
public CustomContentEntityObject getEntity()
Content
getEntity in interface ContentgetEntity in interface Mailpublic java.lang.String getMessageId()
getMessageId in interface Mailpublic java.lang.String getMessageBody()
getMessageBody in interface Mailpublic java.lang.String getSpaceKey()
getSpaceKey in interface Mailpublic java.util.Date getSentDate()
Mail
getSentDate in interface Mailpublic ConfluenceMailAddress getFrom()
getFrom in interface Mailpublic java.util.Collection<ConfluenceMailAddress> getRecipients()
getRecipients in interface Mailpublic java.lang.String getCanonicalSubject()
Mail
getCanonicalSubject in interface MailMail.getSubject()public java.lang.String getSubject()
Mail
getSubject in interface Mailpublic java.lang.String getInReplyTo()
Mail
getInReplyTo in interface Mailpublic Space getSpace()
Mail
getSpace in interface Mailpublic java.util.Collection<java.lang.String> getReferences()
getReferences in interface Mail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||