|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryManager
Manage repositories. TODO: This should be merged with the RepositoryManager from the core module
Method Summary | |
---|---|
void |
addRepository(Repository repository)
Registers a new repository. |
void |
clear()
Unregisters all repositories. |
Repository |
getDefaultRepository()
Gets the default repository. |
Collection<Repository> |
getRepositories()
Gets all registered repositories. |
Repository |
getRepository(String name)
Gets a repository by its name. |
void |
removeRepository(String name)
Removes a registered repository. |
Method Detail |
---|
Collection<Repository> getRepositories()
Repository getRepository(String name)
name
- the repository name
void addRepository(Repository repository)
repository
- the repository to registervoid removeRepository(String name)
Do nothing if the repository is not registered.
name
- the repository name to unregistervoid clear()
Repository getDefaultRepository()
If there is not a default repository returns the first registered. repository
This is a convenient method to get the repository for application having a single repository.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |