com.atlassian.confluence.mail.persistence.dao.MailDao |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve a single mail by its persistent object id.
| |||||||||||
Retrieve a single mail by its message-id.
| |||||||||||
Retrieve all mails with a particular message id.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
bucket.core.persistence.ObjectDao
| |||||||||||
From interface
com.atlassian.confluence.core.persistence.ContentEntityObjectDao
| |||||||||||
From interface
com.atlassian.confluence.core.persistence.VersionedObjectDao
|
Retrieve a single mail by its persistent object id. Returns null if no Mail is found with that id
id | the id of the mail to retrieve |
---|
Retrieve a single mail by its message-id. Since message ids are not guaranteed to be
unique (but should be in practice), this method will return null both if no message
exists with that ID, or if multiple mails exist with that ID. To determine which is
the case, call getMailsByMessageId(String)
.
Message ids are case sensitive.
messageId | the Message-Id of the mail to retrieve |
---|
Retrieve all mails with a particular message id. Since message ids are supposed to be
unique, you will mostly want to just use getMailByMessageId(String)
instead, but this
method is useful if you want to cater for the possibility of (unlikely) accidental
clashes or (more likely) deliberate forgeries.
Message ids are case sensitive
messageId | The Message-Id of the mail to retrieve |
---|