|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailbox.store.StoreMessageManager<Long>
org.apache.james.mailbox.jpa.JPAMessageManager
org.apache.james.mailbox.jpa.openjpa.OpenJPAMessageManager
public class OpenJPAMessageManager
OpenJPA implementation of Mailbox
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.james.mailbox.MessageManager |
|---|
MessageManager.MessageCallback, MessageManager.MetaData |
| Field Summary |
|---|
| Fields inherited from class org.apache.james.mailbox.store.StoreMessageManager |
|---|
mapperFactory, uidProvider |
| Constructor Summary | |
|---|---|
OpenJPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
UidProvider<Long> uidProvider,
MailboxEventDispatcher dispatcher,
Mailbox<Long> mailbox)
|
|
OpenJPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
UidProvider<Long> uidProvider,
MailboxEventDispatcher dispatcher,
Mailbox<Long> mailbox,
boolean useStreaming)
|
|
| Method Summary | |
|---|---|
protected Message<Long> |
createMessage(long uid,
Date internalDate,
int size,
int bodyStartOctet,
InputStream document,
javax.mail.Flags flags,
List<Header> headers,
PropertyBuilder propertyBuilder)
|
| Methods inherited from class org.apache.james.mailbox.jpa.JPAMessageManager |
|---|
createHeader, getPermanentFlags |
| Methods inherited from class org.apache.james.mailbox.store.StoreMessageManager |
|---|
addListener, appendMessage, appendMessageToStore, copyTo, countUnseenMessagesInMailbox, deleteMarkedInMailbox, expunge, findFirstUnseenMessageUid, getDispatcher, getMailboxEntity, getMessageCount, getMessages, getMessages, getMetaData, isWriteable, recent, search, setFlags |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenJPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
UidProvider<Long> uidProvider,
MailboxEventDispatcher dispatcher,
Mailbox<Long> mailbox)
throws MailboxException
MailboxException
public OpenJPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
UidProvider<Long> uidProvider,
MailboxEventDispatcher dispatcher,
Mailbox<Long> mailbox,
boolean useStreaming)
throws MailboxException
MailboxException| Method Detail |
|---|
protected Message<Long> createMessage(long uid,
Date internalDate,
int size,
int bodyStartOctet,
InputStream document,
javax.mail.Flags flags,
List<Header> headers,
PropertyBuilder propertyBuilder)
throws MailboxException
createMessage in class JPAMessageManagerMailboxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||