org.apache.james.mailbox.jpa
Class JPAMailboxManager
java.lang.Object
org.apache.james.mailbox.store.StoreMailboxManager<Long>
org.apache.james.mailbox.jpa.JPAMailboxManager
- All Implemented Interfaces:
- MailboxListenerSupport, MailboxManager, RequestAware
- Direct Known Subclasses:
- OpenJPAMailboxManager
public abstract class JPAMailboxManager
- extends StoreMailboxManager<Long>
JPA implementation of StoreMailboxManager
| Methods inherited from class org.apache.james.mailbox.store.StoreMailboxManager |
addGlobalListener, addListener, copyMessages, createMailbox, createMessageManager, createSystemSession, deleteMailbox, endProcessingRequest, getDelegationListener, getDelimiter, getLog, getMailbox, init, list, login, logout, mailboxExists, randomId, randomUidValidity, renameMailbox, search, setDelegatingMailboxListener, setLog, startProcessingRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAMailboxManager
public JPAMailboxManager(JPAMailboxSessionMapperFactory mailboxSessionMapperFactory,
Authenticator authenticator,
UidProvider<Long> uidProvider,
MailboxPathLocker locker)
doCreateMailbox
protected Mailbox<Long> doCreateMailbox(MailboxPath path,
MailboxSession session)
throws MailboxException
- Specified by:
doCreateMailbox in class StoreMailboxManager<Long>
- Throws:
MailboxException
deleteEverything
public void deleteEverything(MailboxSession mailboxSession)
throws MailboxException
- Delete all mailboxes
- Parameters:
maibloxSession -
- Throws:
MailboxException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.