public abstract class StorageManager extends Object
StorageManager to perform actions on physical files based on the drive type.| Constructor and Description |
|---|
StorageManager() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
delete(ResourceIdentifier target)
Deletes the resource.
|
abstract boolean |
doesObjectExist(DigitalAsset asset) |
abstract List<com.orchestranetworks.addon.dama.ext.bean.DigitalAssetInformation> |
getAllDigitalAssetInformation(String driveId) |
abstract ResourceIdentifierFactory |
getIdentifierFactory()
Returns the resource identifier factory.
|
abstract MediaContent |
getMediaContent(DigitalAsset asset)
Returns the media content of a digital asset.
|
abstract MediaContent |
getMediaContent(DigitalAssetVersion version)
Returns the media content of a version.
|
abstract ResourceIdentifier |
upload(Resource resource,
ResourceIdentifier target)
Uploads a resource to a target source.
|
public abstract ResourceIdentifier upload(Resource resource, ResourceIdentifier target) throws DAMException
resource - the resourcetarget - the targetDAMExceptionpublic abstract boolean delete(ResourceIdentifier target) throws DAMException
target - the targetDAMExceptionpublic abstract MediaContent getMediaContent(DigitalAsset asset) throws DAMException
DAMExceptionpublic abstract MediaContent getMediaContent(DigitalAssetVersion version) throws DAMException
DAMExceptionpublic abstract ResourceIdentifierFactory getIdentifierFactory() throws DAMException
DAMExceptionpublic abstract boolean doesObjectExist(DigitalAsset asset) throws DAMException
DAMExceptionpublic abstract List<com.orchestranetworks.addon.dama.ext.bean.DigitalAssetInformation> getAllDigitalAssetInformation(String driveId) throws DAMException
DAMException