public interface CatalogRepository
Repository where the CatalogService stores its TransactionId Mapping and serializes its Catalogs
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) |
void serializeCatalog(Catalog catalog) throws CatalogRepositoryException
catalog
- The Catalog to be serializedCatalogRepositoryException
- Any Errorvoid deleteSerializedCatalog(String catalogUrn) throws CatalogRepositoryException
catalogUrn
- The URN that unique represents the Catalog to be removedpreserveMapping
- If true, don't erase TransactionId mapping for this catalogCatalogRepositoryException
- Any ErrorSet<Catalog> deserializeAllCatalogs() throws CatalogRepositoryException
CatalogRepositoryException
- Any Errorvoid serializePluginURLs(List<PluginURL> urls) throws CatalogRepositoryException
CatalogRepositoryException
List<PluginURL> deserializePluginURLs() throws CatalogRepositoryException
CatalogRepositoryException
boolean isModifiable() throws CatalogRepositoryException
CatalogRepositoryException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.