|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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).
Method Summary | |
int |
getMessageCount()
Returns an int representing the count of messages in the Inbox. |
java.lang.String |
getName()
Returns a String representing the name of the Inbox. |
int |
getNewMessageCount()
Returns an int representing the count of new messages in the Inbox. |
java.lang.String |
getPath()
Returns a String representing the path of this folder object. |
int |
getUnreadMessageCount()
Returns an int representing the count of unread messages in the Inbox. |
boolean |
hasNewMessages()
Tests if the Inbox contains new messages. |
boolean |
hasUnreadMessages()
Tests if the Inbox contains new messages, based on the flag for read messages. |
Method Detail |
public java.lang.String getName()
public java.lang.String getPath()
public int getMessageCount()
Note: method returns -1 if it fails to retrieve the actual messages count.
public boolean hasNewMessages()
public int getNewMessageCount()
Note: method returns -1 if it fails to retrieve the actual new messages count.
public boolean hasUnreadMessages()
public int getUnreadMessageCount()
This method is based on the flag for read messages It returns -1 if it fails to retrieve the actual message count.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |