|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.email.proxy.mailbox.postbox.PostFolder
public class PostFolder
This class translates between foedus and the emailservice.
Constructor Summary | |
---|---|
PostFolder(Folder folder,
PostFolder parent,
EmailService email)
Builds a folder given a string name |
Method Summary | |
---|---|
void |
copy(MovingMessage[] messages,
java.util.List[] flags,
long[] internaldates)
|
MailFolder |
createChild(java.lang.String name)
|
void |
delete()
|
void |
delete(boolean checkForInferiors)
|
MailFolder |
getChild(java.lang.String name)
|
MailFolder[] |
getChildren()
|
int |
getExists()
|
Folder |
getFolder()
|
java.lang.String |
getFullName()
Returns the full name of this folder. |
java.util.List |
getMessages(MsgFilter range)
Obtains a list of StoredMessage s in this folder
that fall within the designated range. |
int |
getNextUID()
|
PostFolder |
getParent()
|
int |
getRecent()
|
java.lang.String |
getUIDValidity()
|
void |
purge(StoredMessage[] messages)
|
void |
put(MovingMessage msg)
|
void |
put(MovingMessage msg,
java.util.List lflags,
long internaldate)
|
void |
setParent(PostFolder parent)
|
void |
update(StoredMessage[] messages)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostFolder(Folder folder, PostFolder parent, EmailService email) throws MailboxException
MailboxException
Method Detail |
---|
public java.lang.String getFullName()
getFullName
in interface MailFolder
public int getNextUID() throws MailboxException
getNextUID
in interface MailFolder
MailboxException
public int getExists() throws MailboxException
getExists
in interface MailFolder
MailboxException
public int getRecent() throws MailboxException
getRecent
in interface MailFolder
MailboxException
public Folder getFolder()
public PostFolder getParent()
public void setParent(PostFolder parent)
public void delete() throws MailboxException
delete
in interface MailFolder
MailboxException
public void delete(boolean checkForInferiors) throws MailboxException
MailboxException
public void put(MovingMessage msg) throws MailboxException
put
in interface MailFolder
MailboxException
public void put(MovingMessage msg, java.util.List lflags, long internaldate) throws MailboxException
put
in interface MailFolder
MailboxException
public java.util.List getMessages(MsgFilter range) throws MailboxException
MailFolder
StoredMessage
s in this folder
that fall within the designated range.
getMessages
in interface MailFolder
MailboxException
public void copy(MovingMessage[] messages, java.util.List[] flags, long[] internaldates) throws MailboxException
copy
in interface MailFolder
MailboxException
public void update(StoredMessage[] messages) throws MailboxException
update
in interface MailFolder
MailboxException
public void purge(StoredMessage[] messages) throws MailboxException
purge
in interface MailFolder
MailboxException
public java.lang.String getUIDValidity() throws MailboxException
getUIDValidity
in interface MailFolder
MailboxException
public MailFolder createChild(java.lang.String name) throws MailboxException
createChild
in interface MailFolder
MailboxException
public MailFolder getChild(java.lang.String name) throws MailboxException
getChild
in interface MailFolder
MailboxException
public MailFolder[] getChildren() throws MailboxException
getChildren
in interface MailFolder
MailboxException
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |