|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.mail.FolderNavigation.FolderNode
This class represents a folder node in the navigation.
Field Summary | |
static int |
TYPE_DRAFTS
|
static int |
TYPE_INBOX
|
static int |
TYPE_NEW_FOLDER
|
static int |
TYPE_PERSONAL
|
static int |
TYPE_SENT
|
static int |
TYPE_TRASH
|
static int |
VALUE_UNKNOWN_DEPTH
|
Method Summary | |
int |
getDepth()
Gets the folder depth. |
java.lang.String |
getID()
Gets the folder ID. |
int |
getMessageCount()
Gets the message count. |
java.lang.String |
getName()
Gets the folder name. |
int |
getType()
Gets the folder type. |
int |
getUnreadCount()
Gets the unread message count. |
boolean |
hasSubFolders()
Checks if the folder has sub-folders. |
boolean |
hasUnread()
Checks if the folder has unread messages. |
boolean |
isDepthUnknown()
Checks if the folder depth is unknown |
boolean |
isExpand()
Checks if the folder should be expanded. |
boolean |
isModifiable()
Checks if the folder is modifiable (rename, move, delete). |
boolean |
isRoot()
Checks if the folder is root. |
boolean |
isSelected()
Checks if the folder is selected. |
boolean |
supportsSubFolders()
Checks if the folder supports sub-folders. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_UNKNOWN_DEPTH
public static final int TYPE_INBOX
public static final int TYPE_TRASH
public static final int TYPE_SENT
public static final int TYPE_DRAFTS
public static final int TYPE_PERSONAL
public static final int TYPE_NEW_FOLDER
Method Detail |
public int getType()
TYPE_
constants)public boolean hasUnread()
true
if the folder has unread messages; false
otherwisegetUnreadCount()
public int getUnreadCount()
public int getMessageCount()
public boolean isRoot()
true
if the folder is root; false
otherwisepublic boolean isModifiable()
true
if the folder is modifable; false
otherwisepublic boolean supportsSubFolders()
true
if the folder supports sub-folders; false
otherwisepublic boolean hasSubFolders()
true
if the folder has sub-folders; false
otherwisepublic boolean isSelected()
true
if the folder is selected; false
otherwisepublic boolean isExpand()
true
if the folder is expanded; false
otherwisepublic java.lang.String getID()
public int getDepth()
public java.lang.String getName()
null
if not availablepublic boolean isDepthUnknown()
true
if the folder depth is unknown, or false
otherwise
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |