Modifier and Type | Method and Description |
---|---|
MailboxPath |
MailboxListener.Event.getMailboxPath()
Return the path of the Mailbox this event belongs to.
|
abstract MailboxPath |
MailboxListener.MailboxRenamed.getNewPath()
Gets the new name for this mailbox.
|
Modifier and Type | Method and Description |
---|---|
List<MailboxPath> |
MailboxManager.list(MailboxSession session)
Return a unmodifiable
List of MailboxPath objects |
Modifier and Type | Method and Description |
---|---|
void |
MailboxListenerSupport.addListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session)
Implementations of Mailbox may interpret the fact that someone is
listening and do some caching and even postpone persistence until
everyone has removed itself.
|
List<MessageRange> |
MailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session)
Copy the given
MessageRange from one Mailbox to the other. |
void |
MailboxManager.createMailbox(MailboxPath mailboxPath,
MailboxSession mailboxSession)
Creates a new mailbox.
|
void |
MailboxManager.deleteMailbox(MailboxPath mailboxPath,
MailboxSession session)
Delete the mailbox with the name
|
<T> T |
MailboxPathLocker.executeWithLock(MailboxSession session,
MailboxPath path,
MailboxPathLocker.LockAwareExecution<T> execution)
Deprecated.
use
MailboxPathLocker.executeWithLock(MailboxSession, MailboxPath, LockAwareExecution, boolean) with argument true |
<T> T |
MailboxPathLocker.executeWithLock(MailboxSession session,
MailboxPath path,
MailboxPathLocker.LockAwareExecution<T> execution,
boolean writeLock)
Execute the
MailboxPathLocker.LockAwareExecution while holding a lock on the
MailboxPath . |
MessageManager |
MailboxManager.getMailbox(MailboxPath mailboxPath,
MailboxSession session)
Gets an session suitable for IMAP.
|
boolean |
MailboxManager.mailboxExists(MailboxPath mailboxPath,
MailboxSession session)
Does the given mailbox exist?
|
void |
MailboxListenerSupport.removeListener(MailboxPath mailboxPath,
MailboxListener listner,
MailboxSession session)
Remove the
MailboxListener |
void |
MailboxManager.renameMailbox(MailboxPath from,
MailboxPath to,
MailboxSession session)
Renames a mailbox.
|
Constructor and Description |
---|
MailboxListener.Added(MailboxSession session,
MailboxPath path) |
MailboxListener.Event(MailboxSession session,
MailboxPath path) |
MailboxListener.Expunged(MailboxSession session,
MailboxPath path) |
MailboxListener.FlagsUpdated(MailboxSession session,
MailboxPath path) |
MailboxListener.MailboxACLUpdated(MailboxSession session,
MailboxPath path) |
MailboxListener.MailboxAdded(MailboxSession session,
MailboxPath path) |
MailboxListener.MailboxDeletion(MailboxSession session,
MailboxPath path) |
MailboxListener.MailboxRenamed(MailboxSession session,
MailboxPath path) |
MailboxListener.MessageEvent(MailboxSession session,
MailboxPath path) |
Constructor and Description |
---|
MailboxNotFoundException(MailboxPath mailboxPath) |
ReadOnlyException(MailboxPath path,
char delimiter) |
ReadOnlyException(MailboxPath path,
char delimiter,
Exception e) |
Modifier and Type | Method and Description |
---|---|
protected Mailbox<UUID> |
HBaseMailboxManager.doCreateMailbox(MailboxPath mailboxPath,
MailboxSession session) |
Modifier and Type | Method and Description |
---|---|
Mailbox<UUID> |
HBaseMailboxMapper.findMailboxByPath(MailboxPath mailboxPath) |
List<Mailbox<UUID>> |
HBaseMailboxMapper.findMailboxWithPathLike(MailboxPath mailboxPath) |
Constructor and Description |
---|
HBaseMailbox(MailboxPath mailboxPath,
long uidValidity) |
Modifier and Type | Method and Description |
---|---|
Mailbox<Long> |
InMemoryMailboxMapper.findMailboxByPath(MailboxPath path) |
List<Mailbox<Long>> |
InMemoryMailboxMapper.findMailboxWithPathLike(MailboxPath path) |
Modifier and Type | Method and Description |
---|---|
protected Mailbox<String> |
JCRMailboxManager.doCreateMailbox(MailboxPath path,
MailboxSession session) |
Modifier and Type | Method and Description |
---|---|
Mailbox<String> |
JCRMailboxMapper.findMailboxByPath(MailboxPath path) |
List<Mailbox<String>> |
JCRMailboxMapper.findMailboxWithPathLike(MailboxPath path) |
Constructor and Description |
---|
JCRMailbox(MailboxPath path,
long uidValidity,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected Mailbox<Long> |
JPAMailboxManager.doCreateMailbox(MailboxPath path,
MailboxSession session) |
Modifier and Type | Method and Description |
---|---|
Mailbox<Long> |
JPAMailboxMapper.findMailboxByPath(MailboxPath mailboxPath) |
List<Mailbox<Long>> |
JPAMailboxMapper.findMailboxWithPathLike(MailboxPath path) |
Constructor and Description |
---|
JPAMailbox(MailboxPath path,
int uidValidity) |
Modifier and Type | Method and Description |
---|---|
String |
MaildirStore.getFolderName(MailboxPath mailboxPath)
Get the absolute name of the folder for a specific mailbox
|
Mailbox<Integer> |
MaildirStore.loadMailbox(MailboxSession session,
MailboxPath mailboxPath)
Creates a Mailbox object with data loaded from the file system
|
Constructor and Description |
---|
MaildirFolder(String absPath,
MailboxPath path,
MailboxPathLocker locker)
Representation of a maildir folder containing the message folders
and some special files
|
Modifier and Type | Method and Description |
---|---|
Mailbox<Integer> |
MaildirMailboxMapper.findMailboxByPath(MailboxPath mailboxPath) |
List<Mailbox<Integer>> |
MaildirMailboxMapper.findMailboxWithPathLike(MailboxPath mailboxPath) |
Constructor and Description |
---|
MaildirMailbox(MailboxSession session,
MailboxPath path,
MaildirFolder folder) |
Modifier and Type | Method and Description |
---|---|
MailboxPath |
MailboxQuery.getBase()
Gets the base reference for the search.
|
MailboxPath |
MailboxMetaData.getPath()
Return the MailboxPath
|
static MailboxPath |
MailboxPath.inbox(MailboxSession session)
Return a
MailboxPath which represent the INBOX of the given
session |
static MailboxPath |
MailboxPath.parse(MailboxSession session,
String fullmailboxname)
Create a
MailboxPath by parsing the given full mailboxname (which included the namespace) |
Modifier and Type | Method and Description |
---|---|
List<MailboxPath> |
MailboxPath.getHierarchyLevels(char delimiter)
Return a list of MailboxPath representing the hierarchy levels of this
MailboxPath.
|
Constructor and Description |
---|
MailboxPath(MailboxPath mailboxPath) |
MailboxPath(MailboxPath mailboxPath,
String name) |
MailboxQuery(MailboxPath base,
String expression,
char pathDelimiter)
Constructs an expression determining a set of mailbox names.
|
Modifier and Type | Class and Description |
---|---|
class |
StoreMailboxPath<Id> |
Modifier and Type | Method and Description |
---|---|
MailboxPath |
MailboxEventDispatcher.MailboxRenamedEventImpl.getNewPath() |
MailboxPath |
SimpleMailboxMetaData.getPath() |
Modifier and Type | Method and Description |
---|---|
protected Map<MailboxPath,List<MailboxListener>> |
HashMapDelegatingMailboxListener.getListeners() |
protected abstract Map<MailboxPath,List<MailboxListener>> |
AbstractDelegatingMailboxListener.getListeners()
Return the
Map which is used to store the MailboxListener |
List<MailboxPath> |
StoreMailboxManager.list(MailboxSession session) |
Modifier and Type | Method and Description |
---|---|
void |
StoreMailboxManager.addListener(MailboxPath path,
MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.addListener(MailboxPath path,
MailboxListener listener,
MailboxSession session) |
List<MessageRange> |
StoreMailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session) |
void |
StoreMailboxManager.createMailbox(MailboxPath mailboxPath,
MailboxSession mailboxSession) |
static MailboxMetaData |
SimpleMailboxMetaData.createNoSelect(MailboxPath path,
char delimiter) |
void |
StoreMailboxManager.deleteMailbox(MailboxPath mailboxPath,
MailboxSession session) |
protected Mailbox<Id> |
StoreMailboxManager.doCreateMailbox(MailboxPath mailboxPath,
MailboxSession session)
Create a Mailbox for the given mailbox path.
|
<T> T |
AbstractMailboxPathLocker.executeWithLock(MailboxSession session,
MailboxPath path,
MailboxPathLocker.LockAwareExecution<T> execution) |
<T> T |
AbstractMailboxPathLocker.executeWithLock(MailboxSession session,
MailboxPath path,
MailboxPathLocker.LockAwareExecution<T> execution,
boolean writeLock) |
MessageManager |
StoreMailboxManager.getMailbox(MailboxPath mailboxPath,
MailboxSession session) |
protected abstract void |
AbstractMailboxPathLocker.lock(MailboxSession session,
MailboxPath path,
boolean writeLock)
Perform lock
|
protected void |
JVMMailboxPathLocker.lock(MailboxSession session,
MailboxPath path,
boolean writeLock) |
boolean |
StoreMailboxManager.mailboxExists(MailboxPath mailboxPath,
MailboxSession session) |
void |
MailboxEventDispatcher.mailboxRenamed(MailboxSession session,
MailboxPath from,
Mailbox<Id> to)
Should get called when a Mailbox was renamed.
|
void |
StoreMailboxManager.removeListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session) |
void |
AbstractDelegatingMailboxListener.removeListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session) |
void |
StoreMailboxManager.renameMailbox(MailboxPath from,
MailboxPath to,
MailboxSession session) |
protected abstract void |
AbstractMailboxPathLocker.unlock(MailboxSession session,
MailboxPath path,
boolean writeLock)
Release lock
|
protected void |
JVMMailboxPathLocker.unlock(MailboxSession session,
MailboxPath path,
boolean writeLock) |
Constructor and Description |
---|
MailboxEventDispatcher.MailboxRenamedEventImpl(MailboxSession session,
MailboxPath oldPath,
Mailbox<Id> newMailbox) |
SimpleMailboxMetaData(MailboxPath path,
char delimiter) |
SimpleMailboxMetaData(MailboxPath path,
char delimiter,
MailboxMetaData.Children inferiors,
MailboxMetaData.Selectability selectability) |
StoreMailboxPath(MailboxPath mailboxPath) |
StoreMailboxPath(MailboxPath mailboxPath,
String name) |
Modifier and Type | Method and Description |
---|---|
Mailbox<Id> |
MailboxMapper.findMailboxByPath(MailboxPath mailboxName)
Return the
Mailbox for the given name |
List<Mailbox<Id>> |
MailboxMapper.findMailboxWithPathLike(MailboxPath mailboxPath)
Return a List of
Mailbox which name is like the given name |
Constructor and Description |
---|
SimpleMailbox(MailboxPath path,
long uidValidity) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.