public interface ContentStoreManager
extends org.duracloud.common.model.Securable
Modifier and Type | Method and Description |
---|---|
ContentStore |
getContentStore(String storeID)
getContentStore
|
Map<String,ContentStore> |
getContentStores()
getContentStores
|
ContentStore |
getPrimaryContentStore()
getPrimaryContentStore
|
ContentStore |
getPrimaryContentStoreAsAnonymous()
Provides access to the primary content store without requiring login().
|
void |
reinitialize(String host,
String port,
String context)
reconfigure
|
Map<String,ContentStore> getContentStores() throws ContentStoreException
getContentStores
ContentStoreException
- if the content store list cannot be retrievedContentStore getContentStore(String storeID) throws ContentStoreException
getContentStore
storeID
- the ID of a particular content storeContentStoreException
- if the content store cannot be retrievedContentStore getPrimaryContentStore() throws ContentStoreException
getPrimaryContentStore
if
- the content store cannot be retrievedContentStoreException
ContentStore getPrimaryContentStoreAsAnonymous() throws ContentStoreException
getPrimaryContentStoreAsAnonymous
if
- the content store cannot be retrievedContentStoreException
void reinitialize(String host, String port, String context) throws ContentStoreException
reconfigure
host
- of durastoreport
- of durastorecontext
- of durastoreContentStoreException
Copyright © 2009-2012 DuraSpace. All Rights Reserved.