|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailbox.store.StoreMessageManager<Id>
org.apache.james.mailbox.store.MapperStoreMessageManager<java.lang.Long>
org.apache.james.mailbox.jpa.JPAMessageManager
public class JPAMessageManager
Abstract base class which should be used from JPA 2.0 implementations
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.james.mailbox.MessageManager |
|---|
MessageManager.MetaData |
| Constructor Summary | |
|---|---|
JPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
java.util.concurrent.atomic.AtomicLong lastUid,
MailboxEventDispatcher dispatcher,
Mailbox<java.lang.Long> mailbox)
|
|
| Method Summary | |
|---|---|
protected Header |
createHeader(int lineNumber,
java.lang.String name,
java.lang.String value)
|
protected MailboxMembership<java.lang.Long> |
createMessage(java.util.Date internalDate,
int size,
int bodyStartOctet,
java.io.InputStream document,
javax.mail.Flags flags,
java.util.List<Header> headers,
PropertyBuilder propertyBuilder)
|
| Methods inherited from class org.apache.james.mailbox.store.MapperStoreMessageManager |
|---|
appendMessageToStore, copy, countUnseenMessagesInMailbox, deleteMarkedInMailbox, findFirstUnseenMessageUid, getMessageCount, getMessages, recent, search, updateFlags |
| Methods inherited from class org.apache.james.mailbox.store.StoreMessageManager |
|---|
addListener, appendMessage, copyTo, expunge, getDispatcher, getMailboxEntity, getMetaData, isWriteable, setFlags |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPAMessageManager(JPAMailboxSessionMapperFactory mapperFactory,
java.util.concurrent.atomic.AtomicLong lastUid,
MailboxEventDispatcher dispatcher,
Mailbox<java.lang.Long> mailbox)
throws MailboxException
MailboxException| Method Detail |
|---|
protected MailboxMembership<java.lang.Long> createMessage(java.util.Date internalDate,
int size,
int bodyStartOctet,
java.io.InputStream document,
javax.mail.Flags flags,
java.util.List<Header> headers,
PropertyBuilder propertyBuilder)
throws MailboxException
createMessage in class StoreMessageManager<java.lang.Long>MailboxException
protected Header createHeader(int lineNumber,
java.lang.String name,
java.lang.String value)
createHeader in class StoreMessageManager<java.lang.Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||