public abstract class AbstractMailboxSelectionRequest extends AbstractImapRequest
Constructor and Description |
---|
AbstractMailboxSelectionRequest(ImapCommand command,
String mailboxName,
boolean condstore,
Long lastKnownUidValidity,
Long knownModSeq,
IdRange[] uidSet,
IdRange[] knownUidSet,
IdRange[] knownSequenceSet,
String tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
getCondstore()
Return true if the
CONDSTORE option was used while selecting the mailbox |
Long |
getKnownModSeq()
Return the known
MODSEQ or null if it was not given. |
IdRange[] |
getKnownSequenceSet()
Return the known sequence-set or null if it was not given.
|
IdRange[] |
getKnownUidSet()
Return the known uid set or null if it was not given.
|
Long |
getLastKnownUidValidity()
Return the last known
UIDVALIDITY or null if it was not given. |
String |
getMailboxName()
Return the mailbox to select
|
IdRange[] |
getUidSet()
Return the known uid set or null if it was not given.
|
getCommand, getTag
public final String getMailboxName()
public final boolean getCondstore()
CONDSTORE
option was used while selecting the mailboxpublic final Long getLastKnownUidValidity()
UIDVALIDITY
or null if it was not given. This is a MUST parameter when
using the QRESYNC
option. So if this returns null you can be sure the QRESYNC
was not usedpublic final Long getKnownModSeq()
MODSEQ
or null if it was not given. This is a MUST parameter when
using the QRESYNC
option. So if this returns null you can be sure the QRESYNC
was not usedpublic final IdRange[] getUidSet()
QRESYNC
option.public final IdRange[] getKnownSequenceSet()
getKnownUidSet()
. This is a OPTIONAL parameter when
using the QRESYNC
option.public final IdRange[] getKnownUidSet()
getKnownSequenceSet()
. This is a OPTIONAL parameter when
using the QRESYNC
option.Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.