org.apache.james.mailbox.jpa.mail.model.openjpa
Class JPAStreamingMailboxMembership

java.lang.Object
  extended by org.apache.james.mailbox.store.mail.model.AbstractMailboxMembership<java.lang.Long>
      extended by org.apache.james.mailbox.jpa.mail.model.openjpa.AbstractJPAMailboxMembership
          extended by org.apache.james.mailbox.jpa.mail.model.openjpa.JPAStreamingMailboxMembership
All Implemented Interfaces:
MailboxMembership<java.lang.Long>

@Entity(name="Membership")
public class JPAStreamingMailboxMembership
extends AbstractJPAMailboxMembership


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.james.mailbox.jpa.mail.model.openjpa.AbstractJPAMailboxMembership
AbstractJPAMailboxMembership.MailboxIdUidKey
 
Constructor Summary
JPAStreamingMailboxMembership()
          Deprecated. 
JPAStreamingMailboxMembership(long mailboxId, java.util.Date internalDate, int size, javax.mail.Flags flags, java.io.InputStream content, int bodyStartOctet, java.util.List<JPAHeader> headers, PropertyBuilder propertyBuilder)
           
JPAStreamingMailboxMembership(long mailboxId, MailboxMembership<?> original)
           
 
Method Summary
 Message getMessage()
          Gets the message member.
 
Methods inherited from class org.apache.james.mailbox.jpa.mail.model.openjpa.AbstractJPAMailboxMembership
equals, getInternalDate, getMailboxId, getUid, hashCode, isAnswered, isDeleted, isDraft, isFlagged, isRecent, isSeen, setFlags, setUid, toString, unsetRecent
 
Methods inherited from class org.apache.james.mailbox.store.mail.model.AbstractMailboxMembership
createFlags
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JPAStreamingMailboxMembership

@Deprecated
public JPAStreamingMailboxMembership()
Deprecated. 

For enhancement only.


JPAStreamingMailboxMembership

public JPAStreamingMailboxMembership(long mailboxId,
                                     java.util.Date internalDate,
                                     int size,
                                     javax.mail.Flags flags,
                                     java.io.InputStream content,
                                     int bodyStartOctet,
                                     java.util.List<JPAHeader> headers,
                                     PropertyBuilder propertyBuilder)
                              throws MailboxException
Throws:
MailboxException

JPAStreamingMailboxMembership

public JPAStreamingMailboxMembership(long mailboxId,
                                     MailboxMembership<?> original)
                              throws MailboxException
Throws:
MailboxException
Method Detail

getMessage

public Message getMessage()
Gets the message member.

Returns:
message, not null


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.