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 targetDAMException
public abstract boolean delete(ResourceIdentifier target) throws DAMException
target
- the targetDAMException
public abstract MediaContent getMediaContent(DigitalAsset asset) throws DAMException
DAMException
public abstract MediaContent getMediaContent(DigitalAssetVersion version) throws DAMException
DAMException
public abstract ResourceIdentifierFactory getIdentifierFactory() throws DAMException
DAMException
public abstract boolean doesObjectExist(DigitalAsset asset) throws DAMException
DAMException
public abstract List<com.orchestranetworks.addon.dama.ext.bean.DigitalAssetInformation> getAllDigitalAssetInformation(String driveId) throws DAMException
DAMException