| |
|
| java.lang.Object dtw.webmail.model.JwmaMessageInfoImpl
JwmaMessageInfoImpl | public class JwmaMessageInfoImpl implements JwmaMessageInfo(Code) | | Class implementing the JwmaMessageInfo model.
It is designed to wrap the minimum information of
a mail message necessary to be listed in a list view.
author: Dieter Wimberger version: 0.9.7 07/02/2003 |
createJwmaMessageInfoImpl | public static JwmaMessageInfoImpl createJwmaMessageInfoImpl(Message msg) throws JwmaException(Code) | | Factoy method that creates a new JwmaMessageInfoImpl instance.
The passed in message should have been loaded with a slim profile. Values are
extracted and set in the newly created instance.
Parameters: msg - the message to be wrapped as javax.mail.Message. |
getMessageNumber | public int getMessageNumber()(Code) | | |
getReceivedDate | public Date getReceivedDate()(Code) | | |
getSize | public int getSize()(Code) | | |
isAnswered | public boolean isAnswered()(Code) | | |
isDeleted | public boolean isDeleted()(Code) | | |
isDraft | public boolean isDraft()(Code) | | |
isMultipart | public boolean isMultipart()(Code) | | |
isNew | public boolean isNew()(Code) | | |
isRead | public boolean isRead()(Code) | | |
isReceived | public boolean isReceived()(Code) | | |
isSent | public boolean isSent()(Code) | | |
isSinglepart | public boolean isSinglepart()(Code) | | |
setMessageNumber | public void setMessageNumber(int num)(Code) | | Sets the message number of this MessageInfo.
This method is public to allow caching in the JwmaMessageInfoListImpl.
The number should reflect the number of the wrapped javax.mail.Message
instance.
Parameters: num - the number as int. See Also: dtw.webmail.model.JwmaMessageInfoListImpl.renumber |
|
|
|