Interface NextGenDynamicMediaConfig


public interface NextGenDynamicMediaConfig
Provides configuration properties for the Next Generation Dynamic Media integration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the configuration/feature is enabled.
    Gets the API key for accessing the asset selectors UI
    Gets the path expression for getting the metadata of an asset.
    Gets the path expression for the the Original Asset Delivery which delivers the bitstream as-is {asset-id} - the uuid of the asset in the format 'urn:aaid:aem:UUID', e.g.
    Gets the absolute URL for the javascript which contains the microfrontend for the remote asset selector.
    Gets the environment string which should be 'PROD' or 'STAGE'
    Gets the path expression for the image delivery path.
    Gets the IMS client identifier
    Deprecated.
    No replacement.
    Deprecated.
    No replacement.
    Gets the Next Generation Dynamic Media tenant (also known technically as the repository Id) This would typically be a host name with the format 'delivery-pXX-eYY.adobeaemcloud.com' for PROD environments and 'delivery-pXX-eYY-smstg.adobeaemcloud.com' for STAGE environments.
    Gets the path expression for the adaptive video manifest/player path.
  • Method Details

    • enabled

      boolean enabled()
      Checks if the configuration/feature is enabled.
      Returns:
      true if enabled and false otherwise
    • getRepositoryId

      String getRepositoryId()
      Gets the Next Generation Dynamic Media tenant (also known technically as the repository Id) This would typically be a host name with the format 'delivery-pXX-eYY.adobeaemcloud.com' for PROD environments and 'delivery-pXX-eYY-smstg.adobeaemcloud.com' for STAGE environments.
      Returns:
      the repository id
    • getApiKey

      String getApiKey()
      Gets the API key for accessing the asset selectors UI
      Returns:
      the API key for accessing the asset selectors UI
    • getEnv

      String getEnv()
      Gets the environment string which should be 'PROD' or 'STAGE'
      Returns:
      the environment string
    • getImsOrg

      @Deprecated String getImsOrg()
      Deprecated.
      No replacement. IMS Org need not be sent to discovery service. The access is determined based on the repository ID.
      Gets the Adobe IMS Organization ID the user is a part of
      Returns:
      the Adobe IMS Organization ID the user is a part of
    • getImsEnv

      @Deprecated String getImsEnv()
      Deprecated.
      No replacement. IMSenv is an invalid property from asset selector's point of view. The IMS environment is determined solely on the basis of env property which accepts values as STAGE or PROD.
      Gets the IMS environment string which should be "prd" for IMS PROD environments and "stg1" for IMS STAGE environments
      Returns:
      the IMS environment string
    • getImsClient

      String getImsClient()
      Gets the IMS client identifier
      Returns:
      the IMS client identifier
    • getAssetSelectorsJsUrl

      String getAssetSelectorsJsUrl()
      Gets the absolute URL for the javascript which contains the microfrontend for the remote asset selector.
      Returns:
      the absolute URL for the javascript which contains the microfrontend for the remote asset selector
    • getImageDeliveryBasePath

      String getImageDeliveryBasePath()
      Gets the path expression for the image delivery path. The following placeholders with the below meaning are contained within that path:
      • {asset-id} - the uuid of the asset in the format 'urn:aaid:aem:UUID', e.g. urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75
      • {seo-name} - any url-encoded or alphanumeric, non-whitespace set of characters. may contain hyphens and dots
      • {format} - output format
      Returns:
      the path expression for the image delivery path
    • getVideoDeliveryPath

      String getVideoDeliveryPath()
      Gets the path expression for the adaptive video manifest/player path. The following placeholders with the below meaning are contained within that path:
      • {asset-id} - the uuid of the asset in the format 'urn:aaid:aem:UUID' along with optional format e.g. urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75 OR urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75.mp4
      Returns:
      the path expression for the video delivery path
    • getAssetOriginalBinaryDeliveryPath

      String getAssetOriginalBinaryDeliveryPath()
      Gets the path expression for the the Original Asset Delivery which delivers the bitstream as-is
      • {asset-id} - the uuid of the asset in the format 'urn:aaid:aem:UUID', e.g. urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75
      • {seo-name} - any url-encoded or alphanumeric, non-whitespace set of characters. may contain hyphens and dots
      Returns:
      the path expression for the asset (bitstream) delivery path
    • getAssetMetadataPath

      String getAssetMetadataPath()
      Gets the path expression for getting the metadata of an asset. The following placeholders with the below meaning are contained within that path:
      • {asset-id} - the uuid of the asset in the format 'urn:aaid:aem:UUID', e.g. urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75
      Returns:
      the path expression for the metadata path