public class NuxeoRepositories extends DefaultComponent
Information is cached, and an initial connection to the repository is needed to get the root folder id.
Constructor and Description |
---|
NuxeoRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
List<NuxeoRepository> |
getRepositories() |
NuxeoRepository |
getRepository(String repositoryId) |
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic NuxeoRepository getRepository(String repositoryId)
public List<NuxeoRepository> getRepositories()
Copyright © 2015 Nuxeo SA. All rights reserved.