public interface ContentStoreManager extends Securable
Modifier and Type | Method and Description |
---|---|
ContentStore |
getContentStore(String storeID)
Gets a specific content store based on ID.
|
ContentStore |
getContentStore(String storeID,
int maxRetries)
Gets a specific content store based on ID.
|
Map<String,ContentStore> |
getContentStores()
Gets all available content stores.
|
Map<String,ContentStore> |
getContentStores(int maxRetries)
Gets all available content stores.
|
ContentStore |
getPrimaryContentStore()
Gets the primary content store.
|
ContentStore |
getPrimaryContentStore(int maxRetries)
Gets the primary content store.
|
ContentStore |
getPrimaryContentStoreAsAnonymous()
Provides access to the primary content store without requiring login().
|
ContentStore |
getPrimaryContentStoreAsAnonymous(int maxRetries)
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
ContentStoreException
- if the content store list cannot be retrievedMap<String,ContentStore> getContentStores(int maxRetries) throws ContentStoreException
maxRetries
- number of retries to perform if a content store call failsContentStoreException
- if the content store list cannot be retrievedContentStore getContentStore(String storeID) throws ContentStoreException
storeID
- the ID of a particular content storeContentStoreException
- if the content store cannot be retrievedContentStore getContentStore(String storeID, int maxRetries) throws ContentStoreException
storeID
- the ID of a particular content storemaxRetries
- number of retries to perform if a content store call failsContentStoreException
- if the content store cannot be retrievedContentStore getPrimaryContentStore() throws ContentStoreException
if
- the content store cannot be retrievedContentStoreException
ContentStore getPrimaryContentStore(int maxRetries) throws ContentStoreException
maxRetries
- number of retries to perform if a content store call failsif
- the content store cannot be retrievedContentStoreException
ContentStore getPrimaryContentStoreAsAnonymous() throws ContentStoreException
if
- the content store cannot be retrievedContentStoreException
ContentStore getPrimaryContentStoreAsAnonymous(int maxRetries) throws ContentStoreException
maxRetries
- number of retries to perform if a content store call failsif
- 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–2014 DuraSpace. All rights reserved.