Uses of Class
org.apache.james.mailbox.MessageRange

Packages that use MessageRange
org.apache.james.mailbox   
 

Uses of MessageRange in org.apache.james.mailbox
 

Methods in org.apache.james.mailbox that return MessageRange
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.
 

Methods in org.apache.james.mailbox with parameters of type MessageRange
 void MailboxManager.copyMessages(MessageRange set, MailboxPath from, MailboxPath to, MailboxSession session)
          this is done by the MailboxRepository because maybe this operation could be optimized in the corresponding store.
 java.util.Iterator<java.lang.Long> MessageManager.expunge(MessageRange set, MailboxSession mailboxSession)
          Expunges messages in the given range from this mailbox.
 java.util.Iterator<MessageResult> MessageManager.getMessages(MessageRange set, MessageResult.FetchGroup fetchGroup, MailboxSession mailboxSession)
          Gets messages in the given range.
 java.util.Map<java.lang.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.
 



Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.