|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A list for repository information. This list is provided for those who do not want to use the streaming approach provided by the RepositoryListListener. The RepositoryListBuilder can be used to build the lists.
RepositoryListImpl| Method Summary | |
void |
addRepository(RepositoryInfo repInfo)
Adds info about a repository to this list. |
void |
addRepository(String id,
String title,
boolean readable,
boolean writeable)
Adds info about a repository to this list. |
List |
getReadableRepositories()
Gets a list of the repositories that are marked as being readable. |
List |
getReadWriteRepositories()
Gets a list of the repositories that are marked as being both readable and writable. |
List |
getRepositories()
Gets a list of RepositoryInfo objects containing info about all available repositories. |
RepositoryInfo |
getRepository(String repositoryId)
Gets the information about the repository with the specified ID. |
int |
getRepositoryCount()
Gets the number of repositories in this list. |
List |
getWritableRepositories()
Gets a list of the repositories that are marked as being writable. |
| Method Detail |
public int getRepositoryCount()
public List getRepositories()
RepositoryInfopublic List getReadableRepositories()
RepositoryInfopublic List getWritableRepositories()
RepositoryInfopublic List getReadWriteRepositories()
RepositoryInfopublic RepositoryInfo getRepository(String repositoryId)
public void addRepository(String id,
String title,
boolean readable,
boolean writeable)
id - The repository's ID.title - The repository's title.readable - Flag indicating whether the repository is
readable.writeable - Flag indicating whether the repository is
writeable.public void addRepository(RepositoryInfo repInfo)
repInfo - A RepositoryInfo object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||