public interface S7damExportService
Modifier and Type | Field and Description |
---|---|
static String |
S7_PRESET
The DAM export job type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
downloadAndExtractFiles(List<String> fileLocations,
Set<Asset> assets,
String s7ExportSettings,
ZipOutputStream zo,
Resource configResource)
Download assets with s7dam settings and write to the zip file.
|
String |
export(Resource configResource,
Set<Asset> assets,
String s7ExportSettings,
String exportJobName)
S7dam Export.
|
List<String> |
getExportUrls(String jcrPath,
Set<Asset> assets,
String s7ExportSettings,
Resource configResource)
Get the downloadUrls that points to the exported archive file.
|
void |
removeJobStatusNode(Resource configResource,
String nodeName)
Clean up the job's info from jcr after the job is done.
|
static final String S7_PRESET
String export(Resource configResource, Set<Asset> assets, String s7ExportSettings, String exportJobName)
configResource
- The cloud config resourceassets
- type: Sets7ExportSettings
- type: String: It could be an imagePreset or a string of several modifiersexportJobName
- type: Stringboolean downloadAndExtractFiles(List<String> fileLocations, Set<Asset> assets, String s7ExportSettings, ZipOutputStream zo, Resource configResource)
fileLocations
- type: Listassets
- type: Sets7ExportSettings
- type: String: It could be an imagePreset or a string of several modifierszo
- type: ZipOutputStream (the export zip out stream)configResource
- config resourceList<String> getExportUrls(String jcrPath, Set<Asset> assets, String s7ExportSettings, Resource configResource)
jcrPath
- type: String
value (hosted): it is used to fetch the downloadUrl which is generated after a S7 export job
(onprem): it is an empty stringassets
- type: Sets7ExportSettings
- type: String: It could be an imagePreset or a string of several modifiersconfigResource
- config resource"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"