public static interface MessageManager.MetaData
Modifier and Type | Interface and Description |
---|---|
static class |
MessageManager.MetaData.FetchGroup
Describes the optional data types which will get set in the
MessageManager.MetaData . |
Modifier and Type | Method and Description |
---|---|
long |
countRecent()
Gets the number of recent messages.
|
MailboxACL |
getACL()
Returns the ACL concerning this mailbox.
|
Long |
getFirstUnseen()
Gets the UID of the first unseen message.
|
long |
getHighestModSeq()
Return the highest mod-sequence for the mailbox.
|
long |
getMessageCount()
Gets the number of messages that this mailbox contains.
|
javax.mail.Flags |
getPermanentFlags()
Gets the flags which can be stored by this mailbox.
|
List<Long> |
getRecent()
Gets the UIDs of recent messages if requested or an empty
List otherwise. |
long |
getUidNext()
Gets the next UID predicted.
|
long |
getUidValidity()
Gets the UIDVALIDITY.
|
long |
getUnseenCount()
Gets the number of unseen messages contained in this mailbox.
|
boolean |
isModSeqPermanent()
Return true if the mailbox does store the mod-sequences in a
permanent way
|
boolean |
isWriteable()
Is this mailbox writable?
|
List<Long> getRecent()
List
otherwise.long countRecent()
javax.mail.Flags getPermanentFlags()
long getUidValidity()
long getUidNext()
long getHighestModSeq()
long getMessageCount()
long getUnseenCount()
MessageManager.MetaData.FetchGroup.UNSEEN_COUNT
Long getFirstUnseen()
MessageManager.MetaData.FetchGroup.FIRST_UNSEEN
boolean isWriteable()
boolean isModSeqPermanent()
MailboxACL getACL()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.