|
||||||||||
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 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.).
Method Summary | |
char |
getFolderSeparator()
Returns the folder separator in use as char. |
boolean |
isMixedMode()
Tests if the store can hold mixed mode folders. |
JwmaFolder[] |
listFolderMoveTargets()
Returns a JwmaFolder[] containing all folders of the store, that can hold folders, excluding this folder. |
JwmaFolder[] |
listFolders(int type)
Returns a JwmaFolder[] containing all folders on the store of a given type. |
JwmaFolder[] |
listFolders(int type,
boolean subscribed)
Returns a JwmaFolder[] containing all folders on the store of a given type. |
JwmaFolder[] |
listMessageMoveTargets()
Returns a JwmaFolder[] containing all folders of the store, that can hold messages, excluding this folder. |
Method Detail |
public boolean isMixedMode()
public char getFolderSeparator()
public JwmaFolder[] listFolders(int 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.
JwmaFolder
public JwmaFolder[] listFolders(int type, boolean subscribed)
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.
type
- the type of folder as int.subscribed
- true if observe subscription, false otherwise.
JwmaFolder
public JwmaFolder[] listFolderMoveTargets()
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.
JwmaFolder
public JwmaFolder[] listMessageMoveTargets()
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.
JwmaFolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |