You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Interface grendel.view.ViewedFolder


public interface  ViewedFolder
{
          // Methods 10
     public abstract ViewedFolder getFirstSubFolder();
     public abstract Folder getFolder();
     public abstract int getMessageCount();
     public abstract ViewedFolder getNextFolder();
     public abstract ViewedFolder getParentFolder();
     public abstract int getUndeletedMessageCount();
     public abstract int getUnreadMessageCount();
     public abstract ViewedFolder getViewedFolder(Folder) throws MessagingException;
     public abstract ViewedStore getViewedStore();
     public abstract boolean isInbox();
}



Methods


getFolder

   public abstract Folder getFolder() 

Returns the associated folder



getViewedFolder

   public abstract ViewedFolder getViewedFolder(Folder aFolder)  throws MessagingException

Returns the ViewedFolder associated with the given folder. The Folder object inside the ViewedFolder may not be the same as the object passed in, but it will always represent the same folder



getMessageCount

   public abstract int getMessageCount() 

Get cached message count data, since some protocols will hit the server for each call.



getUnreadMessageCount

   public abstract int getUnreadMessageCount() 

Get cached unread count, since some protocols will hit the server for each call.



getUndeletedMessageCount

   public abstract int getUndeletedMessageCount() 

Get cached undeleted message count, since some protocols will hit the server for each call.



getNextFolder

   public abstract ViewedFolder getNextFolder() 

Returns the next folder at this level.



getFirstSubFolder

   public abstract ViewedFolder getFirstSubFolder() 

Returns the first subfolder of this folder.



getParentFolder

   public abstract ViewedFolder getParentFolder() 

Returns the parent folder. Returns null for the default folder for a session.



getViewedStore

   public abstract ViewedStore getViewedStore() 

Returns the associated session



isInbox

   public abstract boolean isInbox() 

Returns whether this is an inbox or not



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4