Interface DynamicMediaRenditionProvider


  • public interface DynamicMediaRenditionProvider
    Service interface for creating dynamicMedia locally hosted or remotely hosted renditions for video or image for DAM assets.
    Since:
    6.3 (S7) -- temp and needs to have accurate info
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Rendition getRendition​(Asset asset, java.util.Map<java.lang.String,​java.lang.Object> rules)
      Get the rendition for the given asset based on the given rules.
      java.util.List<Rendition> getRenditions​(Asset asset, java.util.Map<java.lang.String,​java.lang.Object> rules)
      Get the renditions for the given asset based on the given rules.
    • Method Detail

      • getRendition

        Rendition getRendition​(Asset asset,
                               java.util.Map<java.lang.String,​java.lang.Object> rules)
        Get the rendition for the given asset based on the given rules. (e.g. dynamic image with preset)
        Parameters:
        asset - asset for which to the rendition needs to be provided
        rules - a map of rendition rules
        Returns:
        a dynamicMediaRendition that matches the required rules
      • getRenditions

        java.util.List<Rendition> getRenditions​(Asset asset,
                                                java.util.Map<java.lang.String,​java.lang.Object> rules)
        Get the renditions for the given asset based on the given rules. (e.g. dynamicMedia video renditions)
        Parameters:
        asset - asset for which to the rendition needs to be provided
        rules - a map of rendition rules
        Returns:
        a list of all dynamicMediaRenditions of this asset that matches the required rules.