public class SpringCatalogRepository extends Object implements CatalogRepository
A Spring Framework based CatalogRepository
Constructor and Description |
---|
SpringCatalogRepository(String beanRepo) |
Modifier and Type | Method and Description |
---|---|
void |
deleteSerializedCatalog(String catalogUrn)
Removes a Catalog from the Repository
|
Set<Catalog> |
deserializeAllCatalogs()
Loads all Catalogs serialized in this Repository
|
List<PluginURL> |
deserializePluginURLs() |
boolean |
isModifiable() |
void |
serializeCatalog(Catalog catalog)
Serializes a given Catalog to the Repository
|
void |
serializePluginURLs(List<PluginURL> urls) |
protected String beanRepo
public SpringCatalogRepository(String beanRepo)
public Set<Catalog> deserializeAllCatalogs() throws CatalogRepositoryException
CatalogRepository
deserializeAllCatalogs
in interface CatalogRepository
CatalogRepositoryException
- Any Errorpublic void deleteSerializedCatalog(String catalogUrn) throws CatalogRepositoryException
CatalogRepository
deleteSerializedCatalog
in interface CatalogRepository
catalogUrn
- The URN that unique represents the Catalog to be removedCatalogRepositoryException
- Any Errorpublic boolean isModifiable() throws CatalogRepositoryException
isModifiable
in interface CatalogRepository
CatalogRepositoryException
public void serializeCatalog(Catalog catalog) throws CatalogRepositoryException
CatalogRepository
serializeCatalog
in interface CatalogRepository
catalog
- The Catalog to be serializedCatalogRepositoryException
- Any Errorpublic List<PluginURL> deserializePluginURLs() throws CatalogRepositoryException
deserializePluginURLs
in interface CatalogRepository
CatalogRepositoryException
public void serializePluginURLs(List<PluginURL> urls) throws CatalogRepositoryException
serializePluginURLs
in interface CatalogRepository
CatalogRepositoryException
Copyright © 1999-2014 Apache OODT. All Rights Reserved.