public interface CatalogService
An interface for a Metadata Catalog Manager Service
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_ID_MET_KEY |
static String |
CATALOG_IDS_MET_KEY |
static String |
CATALOG_SERVICE_TRANSACTION_ID_MET_KEY |
static String |
CATALOG_TRANSACTION_ID_MET_KEY |
static String |
ENABLE_UPDATE_MET_KEY |
static final String CATALOG_SERVICE_TRANSACTION_ID_MET_KEY
static final String CATALOG_IDS_MET_KEY
static final String ENABLE_UPDATE_MET_KEY
static final String CATALOG_TRANSACTION_ID_MET_KEY
static final String CATALOG_ID_MET_KEY
void shutdown() throws CatalogServiceException
CatalogServiceException
boolean isRestrictQueryPermissions() throws CatalogServiceException
CatalogServiceException
boolean isRestrictIngestPermissions() throws CatalogServiceException
CatalogServiceException
void addCatalog(Catalog catalog) throws CatalogServiceException
CatalogServiceException
void replaceCatalog(Catalog catalog) throws CatalogServiceException
CatalogServiceException
void addCatalog(String catalogId, Index index) throws CatalogServiceException
CatalogServiceException
void addCatalog(String catalogId, Index index, List<Dictionary> dictionaries) throws CatalogServiceException
CatalogServiceException
void addCatalog(String catalogId, Index index, List<Dictionary> dictionaries, boolean restrictQueryPermission, boolean restrictIngestPermission) throws CatalogServiceException
CatalogServiceException
void addDictionary(String catalogId, Dictionary dictionary) throws CatalogServiceException
CatalogServiceException
void replaceDictionaries(String catalogId, List<Dictionary> dictionaries) throws CatalogServiceException
CatalogServiceException
void replaceIndex(String catalogId, Index index) throws CatalogServiceException
CatalogServiceException
void modifyIngestPermission(String catalogId, boolean restrictIngestPermission) throws CatalogServiceException
CatalogServiceException
void modifyQueryPermission(String catalogId, boolean restrictQueryPermission) throws CatalogServiceException
CatalogServiceException
void removeCatalog(String catalogId) throws CatalogServiceException
CatalogServiceException
URL getPluginStorageDir() throws CatalogServiceException
CatalogServiceException
List<PluginURL> getPluginUrls() throws CatalogServiceException
CatalogServiceException
void addPluginUrls(List<PluginURL> pluginURLs) throws CatalogServiceException
CatalogServiceException
Set<String> getCurrentCatalogIds() throws CatalogServiceException
CatalogServiceException
TransactionReceipt ingest(Metadata metadata) throws CatalogServiceException
CatalogServiceException
void delete(Metadata metadata) throws CatalogServiceException
CatalogServiceException
List<String> getProperty(String key) throws CatalogServiceException
CatalogServiceException
Properties getCalalogProperties() throws CatalogServiceException
CatalogServiceException
Properties getCalalogProperties(String catalogUrn) throws CatalogServiceException
CatalogServiceException
Page getNextPage(Page page) throws CatalogServiceException
CatalogServiceException
Page getPage(PageInfo pageInfo, QueryExpression queryExpression) throws CatalogServiceException
CatalogServiceException
Page getPage(PageInfo pageInfo, QueryExpression queryExpression, Set<String> catalogIds) throws CatalogServiceException
CatalogServiceException
List<TransactionalMetadata> getMetadata(Page page) throws CatalogServiceException
CatalogServiceException
QueryPager query(QueryExpression queryExpression) throws CatalogServiceException
CatalogServiceException
QueryPager query(QueryExpression queryExpression, Set<String> catalogIds) throws CatalogServiceException
CatalogServiceException
List<TransactionalMetadata> getNextPage(QueryPager queryPager) throws CatalogServiceException
CatalogServiceException
List<TransactionalMetadata> getAllPages(QueryPager queryPager) throws CatalogServiceException
CatalogServiceException
List<TransactionalMetadata> getMetadataFromTransactionIdStrings(List<String> catalogServiceTransactionIdStrings) throws CatalogServiceException
CatalogServiceException
List<TransactionalMetadata> getMetadataFromTransactionIds(List<TransactionId<?>> catalogServiceTransactionIds) throws CatalogServiceException
CatalogServiceException
List<TransactionId<?>> getCatalogServiceTransactionIds(List<TransactionId<?>> catalogTransactionIds, String catalogUrn) throws CatalogServiceException
CatalogServiceException
TransactionId<?> getCatalogServiceTransactionId(TransactionId<?> catalogTransactionId, String catalogUrn) throws CatalogServiceException
CatalogServiceException
TransactionId<?> getCatalogServiceTransactionId(CatalogReceipt catalogReceipt, boolean generateNew) throws CatalogServiceException
CatalogServiceException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.