public class OmxCatalogManagerService extends Object implements CatalogManagerService
| Constructor and Description |
|---|
OmxCatalogManagerService(DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateCatalog(String id)
Activate a catalog
|
void |
deactivateCatalog(String id)
Deactivate a catalog
|
Catalog |
getCatalog(String id)
Get the catalog with the given id
|
Catalog |
getCatalogOfStudyDefinition(String id)
Get the catalog of the study definition with the given id
|
Iterable<CatalogMeta> |
getCatalogs()
Gets all available catalogs
|
boolean |
isCatalogActivated(String id)
Returns whether the catalog with the given id is activated
|
boolean |
isCatalogLoaded(String id)
Returns whether the catalog with the given id is loaded
|
boolean |
isCatalogOfStudyDefinitionLoaded(String id)
Returns whether the catalog for the study definition with the given id is loaded
|
void |
loadCatalog(String id)
Retrieves a catalog and store it in the database
|
void |
loadCatalogOfStudyDefinition(String id)
Retrieves a catalog of a study definition and store it in the database
|
void |
unloadCatalog(String id)
Removes a catalog from the database
|
void |
unloadCatalogOfStudyDefinition(String id)
Retrieves a catalog of a study definition from the database
|
public OmxCatalogManagerService(DataService dataService)
public Iterable<CatalogMeta> getCatalogs()
CatalogServicegetCatalogs in interface CatalogServicepublic Catalog getCatalog(String id) throws UnknownCatalogException
CatalogServicegetCatalog in interface CatalogServiceid - catalog idUnknownCatalogExceptionpublic Catalog getCatalogOfStudyDefinition(String id) throws UnknownCatalogException, UnknownStudyDefinitionException
CatalogServicegetCatalogOfStudyDefinition in interface CatalogServiceid - study definition idUnknownCatalogExceptionUnknownStudyDefinitionExceptionpublic void loadCatalog(String id) throws UnknownCatalogException
CatalogManagerServiceloadCatalog in interface CatalogManagerServiceUnknownCatalogExceptionpublic void unloadCatalog(String id) throws UnknownCatalogException
CatalogManagerServiceunloadCatalog in interface CatalogManagerServiceUnknownCatalogExceptionpublic boolean isCatalogLoaded(String id) throws UnknownCatalogException
CatalogServiceisCatalogLoaded in interface CatalogServiceUnknownCatalogExceptionpublic boolean isCatalogActivated(String id) throws UnknownCatalogException
CatalogServiceisCatalogActivated in interface CatalogServiceUnknownCatalogExceptionpublic void loadCatalogOfStudyDefinition(String id) throws UnknownCatalogException, UnknownStudyDefinitionException
CatalogManagerServiceloadCatalogOfStudyDefinition in interface CatalogManagerServiceUnknownCatalogExceptionUnknownStudyDefinitionExceptionpublic void unloadCatalogOfStudyDefinition(String id) throws UnknownCatalogException, UnknownStudyDefinitionException
CatalogManagerServiceunloadCatalogOfStudyDefinition in interface CatalogManagerServiceUnknownCatalogExceptionUnknownStudyDefinitionExceptionpublic boolean isCatalogOfStudyDefinitionLoaded(String id) throws UnknownCatalogException, UnknownStudyDefinitionException
CatalogServiceisCatalogOfStudyDefinitionLoaded in interface CatalogServiceUnknownCatalogExceptionUnknownStudyDefinitionExceptionpublic void deactivateCatalog(String id) throws UnknownCatalogException
CatalogManagerServicedeactivateCatalog in interface CatalogManagerServiceUnknownCatalogExceptionpublic void activateCatalog(String id) throws UnknownCatalogException
CatalogManagerServiceactivateCatalog in interface CatalogManagerServiceUnknownCatalogExceptionCopyright © 2014. All Rights Reserved.