public interface StatelessStorageProvider
| Modifier and Type | Method and Description |
|---|---|
String |
addContent(StorageProvider targetProvider,
String storeId,
String spaceId,
String contentId,
String contentMimeType,
Map<String,String> userProperties,
long contentSize,
String contentChecksum,
InputStream content) |
String |
copyContent(StorageProvider targetProvider,
String storeId,
String sourceSpaceId,
String sourceContentId,
String destSpaceId,
String destContentId) |
void |
createSpace(StorageProvider targetProvider,
String storeId,
String spaceId) |
void |
deleteContent(StorageProvider targetProvider,
String storeId,
String spaceId,
String contentId) |
void |
deleteSpace(StorageProvider targetProvider,
String storeId,
String spaceId) |
InputStream |
getContent(StorageProvider targetProvider,
String storeId,
String spaceId,
String contentId) |
Map<String,String> |
getContentProperties(StorageProvider targetProvider,
String storeId,
String spaceId,
String contentId) |
Map<String,AclType> |
getSpaceACLs(StorageProvider targetProvider,
String storeId,
String spaceId) |
Iterator<String> |
getSpaceContents(StorageProvider targetProvider,
String storeId,
String spaceId,
String prefix) |
List<String> |
getSpaceContentsChunked(StorageProvider targetProvider,
String storeId,
String spaceId,
String prefix,
long maxResults,
String marker) |
Map<String,String> |
getSpaceProperties(StorageProvider targetProvider,
String storeId,
String spaceId) |
Iterator<String> |
getSpaces(StorageProvider targetProvider,
String storeId) |
org.duracloud.storage.domain.StorageProviderType |
getStorageProviderType(StorageProvider targetProvider) |
void |
setContentProperties(StorageProvider targetProvider,
String storeId,
String spaceId,
String contentId,
Map<String,String> contentProperties) |
void |
setSpaceACLs(StorageProvider targetProvider,
String storeId,
String spaceId,
Map<String,AclType> spaceACLs) |
org.duracloud.storage.domain.StorageProviderType getStorageProviderType(StorageProvider targetProvider)
String addContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId, String contentMimeType, Map<String,String> userProperties, long contentSize, String contentChecksum, InputStream content) throws StorageException
StorageExceptionString copyContent(StorageProvider targetProvider, String storeId, String sourceSpaceId, String sourceContentId, String destSpaceId, String destContentId) throws StorageException
StorageExceptionvoid createSpace(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageExceptionvoid deleteContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageExceptionvoid deleteSpace(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageExceptionInputStream getContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageExceptionMap<String,String> getContentProperties(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageExceptionIterator<String> getSpaceContents(StorageProvider targetProvider, String storeId, String spaceId, String prefix) throws StorageException
StorageExceptionList<String> getSpaceContentsChunked(StorageProvider targetProvider, String storeId, String spaceId, String prefix, long maxResults, String marker) throws StorageException
StorageExceptionMap<String,String> getSpaceProperties(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageExceptionMap<String,AclType> getSpaceACLs(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageExceptionIterator<String> getSpaces(StorageProvider targetProvider, String storeId) throws StorageException
StorageExceptionvoid setContentProperties(StorageProvider targetProvider, String storeId, String spaceId, String contentId, Map<String,String> contentProperties) throws StorageException
StorageExceptionvoid setSpaceACLs(StorageProvider targetProvider, String storeId, String spaceId, Map<String,AclType> spaceACLs) throws StorageException
StorageExceptionCopyright © 2009–2017 DuraSpace. All rights reserved.