|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlagList
Field Summary | |
---|---|
static java.lang.String |
ANSWERED_FLAG
|
static java.lang.String |
DELETED_FLAG
static names of all the server-provided flags |
static java.lang.String |
DRAFT_FLAG
|
static java.lang.String |
FLAGGED_FLAG
|
static java.lang.String |
RECENT_FLAG
|
static java.lang.String |
SEEN_FLAG
|
Method Summary | |
---|---|
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 |
setAnswered(boolean value)
|
void |
setDeleted(boolean value)
|
void |
setDraft(boolean value)
|
void |
setFlag(java.lang.String flag,
boolean value)
Methods which allow the modification of flags |
void |
setFlagged(boolean value)
|
void |
setRecent(boolean value)
|
void |
setSeen(boolean value)
|
java.lang.String |
toFlagString()
Utility method for conversion to a string |
Field Detail |
---|
static final java.lang.String DELETED_FLAG
static final java.lang.String ANSWERED_FLAG
static final java.lang.String SEEN_FLAG
static final java.lang.String DRAFT_FLAG
static final java.lang.String FLAGGED_FLAG
static final java.lang.String RECENT_FLAG
Method Detail |
---|
void setFlag(java.lang.String flag, boolean value)
void setDeleted(boolean value)
void setSeen(boolean value)
void setDraft(boolean value)
void setFlagged(boolean value)
void setAnswered(boolean value)
boolean isSet(java.lang.String flag)
boolean isDeleted()
boolean isSeen()
boolean isDraft()
boolean isAnswered()
boolean isFlagged()
java.lang.String toFlagString()
java.util.List getFlags()
boolean isRecent()
void setRecent(boolean value)
void commit() throws MailboxException
MailboxException
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |