|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessagingMessage
MessagingMessage - A message.
| Field Summary | |
|---|---|
static int |
FLAG_ANSWERED
This message has been answered. |
static int |
FLAG_DELETED
This message is marked deleted. |
static int |
FLAG_DRAFT
This message is a draft. |
static int |
FLAG_FLAGGED
This message is flagged. |
static int |
FLAG_FORWARDED
Virtual forwarded flag that marks this message as being forwarded. |
static int |
FLAG_READ_ACK
Virtual read acknowledgment flag that marks this message as being notified for delivery. |
static int |
FLAG_RECENT
This message is recent. |
static int |
FLAG_SEEN
This message is seen. |
static int |
FLAG_SPAM
Virtual Spam flag |
static int |
FLAG_USER
A special flag that indicates that this folder supports user defined flags. |
static java.lang.String |
USER_FORWARDED
The value of virtual forwarded flag. |
static java.lang.String |
USER_READ_ACK
The value of virtual read acknowledgment flag. |
| Fields inherited from interface com.openexchange.messaging.MessagingPart |
|---|
ATTACHMENT, INLINE |
| Method Summary | |
|---|---|
int |
getColorLabel()
Gets the color label. |
int |
getFlags()
Gets the flag bitmask. |
java.lang.String |
getFolder()
Gets the folder fullname. |
java.lang.String |
getId()
Gets the identifier. |
java.lang.String |
getPicture()
Gets the URL to use as a picture for this message. |
long |
getReceivedDate()
Gets the received date (storage's internal time stamp). |
int |
getThreadLevel()
Get the thread level of this message. |
java.lang.String |
getUrl()
Gets the URL associated with this message, if possible. |
java.util.Collection<java.lang.String> |
getUserFlags()
Gets the user flags. |
| Methods inherited from interface com.openexchange.messaging.MessagingPart |
|---|
getContent, getContentType, getDisposition, getFileName, getFirstHeader, getHeader, getHeaders, getSectionId, getSize, writeTo |
| Field Detail |
|---|
static final int FLAG_ANSWERED
static final int FLAG_DELETED
static final int FLAG_DRAFT
static final int FLAG_FLAGGED
static final int FLAG_RECENT
Clients cannot alter this flag.
static final int FLAG_SEEN
static final int FLAG_USER
Clients cannot alter this flag.
static final int FLAG_SPAM
static final int FLAG_FORWARDED
static final int FLAG_READ_ACK
static final java.lang.String USER_FORWARDED
static final java.lang.String USER_READ_ACK
| Method Detail |
|---|
java.lang.String getFolder()
null if not available
int getColorLabel()
throws MessagingException
MessagingException - If color label cannot be returned
int getFlags()
throws MessagingException
MessagingException - If flag bitmask cannot be returnedlong getReceivedDate()
-1 if not available
java.util.Collection<java.lang.String> getUserFlags()
throws MessagingException
null if none available
MessagingException - If user flags cannot be returnedint getThreadLevel()
java.lang.String getId()
null if not availablejava.lang.String getPicture()
java.lang.String getUrl()
throws MessagingException
This is useful for RSS messages as they contain links to their origin messages or feeds.
MessagingException - If no URL can be returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||