| dtw.webmail.model.JwmaStoreInfo
All known Subclasses: dtw.webmail.model.JwmaStoreImpl,
JwmaStoreInfo | public interface JwmaStoreInfo (Code) | | An interface defining the contract for interaction with
the JwmaStoreInfo model.
The JwmaStoreInfo allows a view programmer to obtain
information regarding the mail store (such as the mode,
the folder separator in use etc.).
author: Dieter Wimberger version: 0.9.7 07/02/2003 |
Method Summary | |
public char | getFolderSeparator() Returns the folder separator in use as char. | public boolean | isMixedMode() Tests if the store can hold mixed mode folders. | public JwmaFolder[] | listFolderMoveTargets() Returns a JwmaFolder[] containing all folders
of the store, that can hold folders, excluding this folder. | public JwmaFolder[] | listFolders(int type) Returns a JwmaFolder[] containing all
folders on the store of a given type.
If the store does not contain any folders of the given type,
then this method returns an empty array. | public JwmaFolder[] | listFolders(int type, boolean subscribed) Returns a JwmaFolder[] containing all
folders on the store of a given type.
Note that this method will observe subscription if
the passed in parameter is true.
If the store does not contain any folders of the given type,
then this method returns an empty array. | public JwmaFolder[] | listMessageMoveTargets() Returns a JwmaFolder[] containing all folders
of the store, that can hold messages, excluding this folder. |
getFolderSeparator | public char getFolderSeparator()(Code) | | Returns the folder separator in use as char.
the folder separator character. |
isMixedMode | public boolean isMixedMode()(Code) | | Tests if the store can hold mixed mode folders.
true if it can hold mixed mode folders,false otherwise. |
listFolderMoveTargets | public JwmaFolder[] listFolderMoveTargets()(Code) | | Returns a JwmaFolder[] containing all folders
of the store, that can hold folders, excluding this folder.
If the store does not contain any folders, then this method
returns an empty array (which means something is wrong!;).
Otherwise it contains one JwmaFolder for each
folder on the store, excluding this folder.
a JwmaFolder[] containing all foldersin the store that can hold folders, excluding this one.The array will be empty if there are no such folders. See Also: dtw.webmail.model.JwmaFolder |
listFolders | public JwmaFolder[] listFolders(int type)(Code) | | Returns a JwmaFolder[] containing all
folders on the store of a given type.
If the store does not contain any folders of the given type,
then this method returns an empty array. Otherwise it contains
one JwmaFolder for each folder on the store of
the given type.
a JwmaFolder[] naming all folders ofgiven type on the store. The array will be empty ifthere are no such folders. See Also: dtw.webmail.model.JwmaFolder |
listFolders | public JwmaFolder[] listFolders(int type, boolean subscribed)(Code) | | Returns a JwmaFolder[] containing all
folders on the store of a given type.
Note that this method will observe subscription if
the passed in parameter is true.
If the store does not contain any folders of the given type,
then this method returns an empty array. Otherwise it contains
one JwmaFolder for each folder on the store of
the given type.
Parameters: type - the type of folder as int. Parameters: subscribed - true if observe subscription, false otherwise. a JwmaFolder[] naming all folders ofgiven type on the store. The array will be empty ifthere are no such folders. See Also: dtw.webmail.model.JwmaFolder |
listMessageMoveTargets | public JwmaFolder[] listMessageMoveTargets()(Code) | | Returns a JwmaFolder[] containing all folders
of the store, that can hold messages, excluding this folder.
If the store does not contain any folders, then this method
returns an empty array (which means something is wrong!;).
Otherwise it contains one JwmaFolder for each
folder on the store, excluding this folder.
a JwmaFolder[] containing all foldersin the store that can hold messages, excluding this one.The array will be empty if there are no such folders. See Also: dtw.webmail.model.JwmaFolder |
|
|