public interface Scene7DAMService
Scene7DAMAssetService
is responsible for obtaining S7 related information about already imported DAM
assets.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getS7FileReference(Asset asset)
For a DAM imported Scene7 asset, this method returns the file reference of the asset from Scene7.
|
java.lang.String |
getS7FileReference(Asset asset,
java.lang.String configPath)
For a DAM imported Scene7 asset, this method returns the file reference of the asset from Scene7.
|
java.lang.String |
getS7FileReference(Asset asset,
java.lang.String configPath,
boolean isPreview)
For a DAM imported Scene7 asset, this method returns the file reference
of the asset from Scene7.
|
void |
setResourceMetadataOnSync(Resource resource,
java.lang.String scene7Handle,
S7Config s7Config,
java.lang.String status,
java.lang.Boolean deleteOnFail)
Sets properties on the
Resource JCR node to store its relevant
Scene7 properties. |
boolean |
setS7DMFileReference(Resource resource,
java.lang.String fileReference)
Update an embedded Dynamic Media Scene7 asset URL reference in WCM
component
|
boolean |
setS7FileReference(Resource resource,
java.lang.String fileReference)
Update an embedded Scene7 asset URL reference in WCM component
|
java.lang.String getS7FileReference(Asset asset)
asset
- the DAM assetjava.lang.String getS7FileReference(Asset asset, java.lang.String configPath)
asset
- the DAM assetconfigPath
- Optional path to indicate what cloud configuration to use. If null, an attempt will be made to
extract the cloud config from the asset.java.lang.String getS7FileReference(Asset asset, java.lang.String configPath, boolean isPreview)
asset
- the DAM assetconfigPath
- Optional path to indicate what cloud configuration to use. If
null, an attempt will be made to extract the cloud config from
the asset.isPreview
- the Scene7 public or preview server URLboolean setS7FileReference(Resource resource, java.lang.String fileReference)
resource
- Resource object of the WCM componentfileReference
- Scene7 image or video asset source URLboolean setS7DMFileReference(Resource resource, java.lang.String fileReference)
resource
- Resource object of the WCM componentfileReference
- Scene7 image or video asset source URLvoid setResourceMetadataOnSync(Resource resource, java.lang.String scene7Handle, S7Config s7Config, java.lang.String status, java.lang.Boolean deleteOnFail) throws java.lang.Exception
Resource
JCR node to store its relevant
Scene7 properties. This method is compatible with Scene7 assets (e.g.
images, videos) and company settings (e.g. image presets, viewer
presets). The session must be manually saved.resource
- Resource object on which to add Scene7 metadatascene7Handle
- Scene7 asset handle or asset IDs7Config
- the Scene7 configurationstatus
- the status of the sync operation (e.g. the status of an upload
job)deleteOnFail
- whether to delete Scene7 remote assets/settings when the
properties save action fails,java.lang.Exception
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"