public interface Scene7FileMetadataService
Scene7FileMetadataService
is responsible for the management of Scene7 specific information for CQ DAM assets.Modifier and Type | Method and Description |
---|---|
void |
removeAssetMetadataProperty(Asset asset,
java.lang.String propertyName)
Removes a metadata property from a CQ DAM asset.
|
void |
setAssetJcrContentProperty(Asset asset,
java.lang.String propertyName,
java.lang.Object propertyValue)
Sets properties on the
jcr:content node of a CQ DAM asset. |
void |
setAssetMetadataOnSync(Asset asset,
Scene7Asset scene7Asset,
S7Config s7Config,
java.lang.String status)
Sets multiple properties at the same time on a CQ DAM asset to store its relevant Scene7 properties.
|
void |
setAssetMetadataProperty(Asset asset,
java.lang.String propertyName,
java.lang.Object propertyValue)
Sets properties on the
metadata node of a CQ DAM asset. |
void setAssetMetadataProperty(Asset asset, java.lang.String propertyName, java.lang.Object propertyValue) throws java.lang.Exception
metadata
node of a CQ DAM asset. The session must be manually saved.asset
- the CQ DAM assetpropertyName
- the property's namepropertyValue
- the property's valuejava.lang.Exception
- if the property cannot be added / modifiedvoid setAssetMetadataOnSync(Asset asset, Scene7Asset scene7Asset, S7Config s7Config, java.lang.String status) throws java.lang.Exception
asset
- the CQ DAM asset on which to add metadata informationscene7Asset
- the Scene7Asset
from which to extract the metadata informations7Config
- the Scene7 configurationstatus
- the status of the sync operation (e.g. the status of an upload job)java.lang.Exception
- if the property cannot be added / modifiedvoid removeAssetMetadataProperty(Asset asset, java.lang.String propertyName) throws java.lang.Exception
asset
- the CQ DAM assetpropertyName
- the property's namejava.lang.Exception
- if the property cannot be removedvoid setAssetJcrContentProperty(Asset asset, java.lang.String propertyName, java.lang.Object propertyValue) throws java.lang.Exception
jcr:content
node of a CQ DAM asset. The
session must be manually saved.asset
- the CQ DAM assetpropertyName
- the property's namepropertyValue
- the property's valuejava.lang.Exception
- if the property cannot be added / modified"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"