|
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.filebox.FileFlagList
public class FileFlagList
Field Summary |
---|
Fields inherited from interface rice.email.proxy.mailbox.FlagList |
---|
ANSWERED_FLAG, DELETED_FLAG, DRAFT_FLAG, FLAGGED_FLAG, RECENT_FLAG, SEEN_FLAG |
Method Summary | |
---|---|
void |
addFlag(java.lang.String flag)
|
void |
commit()
Causes any changes in this FlagList's state to be written to the associated Mailbox. |
java.util.List |
getFlags()
|
boolean |
isAnswered()
|
boolean |
isDeleted()
|
boolean |
isDraft()
|
boolean |
isFlagged()
|
boolean |
isRecent()
Methods which support the session flags, as well as the \Recent flag |
boolean |
isSeen()
|
boolean |
isSet(java.lang.String flag)
Methods which allow the querying of flags |
void |
removeFlag(java.lang.String flag)
|
void |
setAnswered(boolean seen)
|
void |
setDeleted(boolean deleted)
|
void |
setDraft(boolean seen)
|
void |
setFlag(java.lang.String flag,
boolean value)
Methods which allow the modification of flags |
void |
setFlagged(boolean seen)
|
void |
setRecent(boolean seen)
|
void |
setSeen(boolean seen)
|
java.lang.String |
toFlagString()
Utility method for conversion to a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addFlag(java.lang.String flag)
public void removeFlag(java.lang.String flag)
public boolean isSet(java.lang.String flag)
FlagList
isSet
in interface FlagList
public void setFlag(java.lang.String flag, boolean value)
FlagList
setFlag
in interface FlagList
public void commit() throws MailboxException
FlagList
commit
in interface FlagList
MailboxException
public boolean isRecent()
FlagList
isRecent
in interface FlagList
public boolean isDraft()
isDraft
in interface FlagList
public boolean isAnswered()
isAnswered
in interface FlagList
public boolean isDeleted()
isDeleted
in interface FlagList
public boolean isFlagged()
isFlagged
in interface FlagList
public boolean isSeen()
isSeen
in interface FlagList
public void setDeleted(boolean deleted)
setDeleted
in interface FlagList
public void setSeen(boolean seen)
setSeen
in interface FlagList
public void setRecent(boolean seen)
setRecent
in interface FlagList
public void setDraft(boolean seen)
setDraft
in interface FlagList
public void setAnswered(boolean seen)
setAnswered
in interface FlagList
public void setFlagged(boolean seen)
setFlagged
in interface FlagList
public java.util.List getFlags()
getFlags
in interface FlagList
public java.lang.String toFlagString()
FlagList
toFlagString
in interface FlagList
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |