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 |
addUser(S7Config s7Config,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String defaultRole,
java.lang.String password,
Instant passwordExpires,
boolean isValid,
java.util.List<Scene7CompanyMembership> membershipArray)
Creates a user account and adds the account to one of more companies
|
org.w3c.dom.Document |
batchSetAssetMetadata(S7Config s7Config,
java.util.List<Scene7MetadataUpdate> updates)
Sets asset metadata using batch mode.
|
org.w3c.dom.Document |
batchSetImageFields(S7Config s7Config,
java.util.List<Scene7ImageFieldUpdate> updates)
Sets asset metadata using batch mode.
|
org.w3c.dom.Document |
batchSetThumbAsset(S7Config s7Config,
java.util.List<ThumbAssetUpdate> thumbnailUpdates)
Sets the thumbnail image for one or more assets
|
org.w3c.dom.Document |
createAssetSet(S7Config s7Config,
java.lang.String folderHandle,
java.lang.String name,
java.lang.String type,
java.lang.String setDefinition,
java.lang.String thumbAssetHandle)
Create an AssetSet in a given Scene7 folder
|
org.w3c.dom.Document |
createFolder(java.lang.String folderPath,
S7Config s7Config)
Create a folder on Scene7 server
|
org.w3c.dom.Document |
createImageSet(S7Config s7Config,
java.lang.String folderHandle,
java.lang.String name,
java.lang.String type,
java.lang.String thumbAssetHandle)
Create an ImageSet in a given Scene7 folder
|
org.w3c.dom.Document |
createViewerPreset(S7Config s7Config,
java.lang.String folderHandle,
java.lang.String name,
java.lang.String type,
java.util.List<Scene7ConfigSetting> configSettings)
Create a preset view to determine what users can see.
|
org.w3c.dom.Document |
deleteAsset(java.lang.String assetHandle,
S7Config s7Config)
Deletes an asset from Scene7.
|
org.w3c.dom.Document |
deleteAssets(java.lang.String[] assetHandleArr,
S7Config s7Config)
Delete multiple assets from Scene7.
|
org.w3c.dom.Document |
deleteFolder(java.lang.String folderHandle,
S7Config s7Config)
Deletes a folder from Scene7.
|
org.w3c.dom.Document |
deleteImageFormat(S7Config s7Config,
java.lang.String imageFormatHandle)
Deletes an image format.
|
org.w3c.dom.Document |
deleteImageMap(S7Config s7Config,
java.lang.String imageMapHandle)
Deletes an image map
|
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 |
getAllUsers(S7Config s7Config,
boolean includeInvalid)
Return all users
|
java.lang.String |
getAssetHandleByName(S7Config s7Config,
java.lang.String assetName)
Search asset by name and return its handle, if exists.
|
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 |
getImageFormats(S7Config s7Config)
Returns image formats, such as PDF, EPS, SWF, and others.
|
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,
int resultsPage,
int recordsPerPage,
java.lang.String sortBy,
java.lang.String sortDirection,
S7Config s7Config)
Gets the details of job logs of a company with specified parameters
|
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)
Deprecated.
|
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 |
getUploadTaskStatus(java.lang.String jobHandle,
S7Config s7Config)
Retrieves Scene7 upload job processing status
|
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 |
getUsers(S7Config s7Config,
java.lang.Boolean includeInactive,
java.lang.Boolean includeInvalid,
java.util.List<java.lang.String> companyHandleArray,
java.util.List<java.lang.String> groupHandleArray,
java.util.List<java.lang.String> userRoleArray,
java.lang.String charFilterField,
java.lang.String charFilter,
java.lang.String sortBy,
java.lang.Integer recordsPerPage,
java.lang.Integer resultsPage)
Return a optionally sorted, filtered and paged list user results
|
org.w3c.dom.Document |
getViewerConfigSettings(S7Config s7Config,
java.lang.String assetHandle)
Get all viewer configuration for the specified asset
|
org.w3c.dom.Document |
getXMPPacket(S7Config s7Config,
java.lang.String assetHandle)
Retrieves an XMP Metadata packet for the specified asset.
|
org.w3c.dom.Document |
moveAsset(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String folderHandle)
Moves an asset to a specific folder
|
org.w3c.dom.Document |
moveAssets(S7Config s7Config,
java.util.Map<java.lang.String,java.lang.String> assetFolderHandles)
Moves multiple assets independently of each other.
|
org.w3c.dom.Document |
moveFolder(S7Config s7Config,
java.lang.String sourceFolderHandle,
java.lang.String destinationFolderHandle)
Move a folder to a new location
|
org.w3c.dom.Document |
renameAsset(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String name,
boolean validateName)
Rename an asset
|
java.lang.String |
renameAssetToUniqueName(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String newDesiredName)
Tries to rename given asset to the new name, maintaining the requirement of
no duplicate asset names can exists in S7 for a given Company.
|
org.w3c.dom.Document |
renameFolder(S7Config s7Config,
java.lang.String folderHandle,
java.lang.String folderName)
Rename a folder
|
org.w3c.dom.Document |
saveImageFormat(S7Config s7Config,
java.lang.String imageFormatHandle,
java.lang.String name,
java.lang.String urlModifier)
Create an image format.
|
org.w3c.dom.Document |
saveImageMap(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String imageMapHandle,
java.lang.String name,
java.lang.String shapeType,
java.lang.String region,
java.lang.String action,
int position,
boolean enabled)
Create a new image map or edit an existing map
|
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,
java.lang.String name,
S7Config s7Config)
Searches for assets based on one or more filter criteria.
|
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,
java.lang.String name,
java.lang.String conditionMode,
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 |
setAssetsPublishState(java.util.Set<java.lang.String> assetHandles,
S7Config s7Config,
java.lang.String publishState)
Sets the publish state of a given Scene7 assets
|
org.w3c.dom.Document |
setImageMaps(S7Config s7Config,
java.lang.String assetHandle,
java.util.List<Scene7ImageMapDefinition> imageMap)
Sets the image map for an asset.
|
org.w3c.dom.Document |
setUserInfo(S7Config s7Config,
java.lang.String userHandle,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String defaultRole,
Instant passwordExpires,
boolean isValid,
java.util.List<Scene7CompanyMembership> membershipArray)
Set user attributes
|
org.w3c.dom.Document |
setViewerConfigSettings(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String name,
java.lang.String type,
java.util.List<Scene7ConfigSetting> configSettings)
Attach viewer configuration settings to an asset
Can be viewer preset or the source asset for the viewer
|
org.w3c.dom.Document |
submitJob(java.lang.String jobName,
Scene7JobType jobType,
S7Config s7Config)
Submits a job to the system.
|
org.w3c.dom.Document |
updateAssetSet(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String setDefinition,
java.lang.String thumbAssetHandle)
Update an AssetSet
|
org.w3c.dom.Document |
updateImageSet(S7Config s7Config,
java.lang.String assetHandle,
ImageSetMemberUpdateArray members,
java.lang.String thumbAssetHandle)
Update an ImageSet
|
org.w3c.dom.Document |
updateImageSet(S7Config s7Config,
java.lang.String assetHandle,
java.util.List<java.lang.String> setMemberHandles,
java.lang.String thumbAssetHandle)
|
org.w3c.dom.Document |
updateSmartCrops(S7Config s7Config,
SmartCropUpdateArray updateArray)
Update one or more Smart Crop sub asset(s)
|
org.w3c.dom.Document |
updateViewerConfigSettings(S7Config s7Config,
java.lang.String assetHandle,
java.util.List<Scene7ConfigSetting> configSettings)
Updates SWF viewer configuration settings.
|
org.w3c.dom.Document |
updateXMPPacket(S7Config s7Config,
java.lang.String assetHandle,
java.lang.String xmpPacketAsXml)
Sets or updates an XMP metadata packet for an asset.
|
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) throws IpsApiException
assetHandle
- the handle to the asset to deletes7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document deleteAssets(java.lang.String[] assetHandleArr, S7Config s7Config) throws IpsApiException
assetHandleArr
- the handle to the asset to deletes7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document deleteFolder(java.lang.String folderHandle, S7Config s7Config) throws IpsApiException
folderHandle
- the handle to the folder to deletes7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getActiveJobs(java.lang.String jobHandle, java.lang.String originalName, S7Config s7Config) throws IpsApiException
jobHandle
- the handle to the joboriginalName
- the original name of the jobs7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getAssets(java.lang.String[] assetHandles, java.lang.String[] responseFields, java.lang.String[] excludeFields, S7Config s7Config) throws IpsApiException
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 configurationDocument
IpsApiException
org.w3c.dom.Document getAssociatedAssets(java.lang.String assetHandle, java.lang.String[] responseFields, java.lang.String[] excludeFields, S7Config s7Config) throws IpsApiException
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 configurationDocument
IpsApiException
java.lang.String getAssetHandleByName(S7Config s7Config, java.lang.String assetName) throws IpsApiException
s7Config
- configuration to access Scene7 serverassetName
- asset name to look up, case-sensitiveIpsApiException
- on error at Scene7org.w3c.dom.Document getCompanyMembership(ResourceResolver resourceResolver, java.lang.String userHandle, java.lang.String email, java.lang.String password, java.lang.String region) throws IpsApiException
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 regionDocument
IpsApiException
org.w3c.dom.Document getFolderTree(java.lang.String folderPath, int depth, java.lang.String[] responseFields, java.lang.String[] excludeFields, S7Config s7Config) throws IpsApiException
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 configurationDocument
IpsApiException
org.w3c.dom.Document getJobLogDetails(java.lang.String jobHandle, java.lang.String originalName, S7Config s7Config) throws IpsApiException
jobHandle
- a handle to an active or completed joboriginalName
- the original name of the job logs7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getJobLogDetails(java.lang.String jobHandle, java.lang.String originalName, int resultsPage, int recordsPerPage, java.lang.String sortBy, java.lang.String sortDirection, S7Config s7Config) throws IpsApiException
jobHandle
- a handle to an active or completed joboriginalName
- the original name of the job logresultsPage
- page number of recordsPerPage-results to returnrecordsPerPage
- maximum number of detailArray items to returnsortBy
- one of the Job Detail Sort Field constant values (Date or
LogType)sortDirection
- one of the Sort Direction string constantss7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getPropertySets(java.lang.String appSettingsTypeHandle, S7Config s7Config) throws IpsApiException
appSettingsTypeHandle
- the handle to the property set types7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getPropertySetTypes(S7Config s7Config) throws IpsApiException
S7Config
object.s7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getImagePresets(S7Config s7Config) throws IpsApiException
s7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document getUserInfo(ResourceResolver resourceResolver, java.lang.String email, java.lang.String password, java.lang.String region) throws IpsApiException
resourceResolver
- resource resolver used to access Scene7 configurationemail
- the user's emailpassword
- the user's passwordregion
- the user's regionDocument
IpsApiException
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, java.lang.String name, S7Config s7Config) throws IpsApiException
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 assetname
- the Scene7 name used for search assets7Config
- the Scene7 configurationDocument
IpsApiException
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, java.lang.String name, java.lang.String conditionMode, S7Config s7Config) throws IpsApiException
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 assetname
- the Scene7 name used for search assetconditionMode
- filename and asset name string comparison operators7Config
- the Scene7 configurationDocument
IpsApiException
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) throws IpsApiException
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 configurationDocument
IpsApiException
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) throws IpsApiException
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 configurationDocument
IpsApiException
org.w3c.dom.Document submitJob(java.lang.String jobName, Scene7JobType jobType, S7Config s7Config) throws IpsApiException
jobName
- the name of the jobjobType
- the job's types7Config
- the Scene7 configurationDocument
IpsApiException
Scene7JobType
@Deprecated org.w3c.dom.Document getSystemProperties(S7Config s7Config)
s7Config
- the Scene7 configurationDocument
java.io.InputStream getOriginalFile(java.lang.String assetHandle, S7Config s7Config) throws IpsApiException
assetHandle
- the asset's handle (unique id generated by Scene7)s7Config
- the Scene7 configurationIpsApiException
@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) throws IpsApiException
scene7Asset
- the Scene7 asset abstractizations7Config
- the Scene7 configurationIpsApiException
org.w3c.dom.Document setAssetPublishState(java.lang.String assetHandle, S7Config s7Config, java.lang.String publishState) throws IpsApiException
assetHandle
- the Scene7 asset handlepublishState
- the asset publish states7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document setAssetsPublishState(java.util.Set<java.lang.String> assetHandles, S7Config s7Config, java.lang.String publishState) throws IpsApiException
assetHandles
- the Scene7 asset handlespublishState
- the asset publish states7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document createImageSet(S7Config s7Config, java.lang.String folderHandle, java.lang.String name, java.lang.String type, java.lang.String thumbAssetHandle) throws IpsApiException
s7Config
- the Scene7 configurationfolderHandle
- Scene7 folder handlename
- name of image settype
- type of new image setthumbAssetHandle
- (optional) asset handle of user-defined thumbnail image for
setDocument
IpsApiException
org.w3c.dom.Document updateImageSet(S7Config s7Config, java.lang.String assetHandle, ImageSetMemberUpdateArray members, java.lang.String thumbAssetHandle) throws IpsApiException
s7Config
- the Scene7 configurationassetHandle
- asset handle of the image set to updatemembers
- (optional) list of imageset members (Null = not updated)thumbAssetHandle
- (optional) asset handle of user-defined thumbnail image for
set (Null = not updated)Document
IpsApiException
@Deprecated org.w3c.dom.Document updateImageSet(S7Config s7Config, java.lang.String assetHandle, java.util.List<java.lang.String> setMemberHandles, java.lang.String thumbAssetHandle)
s7Config
- the Scene7 configurationassetHandle
- asset handle of the image set member arraysetMemberHandles
- list of image set member handlesthumbAssetHandle
- optional parameter to define set thumbnailDocument
org.w3c.dom.Document createAssetSet(S7Config s7Config, java.lang.String folderHandle, java.lang.String name, java.lang.String type, java.lang.String setDefinition, java.lang.String thumbAssetHandle) throws IpsApiException
s7Config
- the Scene7 configurationfolderHandle
- Scene7 folder handlename
- name for new asset settype
- type of new asset setsetDefinition
- (optional) set's definition stringthumbAssetHandle
- (optional) asset handle of user-defined thumbnail image for
setDocument
IpsApiException
org.w3c.dom.Document updateAssetSet(S7Config s7Config, java.lang.String assetHandle, java.lang.String setDefinition, java.lang.String thumbAssetHandle) throws IpsApiException
s7Config
- the Scene7 configurationassetHandle
- asset handle of the asset set to updatesetDefinition
- (optional) set's definition string (Null = not updated)thumbAssetHandle
- (optional) asset handle of user-defined thumbnail image for
set (Null = not updated)Document
IpsApiException
org.w3c.dom.Document createFolder(java.lang.String folderPath, S7Config s7Config) throws IpsApiException
folderPath
- The root folder used to retrieve folders and all subfolders to
the leaf level. If excluded, the company root is used.s7Config
- the Scene7 configurationDocument
IpsApiException
org.w3c.dom.Document createViewerPreset(S7Config s7Config, java.lang.String folderHandle, java.lang.String name, java.lang.String type, java.util.List<Scene7ConfigSetting> configSettings) throws IpsApiException
s7Config
- the Scene7 configurationfolderHandle
- folder handle of the folder that contains the assetsname
- name for the viewertype
- type of any available viewer in IPSconfigSettings
- list containing Scene7ConfigSetting
values to applyDocument
IpsApiException
org.w3c.dom.Document getViewerConfigSettings(S7Config s7Config, java.lang.String assetHandle) throws IpsApiException
s7Config
- the Scene7 configurationassetHandle
- asset handle for the asset in questionDocument
IpsApiException
org.w3c.dom.Document setViewerConfigSettings(S7Config s7Config, java.lang.String assetHandle, java.lang.String name, java.lang.String type, java.util.List<Scene7ConfigSetting> configSettings) throws IpsApiException
s7Config
- the Scene7 configurationassetHandle
- asset handle for the asset to modifyname
- name of the assettype
- type of any available viewer in IPSconfigSettings
- list containing Scene7ConfigSetting
values to applyIpsApiException
org.w3c.dom.Document updateViewerConfigSettings(S7Config s7Config, java.lang.String assetHandle, java.util.List<Scene7ConfigSetting> configSettings) throws IpsApiException
s7Config
- the Scene7 configurationassetHandle
- asset handle for the asset to modifyconfigSettings
- list containing Scene7ConfigSetting
values to applyIpsApiException
org.w3c.dom.Document addUser(S7Config s7Config, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String defaultRole, java.lang.String password, Instant passwordExpires, boolean isValid, java.util.List<Scene7CompanyMembership> membershipArray) throws IpsApiException
s7Config
- The Scene7 configurationfirstName
- The user's first namelastName
- The user's last nameemail
- The user's email addressdefaultRole
- The role for the user in the companies they belong, the
IpsAdmin role overrides other per-company settingspassword
- The user's passwordpasswordExpires
- The instant of expiration of the passwordisValid
- Determine the user's validitymembershipArray
- List of Scene7CompanyMembership
entries enumerating
the membership of the user.IpsApiException
org.w3c.dom.Document getAllUsers(S7Config s7Config, boolean includeInvalid) throws IpsApiException
s7Config
- The Scene7 configurationincludeInvalid
- Indicate if invalid users should be includedIpsApiException
org.w3c.dom.Document getUsers(S7Config s7Config, java.lang.Boolean includeInactive, java.lang.Boolean includeInvalid, java.util.List<java.lang.String> companyHandleArray, java.util.List<java.lang.String> groupHandleArray, java.util.List<java.lang.String> userRoleArray, java.lang.String charFilterField, java.lang.String charFilter, java.lang.String sortBy, java.lang.Integer recordsPerPage, java.lang.Integer resultsPage) throws IpsApiException
s7Config
- The Scene7 configincludeInactive
- Include or exclude inactive membersincludeInvalid
- Include or exclude invalid memberscompanyHandleArray
- Filter results be companygroupHandleArray
- Filter results by groupuserRoleArray
- Filter results by user rolecharFilterField
- Filter results by field's string prefixcharFilter
- Filter results by a specific charactersortBy
- Choice of user sort fieldrecordsPerPage
- Number of records per page to returnresultsPage
- The desired result pageIpsApiException
org.w3c.dom.Document setUserInfo(S7Config s7Config, java.lang.String userHandle, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String defaultRole, Instant passwordExpires, boolean isValid, java.util.List<Scene7CompanyMembership> membershipArray) throws IpsApiException
s7Config
- The Scene7 configuserHandle
- User handlefirstName
- First namelastName
- Last nameemail
- Email addressdefaultRole
- The role for the user in the companies they belong, the
IpsAdmin role overrides other per-company settingspasswordExpires
- The password's expirationisValid
- Determine if valid IPS usermembershipArray
- List of Scene7CompanyMembership
entries enumerating
the membership of the userIpsApiException
org.w3c.dom.Document deleteImageFormat(S7Config s7Config, java.lang.String imageFormatHandle) throws IpsApiException
s7Config
- The Scene7 configimageFormatHandle
- Handle to the image format. (This is returned from
saveImageFormat(S7Config, String, String, String)
)IpsApiException
org.w3c.dom.Document getImageFormats(S7Config s7Config) throws IpsApiException
s7Config
- The Scene7 configIpsApiException
org.w3c.dom.Document saveImageFormat(S7Config s7Config, java.lang.String imageFormatHandle, java.lang.String name, java.lang.String urlModifier) throws IpsApiException
s7Config
- The Scene7 configimageFormatHandle
- Image format handle you want to savename
- Image format nameurlModifier
- IPS protocol query stringIpsApiException
org.w3c.dom.Document deleteImageMap(S7Config s7Config, java.lang.String imageMapHandle) throws IpsApiException
s7Config
- The Scene7 configimageMapHandle
- Handle for the image map to deleteIpsApiException
org.w3c.dom.Document saveImageMap(S7Config s7Config, java.lang.String assetHandle, java.lang.String imageMapHandle, java.lang.String name, java.lang.String shapeType, java.lang.String region, java.lang.String action, int position, boolean enabled) throws IpsApiException
s7Config
- The Scene7 configassetHandle
- Handle to the asset the map belongs toimageMapHandle
- Handle to the image map.name
- Name of the image mapshapeType
- Choice of region shaperegion
- A comma delimited list of points that define the regionaction
- The href value associated with the image mapposition
- The order in the list of image mapsenabled
- Whether this map is enabledIpsApiException
org.w3c.dom.Document setImageMaps(S7Config s7Config, java.lang.String assetHandle, java.util.List<Scene7ImageMapDefinition> imageMap) throws IpsApiException
s7Config
- The Scene7 configassetHandle
- Handle to the assetimageMap
- list of predefined Scene7ImageMapDefinition
objectsIpsApiException
org.w3c.dom.Document batchSetAssetMetadata(S7Config s7Config, java.util.List<Scene7MetadataUpdate> updates) throws IpsApiException
s7Config
- The Scene7 configupdates
- List of Scene7ImageFieldUpdate
to be appliedIpsApiException
org.w3c.dom.Document batchSetImageFields(S7Config s7Config, java.util.List<Scene7ImageFieldUpdate> updates) throws IpsApiException
s7Config
- The Scene7 configupdates
- List of Scene7ImageFieldUpdate
to be appliedIpsApiException
org.w3c.dom.Document getUploadTaskStatus(java.lang.String jobHandle, S7Config s7Config) throws IpsApiException
jobHandle
- Scene7 upload job handles7Config
- Scene7 configuration objectDocument
IpsApiException
org.w3c.dom.Document moveAsset(S7Config s7Config, java.lang.String assetHandle, java.lang.String folderHandle) throws IpsApiException
s7Config
- Scene7 configuration objectassetHandle
- Handle to the asset you want to movefolderHandle
- Handle to the destination folderDocument
IpsApiException
org.w3c.dom.Document moveAssets(S7Config s7Config, java.util.Map<java.lang.String,java.lang.String> assetFolderHandles) throws IpsApiException
s7Config
- Scene7 configuration objectassetFolderHandles
- Map that contains an asset and an asset destination folderDocument
IpsApiException
org.w3c.dom.Document moveFolder(S7Config s7Config, java.lang.String sourceFolderHandle, java.lang.String destinationFolderHandle) throws IpsApiException
s7Config
- Scene7 configuration objectsourceFolderHandle
- Handle to the source folderdestinationFolderHandle
- Handle to the destination folderDocument
IpsApiException
org.w3c.dom.Document renameAsset(S7Config s7Config, java.lang.String assetHandle, java.lang.String name, boolean validateName) throws IpsApiException
s7Config
- Scene7 configuration objectassetHandle
- Handle to the asset you want to movename
- Asset's new namevalidateName
- If the validateName is true and the asset type requires a
unique IPS ID, then the new name is checked for global
uniqueness and renameAsset throws a fault if it is not unique.Document
IpsApiException
org.w3c.dom.Document renameFolder(S7Config s7Config, java.lang.String folderHandle, java.lang.String folderName) throws IpsApiException
s7Config
- Scene7 configuration objectfolderHandle
- Handle to the folderfolderName
- New folder nameDocument
IpsApiException
java.lang.String renameAssetToUniqueName(S7Config s7Config, java.lang.String assetHandle, java.lang.String newDesiredName) throws IpsApiException
s7Config
- configuration for access to Scene7 serverassetHandle
- asset handle (ID)newDesiredName
- new asset name, case-sensitiveIpsApiException
- on error at Scene7org.w3c.dom.Document batchSetThumbAsset(S7Config s7Config, java.util.List<ThumbAssetUpdate> thumbnailUpdates) throws IpsApiException
s7Config
- Scene7 configuration objectthumbnailUpdates
- List of ThumbAssetUpdate
objects to be appliedDocument
IpsApiException
- in case of IPS failures or undefined data formatorg.w3c.dom.Document updateSmartCrops(S7Config s7Config, SmartCropUpdateArray updateArray) throws IpsApiException
s7Config
- Scene7 configuration objectupdateArray
- Array of SmartCropUpdate objects containing subasset handles
and NormalizedCropRect valuesDocument
IpsApiException
org.w3c.dom.Document getXMPPacket(S7Config s7Config, java.lang.String assetHandle) throws IpsApiException
s7Config
- Scene7 configuration objectassetHandle
- Handle to the asset you want to get XMP metadataDocument
IpsApiException
- in case of IPS failures or undefined data formatorg.w3c.dom.Document updateXMPPacket(S7Config s7Config, java.lang.String assetHandle, java.lang.String xmpPacketAsXml) throws IpsApiException
s7Config
- Scene7 configuration objectassetHandle
- Handle to the asset you want to update XMP metadataxmpPacketAsXml
- updated XMP packet to update asset metadata in XML formatDocument
IpsApiException
- in case of IPS failures or undefined data format"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"