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 java.lang.String |
SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_NAME |
static int |
SCR_PROP_NAME_CONN_MAX_PER_ROUTE_DEFAULT_VALUE |
static java.lang.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
|
java.lang.String |
moveFile(java.lang.String path,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Deprecated.
|
java.lang.String |
moveFolder(java.lang.String dstpath,
java.lang.String srcpath,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Deprecated.
use
Scene7Service.moveFolder(S7Config,String,String)
instead |
java.lang.String |
synchronizeFile(java.lang.String path,
ResourceResolver assetResolver,
ResourceResolver configResolver)
Synchronises a file at a given repository path back into the Scene7
server.
|
java.lang.String |
uploadFile(java.lang.String path,
java.lang.String cloudServiceConfigPath,
ResourceResolver resolver)
Uploads a file at a given repository path to the Scene7 server.
|
java.lang.String |
uploadFolder(java.lang.String path,
java.lang.String cloudServiceConfigPath,
ResourceResolver resolver)
Uploads a folder at a given repository path to the Scene7 server.
|
static final java.lang.String SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_NAME
static final int SCR_PROP_NAME_ACTIVE_JOB_TIMEOUT_DEFAULT_VALUE
static final java.lang.String SCR_PROP_NAME_CONN_MAX_PER_ROUTE_NAME
static final int SCR_PROP_NAME_CONN_MAX_PER_ROUTE_DEFAULT_VALUE
java.lang.String uploadFile(java.lang.String path, java.lang.String cloudServiceConfigPath, ResourceResolver resolver)
path
- Path to the file in the repositorycloudServiceConfigPath
- resolver
- Sling ResourceResolverjava.lang.String uploadFolder(java.lang.String path, java.lang.String cloudServiceConfigPath, ResourceResolver resolver)
path
- to the foldercloudServiceConfigPath
- resolver
- java.lang.String synchronizeFile(java.lang.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 java.lang.String moveFile(java.lang.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 java.lang.String moveFolder(java.lang.String dstpath, java.lang.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 Systems Incorporated. All Rights Reserved"