Modifier and Type | Method and Description |
---|---|
List<MessageRange> |
MailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session)
Copy the given
MessageRange from one Mailbox to the other. |
Modifier and Type | Method and Description |
---|---|
List<MessageRange> |
MailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session)
Copy the given
MessageRange from one Mailbox to the other. |
Iterator<Long> |
MessageManager.expunge(MessageRange set,
MailboxSession mailboxSession)
Expunges messages in the given range from this mailbox.
|
MessageResultIterator |
MessageManager.getMessages(MessageRange set,
MessageResult.FetchGroup fetchGroup,
MailboxSession mailboxSession)
Gets messages in the given range.
|
Map<Long,javax.mail.Flags> |
MessageManager.setFlags(javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set,
MailboxSession mailboxSession)
Sets flags on messages within the given range.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
HBaseMessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<UUID> mailbox,
MessageRange set) |
Iterator<Message<UUID>> |
HBaseMessageMapper.findInMailbox(Mailbox<UUID> mailbox,
MessageRange set,
MessageMapper.FetchType fType,
int max) |
Iterator<UpdatedFlags> |
HBaseMessageMapper.updateFlags(Mailbox<UUID> mailbox,
javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set) |
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
InMemoryMessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<Long> mailbox,
MessageRange set) |
Iterator<Message<Long>> |
InMemoryMessageMapper.findInMailbox(Mailbox<Long> mailbox,
MessageRange set,
MessageMapper.FetchType ftype,
int max) |
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
JCRMessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<String> mailbox,
MessageRange set) |
Iterator<Message<String>> |
JCRMessageMapper.findInMailbox(Mailbox<String> mailbox,
MessageRange set,
MessageMapper.FetchType fType,
int max) |
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
JPAMessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<Long> mailbox,
MessageRange set) |
Iterator<Message<Long>> |
JPAMessageMapper.findInMailbox(Mailbox<Long> mailbox,
MessageRange set,
MessageMapper.FetchType fType,
int max) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneMessageSearchIndex.delete(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range) |
void |
LuceneMessageSearchIndex.update(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range,
javax.mail.Flags f) |
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
MaildirMessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<Integer> mailbox,
MessageRange set) |
Iterator<Message<Integer>> |
MaildirMessageMapper.findInMailbox(Mailbox<Integer> mailbox,
MessageRange set,
MessageMapper.FetchType fType,
int max) |
Iterator<UpdatedFlags> |
MaildirMessageMapper.updateFlags(Mailbox<Integer> mailbox,
javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set) |
Modifier and Type | Method and Description |
---|---|
static MessageRange |
MessageRange.all()
Constructs a range consisting of all messages.
|
static MessageRange |
MessageRange.from(long from)
Constructs an inclusive, open ended range of messages.
|
static MessageRange |
MessageRange.one(long uid)
Constructs a range consisting of a single message only.
|
static MessageRange |
MessageRange.range(long from,
long to)
Constructs an inclusive ranges of messages.
|
Modifier and Type | Method and Description |
---|---|
List<MessageRange> |
MessageRange.split(int maxItems)
Tries to split the given
MessageRange to a List of MessageRange 's which
select only a max amount of items. |
static List<MessageRange> |
MessageRange.toRanges(Collection<Long> uidsCol)
|
Modifier and Type | Method and Description |
---|---|
List<MessageRange> |
StoreMailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session) |
List<MessageRange> |
StoreMessageManager.copyTo(MessageRange set,
StoreMessageManager<Id> toMailbox,
MailboxSession session)
Copy the
MessageRange to the StoreMessageManager |
Modifier and Type | Method and Description |
---|---|
List<MessageRange> |
StoreMailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session) |
List<MessageRange> |
StoreMessageManager.copyTo(MessageRange set,
StoreMessageManager<Id> toMailbox,
MailboxSession session)
Copy the
MessageRange to the StoreMessageManager |
protected Map<Long,MessageMetaData> |
StoreMessageManager.deleteMarkedInMailbox(MessageRange range,
MailboxSession session) |
Iterator<Long> |
StoreMessageManager.expunge(MessageRange set,
MailboxSession mailboxSession) |
MessageResultIterator |
StoreMessageManager.getMessages(MessageRange set,
MessageResult.FetchGroup fetchGroup,
MailboxSession mailboxSession) |
Map<Long,javax.mail.Flags> |
StoreMessageManager.setFlags(javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set,
MailboxSession mailboxSession) |
Constructor and Description |
---|
StoreMessageResultIterator(MessageMapper<Id> mapper,
Mailbox<Id> mailbox,
MessageRange range,
int batchSize,
MessageResult.FetchGroup group) |
Modifier and Type | Method and Description |
---|---|
Map<Long,MessageMetaData> |
MessageMapper.expungeMarkedForDeletionInMailbox(Mailbox<Id> mailbox,
MessageRange set)
Return a
Iterator which holds the uids for all deleted Messages for the given MessageRange which are marked for deletion
The list must be ordered |
Iterator<Message<Id>> |
MessageMapper.findInMailbox(Mailbox<Id> mailbox,
MessageRange set,
MessageMapper.FetchType type,
int limit)
|
Iterator<UpdatedFlags> |
AbstractMessageMapper.updateFlags(Mailbox<Id> mailbox,
javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set) |
Iterator<UpdatedFlags> |
MessageMapper.updateFlags(Mailbox<Id> mailbox,
javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set)
Update flags for the given
MessageRange . |
Modifier and Type | Method and Description |
---|---|
abstract void |
ListeningMessageSearchIndex.delete(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range)
Delete the
MessageRange for the given Mailbox from the index |
void |
LazyMessageSearchIndex.delete(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range) |
abstract void |
ListeningMessageSearchIndex.update(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range,
javax.mail.Flags flags)
|
void |
LazyMessageSearchIndex.update(MailboxSession session,
Mailbox<Id> mailbox,
MessageRange range,
javax.mail.Flags flags) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.