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) |
InputStream |
getContent(String spaceID,
String contentID,
String storeID) |
Map<String,String> |
getContentProperties(String spaceID,
String contentID,
String storeID) |
void |
updateContentProperties(String spaceID,
String contentID,
String contentMimeType,
Map<String,String> userProperties,
String storeID) |
InputStream getContent(String spaceID, String contentID, String storeID) throws ResourceException
ResourceException
Map<String,String> getContentProperties(String spaceID, String contentID, String storeID) throws ResourceException
ResourceException
void updateContentProperties(String spaceID, String contentID, String contentMimeType, Map<String,String> userProperties, String storeID) throws ResourceException
ResourceException
String addContent(String spaceID, String contentID, InputStream content, String contentMimeType, Map<String,String> userProperties, long contentSize, String checksum, String storeID) throws ResourceException, InvalidIdException
ResourceException
InvalidIdException
String copyContent(String srcStoreID, String srcSpaceID, String srcContentID, String destStoreID, String destSpaceID, String destContentID) throws ResourceException
ResourceException
void deleteContent(String spaceID, String contentID, String storeID) throws ResourceException
ResourceException
Copyright © 2009–2014 DuraSpace. All rights reserved.