| dtw.webmail.model.JwmaInboxInfo
All known Subclasses: dtw.webmail.model.JwmaFolderImpl,
JwmaInboxInfo | public interface JwmaInboxInfo (Code) | | An interface defining the contract for interaction with
the JwmaInboxInfo model.
The JwmaInboxInfo allows a view programmer to obtain
information about the inbox; basically if there are new
messages (and their count).
author: Dieter Wimberger version: 0.9.7 07/02/2003 |
Method Summary | |
public int | getMessageCount() Returns an int representing the count
of messages in the Inbox. | public String | getName() Returns a String representing the name
of the Inbox. | public int | getNewMessageCount() Returns an int representing the count
of new messages in the Inbox. | public String | getPath() Returns a String representing the path
of this folder object. | public int | getUnreadMessageCount() Returns an int representing the count
of unread messages in the Inbox. | public boolean | hasNewMessages() Tests if the Inbox contains new messages. | public boolean | hasUnreadMessages() Tests if the Inbox contains new messages, based on
the flag for read messages. |
getMessageCount | public int getMessageCount()(Code) | | Returns an int representing the count
of messages in the Inbox.
Note: method returns -1 if it fails
to retrieve the actual messages count.
the number of messages in this Inbox. |
getName | public String getName()(Code) | | Returns a String representing the name
of the Inbox.
the name of the Inbox as String. |
getNewMessageCount | public int getNewMessageCount()(Code) | | Returns an int representing the count
of new messages in the Inbox.
Note: method returns -1 if it fails
to retrieve the actual new messages count.
the number of new messages in the Inbox. |
getPath | public String getPath()(Code) | | Returns a String representing the path
of this folder object.
the path of the inbox as String. |
getUnreadMessageCount | public int getUnreadMessageCount()(Code) | | Returns an int representing the count
of unread messages in the Inbox.
This method is based on the flag for read messages
It returns -1 if it fails to retrieve the actual
message count.
the number of unread messages in the Inbox. |
hasNewMessages | public boolean hasNewMessages()(Code) | | Tests if the Inbox contains new messages.
true if the Inbox contains new messages,false otherwise. |
hasUnreadMessages | public boolean hasUnreadMessages()(Code) | | Tests if the Inbox contains new messages, based on
the flag for read messages.
true if the Inbox contains unread messages,false otherwise. |
|
|