|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 | |
---|---|
String |
getCanonicalSubject()
Get the canonical subject of this mail. |
CustomContentEntityObject |
getEntity()
Gets the ContentEntityObject that backs this piece of content. |
ConfluenceMailAddress |
getFrom()
|
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. |
String |
getMessageBody()
|
String |
getMessageId()
|
Collection<ConfluenceMailAddress> |
getRecipients()
|
Collection<String> |
getReferences()
|
Date |
getSentDate()
Gets the date this mail was sent; |
Space |
getSpace()
Get the space this mail belongs to |
String |
getSpaceKey()
|
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 Content
getEntity
in interface Mail
public String getMessageId()
getMessageId
in interface Mail
public String getMessageBody()
getMessageBody
in interface Mail
public String getSpaceKey()
getSpaceKey
in interface Mail
public Date getSentDate()
Mail
getSentDate
in interface Mail
public ConfluenceMailAddress getFrom()
getFrom
in interface Mail
public Collection<ConfluenceMailAddress> getRecipients()
getRecipients
in interface Mail
public String getCanonicalSubject()
Mail
getCanonicalSubject
in interface Mail
Mail.getSubject()
public String getSubject()
Mail
getSubject
in interface Mail
public String getInReplyTo()
Mail
getInReplyTo
in interface Mail
public Space getSpace()
Mail
getSpace
in interface Mail
public Collection<String> getReferences()
getReferences
in interface Mail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |