Class AssetManager

java.lang.Object
com.orchestranetworks.addon.dama.ext.AssetManager

public final class AssetManager extends Object
Provide functions to support managing digital asset
Since:
2.0.0
  • Constructor Details

    • AssetManager

      public AssetManager(com.orchestranetworks.instance.Repository damRepository)
  • Method Details

    • getDigitalAsset

      public DigitalAsset getDigitalAsset(String assetUUID) throws DAMException
      Lookup the digital asset in DAM repository by UUID
      Parameters:
      assetUUID - UUID of the asset
      Returns:
      The DigitalAsset matching the assetUUID
      Throws:
      DAMException - in case the repository is not setup or no asset is match with the assetUUID
    • 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 the dataspace