@ProviderType 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 |
static int |
SCR_PROP_NAME_CONN_MAX_PER_ROUTE_DEFAULT_VALUE |
static String |
SCR_PROP_NAME_CONN_MAX_PER_ROUTE_NAME |
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveJobTimeOut()
Retrieve Scene7 upload job timeout parameter
|
int |
getConnectionMaxPerRoute()
Retrieve Scene7 upload job maximum number of connections
|
String |
moveFile(String path,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Deprecated.
|
String |
moveFolder(String dstpath,
String srcpath,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Deprecated.
use
Scene7Service.moveFolder(S7Config,String,String)
instead |
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
static final String SCR_PROP_NAME_CONN_MAX_PER_ROUTE_NAME
static final int SCR_PROP_NAME_CONN_MAX_PER_ROUTE_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 configuration@Deprecated String moveFile(String path, ResourceResolver assetResolver, ResourceResolver configResolver)
Scene7Service.moveAsset(S7Config,Resource,String)
insteadpath - Path to the file in the repositoryassetResolver - Sling ResourceResolver to access AEM assetconfigResolver - Sling ResourceResolver to access AEM-Scene7 configuration@Deprecated String moveFolder(String dstpath, String srcpath, ResourceResolver assetResolver, ResourceResolver configResolver)
Scene7Service.moveFolder(S7Config,String,String)
insteaddstpath - 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 configurationlong getActiveJobTimeOut()
int getConnectionMaxPerRoute()
Copyright © 2010 - 2020 Adobe. All Rights Reserved