public interface Scene7APIClient
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENTTYPE
default content-type (i.e.
|
static int |
RECORDS_PER_PAGE_NO_FILTER |
static int |
RECORDS_PER_PAGE_WITH_FILTER |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
deleteAsset(java.lang.String assetHandle,
S7Config s7Config)
Deletes an asset from Scene7.
|
org.w3c.dom.Document |
deleteFolder(java.lang.String folderHandle,
S7Config s7Config)
Deletes a folder from Scene7.
|
org.w3c.dom.Document |
getActiveJobs(java.lang.String jobHandle,
java.lang.String originalName,
S7Config s7Config)
Gets all jobs that are currently active in the system.
|
org.w3c.dom.Document |
getAssets(java.lang.String[] assetHandles,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
Gets assets from IPS.
|
org.w3c.dom.Document |
getAssociatedAssets(java.lang.String assetHandle,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
Gets assets associated with the specified asset and details about their relationship.
|
org.w3c.dom.Document |
getCompanyMembership(ResourceResolver resourceResolver,
java.lang.String userHandle,
java.lang.String email,
java.lang.String password,
java.lang.String region)
Gets a user's memberships.
|
org.w3c.dom.Document |
getFolderTree(java.lang.String folderPath,
int depth,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
Gets folders and sub-folders in a hierarchical tree structure.
|
org.w3c.dom.Document |
getImagePresets(S7Config s7Config)
Gets the SPS image presets
|
java.io.InputStream |
getIPSFile(Scene7Asset asset,
S7Config s7Config)
Deprecated.
Incompatible with Scene7 IPS SSL endpoint. Please use
getOriginalFile() instead.
|
org.w3c.dom.Document |
getJobLogDetails(java.lang.String jobHandle,
java.lang.String originalName,
S7Config s7Config)
Gets the details of job logs of a company.
|
java.io.InputStream |
getOriginalFile(java.lang.String assetHandle,
S7Config s7Config)
Provides a way to get the originally uploaded file to the Scene7 servers after an asset has been processed.
|
org.w3c.dom.Document |
getPropertySets(java.lang.String appSettingsTypeHandle,
S7Config s7Config)
Gets property sets associated with a type handle.
|
org.w3c.dom.Document |
getPropertySetTypes(S7Config s7Config)
Gets the property set types associated with the specified company from the
S7Config object. |
org.w3c.dom.Document |
getSystemProperties(S7Config s7Config)
Retrieves the system properties XML document served by the GetSystemProperties SPS servlet.
|
java.io.InputStream |
getThumbnailForAsset(Scene7Asset scene7Asset,
S7Config s7Config)
Retrieves a JPEG image in an InputStream that can be used as a thumbnail in CQ DAM.
|
org.w3c.dom.Document |
getUserInfo(ResourceResolver resourceResolver,
java.lang.String email,
java.lang.String password,
java.lang.String region)
Gets information about a user.
|
org.w3c.dom.Document |
searchAssets(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.Boolean published,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
int recordsPerPage,
int resultsPage,
S7Config s7Config)
Deprecated.
* @deprecated No longer supported. Replaced by
searchAssets(String, Boolean, Boolean, String[], String[], String[], String[], int, int, String, S7Config) |
org.w3c.dom.Document |
searchAssets(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.Boolean published,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
int recordsPerPage,
int resultsPage,
java.lang.String fileName,
S7Config s7Config)
Searches for assets based on one or more filter criteria.
|
org.w3c.dom.Document |
searchAssetsByMetadata(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.Boolean published,
MetadataCondition[] conditions,
int recordsPerPage,
int resultsPage,
S7Config s7Config)
Searches the metadata index repository for the given search terms, support loading assets by page
|
org.w3c.dom.Document |
searchAssetsByMetadata(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.Boolean published,
MetadataCondition[] conditions,
S7Config s7Config)
Searches the metadata index repository for the given search terms.
|
org.w3c.dom.Document |
setAssetPublishState(java.lang.String assetHandle,
S7Config s7Config,
java.lang.String publishState)
Sets the publish state of a given Scene7 asset
|
org.w3c.dom.Document |
submitJob(java.lang.String jobName,
Scene7JobType jobType,
S7Config s7Config)
Submits a job to the system.
|
static final java.lang.String CONTENTTYPE
static final int RECORDS_PER_PAGE_NO_FILTER
static final int RECORDS_PER_PAGE_WITH_FILTER
org.w3c.dom.Document deleteAsset(java.lang.String assetHandle,
S7Config s7Config)
assetHandle - the handle to the asset to deletes7Config - the Scene7 configurationDocumentorg.w3c.dom.Document deleteFolder(java.lang.String folderHandle,
S7Config s7Config)
folderHandle - the handle to the folder to deletes7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getActiveJobs(java.lang.String jobHandle,
java.lang.String originalName,
S7Config s7Config)
jobHandle - the handle to the joboriginalName - the original name of the jobs7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getAssets(java.lang.String[] assetHandles,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
assetHandles - the asset handlesresponseFields - a list of fields and subfields for inclusion in the responseexcludeFields - a list of fields and subfields for exclusion from the responses7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getAssociatedAssets(java.lang.String assetHandle,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
assetHandle - the handle to the assetresponseFields - a list of fields and subfields for inclusion in the responseexcludeFields - a list of fields and subfields for exclusion from the responses7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getCompanyMembership(ResourceResolver resourceResolver, java.lang.String userHandle, java.lang.String email, java.lang.String password, java.lang.String region)
resourceResolver - resource resolver used to access Scene7 configurationuserHandle - the handle to the user whose memberships you want to obtainemail - the user's emailpassword - the user's passwordregion - the user's regionDocumentorg.w3c.dom.Document getFolderTree(java.lang.String folderPath,
int depth,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
S7Config s7Config)
folderPath - the root folder to retrieve folders and all subfolders to the leaflevel; if excluded, the company root is useddepth - a value of zero gets the top-level folder; any other value specifies the depth to descend into the treeresponseFields - a list of fields and subfields for inclusion in the responseexcludeFields - a list of fields and subfields for exclusion from the responses7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getJobLogDetails(java.lang.String jobHandle,
java.lang.String originalName,
S7Config s7Config)
jobHandle - a handle to an active or completed joboriginalName - the original name of the job logs7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getPropertySets(java.lang.String appSettingsTypeHandle,
S7Config s7Config)
appSettingsTypeHandle - the handle to the property set types7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getPropertySetTypes(S7Config s7Config)
S7Config object.s7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getImagePresets(S7Config s7Config)
s7Config - the Scene7 configurationDocumentorg.w3c.dom.Document getUserInfo(ResourceResolver resourceResolver, java.lang.String email, java.lang.String password, java.lang.String region)
resourceResolver - resource resolver used to access Scene7 configurationemail - the user's emailpassword - the user's passwordregion - the user's regionDocument@Deprecated
org.w3c.dom.Document searchAssets(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.Boolean published,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
int recordsPerPage,
int resultsPage,
S7Config s7Config)
searchAssets(String, Boolean, Boolean, String[], String[], String[], String[], int, int, String, S7Config)folder - the root path for searching for assets; if omitted, the
company root folder will be usedincludeSubfolders - if true, the search includes sub-folderspublished - if true, the search will include only published assetsassetTypes - array of Asset Types to include in searchassetSubTypes - array of sub Asset Types to include in searchresponseFields - a list of fields and subfields for inclusion in the responseexcludeFields - a list of fields and subfields for exclusion from the responserecordsPerPage - maximum number of results to returnresultsPage - specifies the page of results to return, based on
recordsPerPage page sizes7Config - the Scene7 configurationDocumentorg.w3c.dom.Document searchAssets(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.Boolean published,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.String[] responseFields,
java.lang.String[] excludeFields,
int recordsPerPage,
int resultsPage,
java.lang.String fileName,
S7Config s7Config)
folder - the root path for searching for assets; if omitted, the
company root folder will be usedincludeSubfolders - if true, the search includes sub-folderspublished - if true, the search will include only published assetsassetTypes - array of Asset Types to include in searchassetSubTypes - array of sub Asset Types to include in searchresponseFields - a list of fields and subfields for inclusion in the responseexcludeFields - a list of fields and subfields for exclusion from the responserecordsPerPage - maximum number of results to returnresultsPage - specifies the page of results to return, based on
recordsPerPage page sizefileName - the filename for search assets7Config - the Scene7 configurationDocumentorg.w3c.dom.Document searchAssetsByMetadata(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.Boolean published,
MetadataCondition[] conditions,
S7Config s7Config)
folder - the root path for searching for assets; if omitted, the company root folder will be usedincludeSubfolders - if true, the search includes sub-foldersassetTypes - array of Asset Types to include in searchassetSubTypes - array of sub Asset Types to include in searchpublished - if true, the search will include only published assetsconditions - one or more query conditions that define the search criterias7Config - the Scene7 configurationDocumentorg.w3c.dom.Document searchAssetsByMetadata(java.lang.String folder,
java.lang.Boolean includeSubfolders,
java.lang.String[] assetTypes,
java.lang.String[] assetSubTypes,
java.lang.Boolean published,
MetadataCondition[] conditions,
int recordsPerPage,
int resultsPage,
S7Config s7Config)
folder - the root path for searching for assets; if omitted, the company root folder will be usedincludeSubfolders - if true, the search includes sub-foldersassetTypes - array of Asset Types to include in searchassetSubTypes - array of sub Asset Types to include in searchpublished - if true, the search will include only published assetsconditions - one or more query conditions that define the search criteriarecordsPerPage - maximum number of results to returnresultsPage - specifies the page of results to return, based on recordsPerPage page sizes7Config - the Scene7 configurationDocumentorg.w3c.dom.Document submitJob(java.lang.String jobName,
Scene7JobType jobType,
S7Config s7Config)
jobName - the name of the jobjobType - the job's types7Config - the Scene7 configurationDocumentScene7JobTypeorg.w3c.dom.Document getSystemProperties(S7Config s7Config)
s7Config - Documentjava.io.InputStream getOriginalFile(java.lang.String assetHandle,
S7Config s7Config)
assetHandle - the asset's handle (unique id generated by Scene7)s7Config - the Scene7 configuration@Deprecated java.io.InputStream getIPSFile(Scene7Asset asset, S7Config s7Config)
asset - the Scene7Asset asset objects7Config - the S7Config configurationInputStream of the published image assetjava.io.InputStream getThumbnailForAsset(Scene7Asset scene7Asset, S7Config s7Config)
scene7Asset - the Scene7 asset abstractizations7Config - the Scene7 configurationorg.w3c.dom.Document setAssetPublishState(java.lang.String assetHandle,
S7Config s7Config,
java.lang.String publishState)
assetHandle - the Scene7 asset handlepublishState - the asset publish states7Config - the Scene7 configuration"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"