Interface AssetDownloadService


public interface AssetDownloadService
  • Method Details

    • assetDownload

      @Deprecated String assetDownload(Resource configResource, Set<Resource> downloadSet, boolean downloadAssets, boolean downloadRenditions, boolean downloadSubassets, String s7ExportSettings, Date date, ZipOutputStream out, String downloadName, String emailRecipients)
      Deprecated.
      Test URL params to see if this request should go to S7 (has image format or image presets)
      Parameters:
      configResource - Resource
      downloadSet - Set<Resource> Set of JcrNodeResource, which includes assets' info
      downloadAssets - boolean
      downloadRenditions - boolean
      downloadSubassets - boolean
      s7ExportSettings - String: it could be an imagePreset or a string of several modifiers; No s7export if this is null
      date - Date: the export could be scheduled or execute immediately if this is null
      out - ZipOutputStream, pass the output stream filter for the archive downloading
      downloadName - String: download job name
      emailRecipients - String: email recipients
      Returns:
      String: downloadUrl if the archive file is stored in jcr
    • assetDownload

      String assetDownload(Resource configResource, Set<Resource> downloadSet, boolean downloadAssets, boolean downloadRenditions, boolean downloadSubassets, String s7ExportSettings, Date date, String downloadName, String emailRecipients, OutputStream out)
      Test URL params to see if this request should go to S7 (has image format or image presets)
      Parameters:
      configResource - Resource
      downloadSet - Set<Resource> Set of JcrNodeResource, which includes assets' info
      downloadAssets - boolean
      downloadRenditions - boolean
      downloadSubassets - boolean
      s7ExportSettings - String: it could be an imagePreset or a string of several modifiers; No s7export if this is null
      date - Date: the export could be scheduled or execute immediately if this is null
      downloadName - String: download job name
      emailRecipients - String: email recipients
      out - OutputStream, pass the output stream filter for the archive downloading
      Returns:
      String: downloadUrl if the archive file is stored in jcr
    • computeAssetDownloadSize

      long computeAssetDownloadSize(AssetDownloadService.AssetDownloadParams params)
      Computes uncompressed size of assets requested for download
      Parameters:
      params - asset download options
      Returns:
      long: (uncompressed) size of the content requested for download (in bytes)
    • assetDownload

      Test URL params to see if this request should go to S7 (has image format or image presets)
      Parameters:
      params - asset download options
      Returns:
      String: downloadUrl if the archive file is stored in jcr
    • assetDownloadParamsReference

      Deprecated.
      parameter class for asset download service
      Returns:
      asset download options