public interface Scene7UploadService
Scene7Service provides methods for interacting with the official Scene7 API.| Modifier and Type | Field and Description |
|---|---|
static int |
SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_DEFAULT_VALUE |
static String |
SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
moveFile(String path,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Moves an S7 managed file ( a file that has an associated S7 assetHandle)
at a given repository path back into the Scene7 server.
|
String |
moveFolder(String dstpath,
String srcpath,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Moves a folder (including sub folders/assets) back to the Scene7 server.
|
String |
synchronizeFile(String path,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Synchronises a file at a given repository path back into the Scene7
server.
|
String |
uploadFile(String path,
String cloudServiceConfigPath,
ResourceResolver resolver)
Uploads a file at a given repository path to the Scene7 server.
|
String |
uploadFolder(String path,
String cloudServiceConfigPath,
ResourceResolver resolver)
Uploads a folder at a given repository path to the Scene7 server.
|
static final String SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_NAME
static final int SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_DEFAULT_VALUE
String uploadFile(String path, String cloudServiceConfigPath, ResourceResolver resolver)
path - Path to the file in the repositorycloudServiceConfigPath - resolver - Sling ResourceResolverString uploadFolder(String path, String cloudServiceConfigPath, ResourceResolver resolver)
path - to the foldercloudServiceConfigPath - resolver - String synchronizeFile(String path, ResourceResolver assetResolver, ResourceResolver configResolver)
path - Path to the file in the repositoryassetResolver - Sling ResourceResolver to access AEM assetconfigResolver - Sling ResourceResolver to access AEM-Scene7 configurationString moveFile(String path, ResourceResolver assetResolver, ResourceResolver configResolver)
path - Path to the file in the repositoryassetResolver - Sling ResourceResolver to access AEM assetconfigResolver - Sling ResourceResolver to access AEM-Scene7 configurationString moveFolder(String dstpath, String srcpath, ResourceResolver assetResolver, ResourceResolver configResolver)
dstpath - destination path to the file in the repositorysrcpath - Original path of the folder in the repositoryassetResolver - Sling ResourceResolver to access AEM assetconfigResolver - Sling ResourceResolver to access AEM-Scene7 configuration"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"