|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects representing a Repository of FolderRecords. There should be a RecordRepository for every Host.
Note that there is no method for removing Records: an IMAP host is meant to retain information about deleted folders.
FolderRecord
Field Summary | |
static java.lang.String |
RECORD
|
Method Summary | |
boolean |
containsRecord(java.lang.String folderAbsoluteName)
Tests if there is a folder record for the given folder name. |
java.util.Iterator |
getAbsoluteNames()
Returns Iterator over names of folders in repository |
FolderRecord |
retrieve(java.lang.String folderAbsoluteName)
Retrieves a folder record given the folder's full name. |
void |
setPath(java.lang.String rootPath)
Sets the location of this repository. |
void |
store(FolderRecord fr)
Stores a folder record in this repository. |
Field Detail |
public static final java.lang.String RECORD
Method Detail |
public void setPath(java.lang.String rootPath)
rootPath
- String location of this repositorypublic void store(FolderRecord fr)
fr
- FolderRecord to be storedpublic java.util.Iterator getAbsoluteNames()
public FolderRecord retrieve(java.lang.String folderAbsoluteName)
folderAbsoluteName
- String name of a folderpublic boolean containsRecord(java.lang.String folderAbsoluteName)
folderAbsoluteName
- String name of a folder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |