Package com.day.cq.dam.api.jobs
Interface AssetDownloadService
public interface AssetDownloadService
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionTest URL params to see if this request should go to S7 (has image format or image presets)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)assetDownload(Resource configResource, Set<Resource> downloadSet, boolean downloadAssets, boolean downloadRenditions, boolean downloadSubassets, String s7ExportSettings, Date date, ZipOutputStream out, String downloadName, String emailRecipients) Deprecated.Deprecated.longComputes uncompressed size of assets requested for download
-
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.since 6.5, Please useassetDownload(Resource, Set, boolean, boolean, boolean, String, Date, String, String, OutputStream)that operates with `OutputStream` instead.Test URL params to see if this request should go to S7 (has image format or image presets)- Parameters:
configResource- ResourcedownloadSet- Set<Resource> Set of JcrNodeResource, which includes assets' infodownloadAssets- booleandownloadRenditions- booleandownloadSubassets- booleans7ExportSettings- String: it could be an imagePreset or a string of several modifiers; No s7export if this is nulldate- Date: the export could be scheduled or execute immediately if this is nullout- ZipOutputStream, pass the output stream filter for the archive downloadingdownloadName- String: download job nameemailRecipients- 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- ResourcedownloadSet- Set<Resource> Set of JcrNodeResource, which includes assets' infodownloadAssets- booleandownloadRenditions- booleandownloadSubassets- booleans7ExportSettings- String: it could be an imagePreset or a string of several modifiers; No s7export if this is nulldate- Date: the export could be scheduled or execute immediately if this is nulldownloadName- String: download job nameemailRecipients- String: email recipientsout- OutputStream, pass the output stream filter for the archive downloading- Returns:
- String: downloadUrl if the archive file is stored in jcr
-
computeAssetDownloadSize
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
-
assetDownload(Resource, Set, boolean, boolean, boolean, String, Date, String, String, OutputStream)that operates with `OutputStream` instead.