|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MailDao
Method Summary | |
---|---|
int |
findMailTotal(Space space)
|
Mail |
getFirstMailAfter(String spaceKey,
long mailId)
|
Mail |
getFirstMailBefore(String spaceKey,
long mailId)
|
List |
getMail(Space space,
boolean currentOnly)
|
Mail |
getMailById(long id)
Retrieve a single mail by its persistent object id. |
Mail |
getMailByMessageId(String messageId)
Retrieve a single mail by its message-id. |
List |
getMailsByMessageId(String messageId)
Retrieve all mails with a particular message id. |
Mail |
getMostRecentMail(String spaceKey)
|
List |
getSpaceMail(int firstResult,
int maxResults,
String spaceKey)
|
Iterator |
getSpaceMailIterator(String spaceKey)
|
Iterator |
getSpaceMailWithAttachmentsIterator(String spaceKey)
|
void |
removeAllMail(Space space)
|
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao |
---|
findLatestVersionsCount, findLatestVersionsIterator, save |
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Method Detail |
---|
Mail getMailById(long id)
id
- the id of the mail to retrieve
Mail getMailByMessageId(String messageId)
getMailsByMessageId(java.lang.String)
.
Message ids are case sensitive.
messageId
- the Message-Id of the mail to retrieve
List getMailsByMessageId(String messageId)
getMailByMessageId(java.lang.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
Mail getMostRecentMail(String spaceKey)
Mail getFirstMailAfter(String spaceKey, long mailId)
Mail getFirstMailBefore(String spaceKey, long mailId)
Iterator getSpaceMailIterator(String spaceKey)
Iterator getSpaceMailWithAttachmentsIterator(String spaceKey)
int findMailTotal(Space space)
List getSpaceMail(int firstResult, int maxResults, String spaceKey)
void removeAllMail(Space space)
List getMail(Space space, boolean currentOnly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |