Scene7Service
.@Deprecated
public interface Scene7Service
Scene7Service
provides methods for interacting with the official Scene7 API.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompanyMembership(ResourceResolver resourceResolver,
java.lang.String userHandle,
java.lang.String email,
java.lang.String password,
java.lang.String region)
Deprecated.
Returns a JSON representation of the company membership information
provided by Scene7.
|
java.lang.String |
getUserHandle(ResourceResolver resourceResolver,
java.lang.String email,
java.lang.String password,
java.lang.String region)
Deprecated.
Returns a unique user handle from Scene7.
|
java.lang.String |
uploadFile(java.lang.String path,
java.lang.String email,
java.lang.String password,
java.lang.String region,
java.lang.String userHandle,
java.lang.String companyHandle,
java.lang.String rootPath,
ResourceResolver resolver)
Deprecated.
Please use the
uploadFile method from the Scene7UploadService instead. |
java.lang.String getUserHandle(ResourceResolver resourceResolver, java.lang.String email, java.lang.String password, java.lang.String region)
resourceResolver
- resource resolver used to access Scene7 configurationemail
- E-Mail addresspassword
- Passwordregion
- Region of the Scene7 servicejava.lang.String getCompanyMembership(ResourceResolver resourceResolver, java.lang.String userHandle, java.lang.String email, java.lang.String password, java.lang.String region)
For example:
{
handle: 'jlkj98',
name: 'Acme Ltd.',
rootPath: '/MyAssets'
}
resourceResolver
- resource resolver used to access Scene7 configurationuserHandle
- Unique user handleemail
- E-Mail addresspassword
- Passwordregion
- Region of the Scene7 service@Deprecated java.lang.String uploadFile(java.lang.String path, java.lang.String email, java.lang.String password, java.lang.String region, java.lang.String userHandle, java.lang.String companyHandle, java.lang.String rootPath, ResourceResolver resolver)
uploadFile
method from the Scene7UploadService
instead.path
- Path to the file in the repositoryemail
- E-Mail addresspassword
- Passwordregion
- Region of the Scene7 serviceuserHandle
- Unique user handlecompanyHandle
- Unique company handlerootPath
- Scene7 root path to upload the file toresolver
- Sling ResourceResolver"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"