ePOST API

rice.email.proxy.mailbox
Interface MailFolder

All Known Implementing Classes:
FileFolder, PostFolder

public interface MailFolder


Method Summary
 void copy(MovingMessage[] messages, java.util.List[] flags, long[] dates)
           
 MailFolder createChild(java.lang.String name)
           
 void delete()
           
 MailFolder getChild(java.lang.String name)
           
 MailFolder[] getChildren()
           
 int getExists()
           
 java.lang.String getFullName()
           
 java.util.List getMessages(MsgFilter range)
          Obtains a list of StoredMessages in this folder that fall within the designated range.
 int getNextUID()
           
 int getRecent()
           
 java.lang.String getUIDValidity()
           
 void purge(StoredMessage[] messages)
           
 void put(MovingMessage msg)
           
 void put(MovingMessage msg, java.util.List flags, long internaldate)
           
 void update(StoredMessage[] messages)
           
 

Method Detail

getMessages

java.util.List getMessages(MsgFilter range)
                           throws MailboxException
Obtains a list of StoredMessages in this folder that fall within the designated range.

Throws:
MailboxException

getFullName

java.lang.String getFullName()

getNextUID

int getNextUID()
               throws MailboxException
Throws:
MailboxException

getUIDValidity

java.lang.String getUIDValidity()
                                throws MailboxException
Throws:
MailboxException

getExists

int getExists()
              throws MailboxException
Throws:
MailboxException

getRecent

int getRecent()
              throws MailboxException
Throws:
MailboxException

put

void put(MovingMessage msg,
         java.util.List flags,
         long internaldate)
         throws MailboxException
Throws:
MailboxException

put

void put(MovingMessage msg)
         throws MailboxException
Throws:
MailboxException

copy

void copy(MovingMessage[] messages,
          java.util.List[] flags,
          long[] dates)
          throws MailboxException
Throws:
MailboxException

update

void update(StoredMessage[] messages)
            throws MailboxException
Throws:
MailboxException

purge

void purge(StoredMessage[] messages)
           throws MailboxException
Throws:
MailboxException

getChild

MailFolder getChild(java.lang.String name)
                    throws MailboxException
Throws:
MailboxException

createChild

MailFolder createChild(java.lang.String name)
                       throws MailboxException
Throws:
MailboxException

getChildren

MailFolder[] getChildren()
                         throws MailboxException
Throws:
MailboxException

delete

void delete()
            throws MailboxException
Throws:
MailboxException

ePOST API

Copyright © 2001-2005 - Rice Pastry.