Class AssetManager
java.lang.Object
com.orchestranetworks.addon.dama.ext.AssetManager
Provide functions to support managing digital asset
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDigitalAsset
(String assetUUID) Lookup the digital asset in DAM repository by UUIDgetDigitalAssetVersionByDataspace
(com.onwbp.adaptation.AdaptationHome dataspace, DigitalAsset digitalAsset) Lookup the current version of digital asset in Dataspace by UUID
-
Constructor Details
-
AssetManager
public AssetManager(com.orchestranetworks.instance.Repository damRepository)
-
-
Method Details
-
getDigitalAsset
Lookup the digital asset in DAM repository by UUID- Parameters:
assetUUID
- UUID of the asset- Returns:
- The
DigitalAsset
matching theassetUUID
- Throws:
DAMException
- in case the repository is not setup or no asset is match with theassetUUID
-
getDigitalAssetVersionByDataspace
public DigitalAssetVersion getDigitalAssetVersionByDataspace(com.onwbp.adaptation.AdaptationHome dataspace, DigitalAsset digitalAsset) Lookup the current version of digital asset in Dataspace by UUID- Parameters:
dataspace
-AdaptationHome
The Dataspace of the Digital asset version- Returns:
- The current version
DigitalAssetVersion
of the Digital asset in thedataspace
-