public interface S7damExportService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
S7_PRESET
The DAM export job type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
downloadAndExtractFiles(java.util.List<java.lang.String> fileLocations,
java.util.Set<Asset> assets,
java.lang.String s7ExportSettings,
java.util.zip.ZipOutputStream zo,
Resource configResource,
java.lang.Boolean flatStructure)
Download assets with s7dam settings and write to the zip file.
|
java.lang.String |
export(Resource configResource,
java.util.Set<Asset> assets,
java.lang.String s7ExportSettings,
java.lang.String exportJobName)
S7dam Export.
|
java.util.List<java.lang.String> |
getExportUrls(java.lang.String jcrPath,
java.util.Set<Asset> assets,
java.lang.String s7ExportSettings,
Resource configResource)
Get the downloadUrls that points to the exported archive file.
|
void |
removeJobStatusNode(Resource configResource,
java.lang.String nodeName)
Clean up the job's info from jcr after the job is done.
|
static final java.lang.String S7_PRESET
java.lang.String export(Resource configResource, java.util.Set<Asset> assets, java.lang.String s7ExportSettings, java.lang.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(java.util.List<java.lang.String> fileLocations,
java.util.Set<Asset> assets,
java.lang.String s7ExportSettings,
java.util.zip.ZipOutputStream zo,
Resource configResource,
java.lang.Boolean flatStructure)
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 resourcejava.util.List<java.lang.String> getExportUrls(java.lang.String jcrPath,
java.util.Set<Asset> assets,
java.lang.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 resourceflatStructure - type: boolean indicating whether or not to create subfolders for dynamic media assetsvoid removeJobStatusNode(Resource configResource, java.lang.String nodeName)
configResource - The cloud config resourcenodeName - type: String: the name of the jcrNode that saved the S7 downloadUrl"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"