Interface DriveManager
public interface DriveManager
Defines a 
DriveManager to perform operations on digital assets.- Since:
 - 1.6.0
 
- 
Method Summary
Modifier and TypeMethodDescriptioncreate(FolderSpec folderSpec) Creates the newFolderfollowingFolderSpec.create(GeneralDigitalAssetSpec assetSpec) Creates the newDigitalAssetfollowing theDigitalAssetSpecor theRemoteDigitalAssetSpec.create(GeneralDigitalAssetVersionSpec versionSpec) Creates the newDigitalAssetVersionfollowingDigitalAssetVersionSpecor theRemoteDigitalAssetVersionSpec.delete(DigitalAssetKey key) Deletes a digital asset.Deletes a digital asset version.Updates a digital asset version.delete(List<DigitalAssetKey> keys) Deletes digital assets.Returns the digital asset by digital asset key.Returns the active digital assets in the drive.getMediaContent(DigitalAsset asset) Gets the media content of a digital asset.getMediaContent(DigitalAssetVersion version) Gets the media content of a version.search(SearchFilter searchFilter) Searches for a digital asset using a search filter.update(DigitalAsset asset) Updates a digital asset.update(DigitalAssetVersion version) Updates a digital asset version.update(com.orchestranetworks.addon.dama.ext.bean.ModifyFolderSpec modifyFolderSpec) Updates a folder. 
- 
Method Details
- 
create
Creates the newDigitalAssetfollowing theDigitalAssetSpecor theRemoteDigitalAssetSpec.- Parameters:
 assetSpec- the specification of the new digital asset- Returns:
 - the digital asset
 - Throws:
 DAMException
 - 
create
Creates the newDigitalAssetVersionfollowingDigitalAssetVersionSpecor theRemoteDigitalAssetVersionSpec.- Parameters:
 versionSpec- the specification of the new digital asset version- Returns:
 - the digital asset version
 - Throws:
 DAMException
 - 
delete
Deletes a digital asset.- Parameters:
 key- the digital asset key- Returns:
 - the operation execution status
 
 - 
delete
Deletes digital assets.- Parameters:
 keys- the list of digital asset key- Returns:
 - the operation execution status
 
 - 
delete
Deletes a digital asset version.- Parameters:
 key- the digital asset version key- Returns:
 - the operation execution status
 
 - 
update
Updates a digital asset.- Parameters:
 asset- the asset- Returns:
 - the operation execution status
 
 - 
update
Updates a digital asset version.- Parameters:
 version- the version- Returns:
 - the operation execution status
 
 - 
search
Searches for a digital asset using a search filter.- Parameters:
 searchFilter- the search filter- Returns:
 - the list of digital assets
 - Throws:
 DAMException
 - 
getDigitalAssets
Returns the active digital assets in the drive.- Throws:
 DAMException
 - 
getDigitalAsset
Returns the digital asset by digital asset key.- Parameters:
 key- the key- Returns:
 - the digital asset
 - Throws:
 DAMException
 - 
getMediaContent
Gets the media content of a digital asset.- Parameters:
 asset- the digital asset- Returns:
 - the media content
 - Throws:
 DAMException
 - 
getMediaContent
Gets the media content of a version.- Parameters:
 version- the digital asset version- Returns:
 - the media content
 - Throws:
 DAMException
 - 
create
Creates the newFolderfollowingFolderSpec.- Parameters:
 folderSpec- the specification of the new digital asset version- Returns:
 - the Folder
 - Throws:
 DAMException- Since:
 - 6.1.1
 
 - 
update
OperationExecutionStatus update(com.orchestranetworks.addon.dama.ext.bean.ModifyFolderSpec modifyFolderSpec) Updates a folder.- Parameters:
 modifyFolderSpec- the folder- Returns:
 - the operation execution status
 - Since:
 - 6.1.1
 
 - 
delete
Updates a digital asset version.- Parameters:
 key- of Folder- Returns:
 - the operation execution status
 - Since:
 - 6.1.1
 
 
 -