|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidaddemo.email.FolderData
public class FolderData
Reflects the folder information provided by javaMail folder
| Constructor Summary | |
|---|---|
FolderData(AccountData data,
javax.mail.Folder folder)
|
|
| Method Summary | |
|---|---|
void |
flush()
|
javax.mail.Folder |
getFolder()
Get the underlying Folder object. |
String |
getFullName()
gets the full name of this folder. |
int |
getMessageCount()
|
Object |
getMessageListModel()
Get the model for the messages in this folder. |
String |
getName()
gets the name of this folder |
int |
getStartIndex()
|
List<Object> |
getSubFolders()
gets this folder's subfolders |
int |
getUnreadMessageCount()
|
boolean |
isHoldsMessages()
Returns true if the folder can hold messages. |
void |
setStartIndex(int startIndex)
Store the index into the list of messages. |
static FolderData[] |
toFolderData(AccountData data,
javax.mail.Folder[] folders)
converts Folders to FolderDatas. |
String |
viewMessages()
Action for viewing the messages in this folder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FolderData(AccountData data,
javax.mail.Folder folder)
throws javax.mail.MessagingException
data - the user who owns this folderfolder - the folder being reflected
javax.mail.MessagingException| Method Detail |
|---|
public void flush()
public boolean isHoldsMessages()
public int getMessageCount()
throws javax.mail.MessagingException
javax.mail.MessagingException
public int getUnreadMessageCount()
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic int getStartIndex()
public void setStartIndex(int startIndex)
public String getName()
public String getFullName()
public List<Object> getSubFolders()
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic Object getMessageListModel()
public static FolderData[] toFolderData(AccountData data,
javax.mail.Folder[] folders)
throws javax.mail.MessagingException
Folders to FolderDatas.
javax.mail.MessagingExceptionpublic javax.mail.Folder getFolder()
public String viewMessages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||