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) |
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) |
String addContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId, String contentMimeType, Map<String,String> userProperties, long contentSize, String contentChecksum, InputStream content) throws StorageException
StorageException
String copyContent(StorageProvider targetProvider, String storeId, String sourceSpaceId, String sourceContentId, String destSpaceId, String destContentId) throws StorageException
StorageException
void createSpace(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageException
void deleteContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageException
void deleteSpace(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageException
InputStream getContent(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageException
Map<String,String> getContentProperties(StorageProvider targetProvider, String storeId, String spaceId, String contentId) throws StorageException
StorageException
Iterator<String> getSpaceContents(StorageProvider targetProvider, String storeId, String spaceId, String prefix) throws StorageException
StorageException
List<String> getSpaceContentsChunked(StorageProvider targetProvider, String storeId, String spaceId, String prefix, long maxResults, String marker) throws StorageException
StorageException
Map<String,String> getSpaceProperties(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageException
Map<String,AclType> getSpaceACLs(StorageProvider targetProvider, String storeId, String spaceId) throws StorageException
StorageException
Iterator<String> getSpaces(StorageProvider targetProvider, String storeId) throws StorageException
StorageException
void setContentProperties(StorageProvider targetProvider, String storeId, String spaceId, String contentId, Map<String,String> contentProperties) throws StorageException
StorageException
void setSpaceACLs(StorageProvider targetProvider, String storeId, String spaceId, Map<String,AclType> spaceACLs) throws StorageException
StorageException
Copyright © 2009–2014 DuraSpace. All rights reserved.