This class is deprecated.
since 4.2. Mail archiving is now managed entirely by the mail archiving plugin.
I used to be a Mail content object, then I took an arrow in the knee.
This object needs to remain in the codebase so long as we continue to support upgrading from versions of Confluence prior to 4.2
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_TYPE | ||||||||||
String | DEFAULT_NO_SUBJECT | ||||||||||
int | MESSAGE_ID_SIZE | ||||||||||
int | MESSAGE_SUBJECT_SIZE |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the path relative to Confluence's base URL to view the given attachment in the context of this content
(for example, highlighted in the content's list of attachments).
| |||||||||||
Overrides super method to remove leading blank lines.
| |||||||||||
Get the canonical subject of this mail.
| |||||||||||
Get the displayable version of the mails canonical subject string.
| |||||||||||
Get the displayable version of the mails subject string.
| |||||||||||
Get the mail subject string.
| |||||||||||
An easy name for the type of this content: makes it easy for
things like the #contentLink macro to work out what to draw.
| |||||||||||
Convenience method that sets the content of this ContentEntityObject.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.SpaceContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractLabelableEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.ConfluenceEntityObject
| |||||||||||
From class
com.atlassian.core.bean.EntityObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bonnie.Searchable
| |||||||||||
From interface
com.atlassian.confluence.content.Content
| |||||||||||
From interface
com.atlassian.confluence.core.Addressable
| |||||||||||
From interface
com.atlassian.confluence.core.ContentTypeAware
| |||||||||||
From interface
com.atlassian.confluence.core.Versioned
| |||||||||||
From interface
com.atlassian.confluence.labels.EditableLabelable
| |||||||||||
From interface
com.atlassian.confluence.labels.Labelable
| |||||||||||
From interface
com.atlassian.confluence.spaces.Spaced
| |||||||||||
From interface
java.lang.Comparable
|
Gets the path relative to Confluence's base URL to view the given attachment in the context of this content
(for example, highlighted in the content's list of attachments). Generally you will want to call
getUrlPath()
instead of this method: if we ever implement
view pages for individual attachments, that's the method that will be changed to point to them.
The default implementation just returns the view page for this content.
attachment | one of this content's attachments |
---|
Overrides super method to remove leading blank lines.
Get the canonical subject of this mail. The canonical form removes all Re: and Fwd: style prefixes on the email, returning what should be the original emails subject. All emails within a thread will have the same canonical subject.
Get the displayable version of the mails canonical subject string. That is, if the mail does not have a canonical subject, return the default.
Get the displayable version of the mails subject string. If the mail does not have a subject, then this returns the default subject.
MessagingException |
---|
An easy name for the type of this content: makes it easy for things like the #contentLink macro to work out what to draw.
This is a bit of a hack, but it saves heaps of code elsewhere, especially since we tend to get back these objects wrapped in all sorts of Hibernate CGLIB stuff.Convenience method that sets the content of this ContentEntityObject.
content | the String representation of the mail. |
---|