public interface ContentResource
| Modifier and Type | Method and Description |
|---|---|
String |
addContent(String spaceID,
String contentID,
InputStream content,
String contentMimeType,
Map<String,String> userProperties,
long contentSize,
String checksum,
String storeID) |
String |
copyContent(String srcStoreID,
String srcSpaceID,
String srcContentID,
String destStoreID,
String destSpaceID,
String destContentID) |
void |
deleteContent(String spaceID,
String contentID,
String storeID) |
org.duracloud.storage.domain.RetrievedContent |
getContent(String spaceID,
String contentID,
String storeID,
String range) |
Map<String,String> |
getContentProperties(String spaceID,
String contentID,
String storeID) |
void |
updateContentProperties(String spaceID,
String contentID,
String contentMimeType,
Map<String,String> userProperties,
String storeID) |
org.duracloud.storage.domain.RetrievedContent getContent(String spaceID, String contentID, String storeID, String range) throws org.duracloud.storage.error.InvalidRequestException, ResourceException
org.duracloud.storage.error.InvalidRequestExceptionResourceExceptionMap<String,String> getContentProperties(String spaceID, String contentID, String storeID) throws ResourceException
ResourceExceptionvoid updateContentProperties(String spaceID, String contentID, String contentMimeType, Map<String,String> userProperties, String storeID) throws ResourceException
ResourceExceptionString addContent(String spaceID, String contentID, InputStream content, String contentMimeType, Map<String,String> userProperties, long contentSize, String checksum, String storeID) throws ResourceException, org.duracloud.storage.error.InvalidIdException
ResourceExceptionorg.duracloud.storage.error.InvalidIdExceptionString copyContent(String srcStoreID, String srcSpaceID, String srcContentID, String destStoreID, String destSpaceID, String destContentID) throws ResourceException
ResourceExceptionvoid deleteContent(String spaceID, String contentID, String storeID) throws ResourceException
ResourceExceptionCopyright © 2009–2018 DuraSpace. All rights reserved.