public interface AssetReferenceHandler
AssetReferenceHandler provides api to look up and manage the references of a given asset.
Implementation of this interface should be exposed as a component.
The implementations will be module specific. Each module (commerce, forms, dam, wcm, etc) will implement
their own handlers to optimize the search within their own content spaces.| Modifier and Type | Method and Description |
|---|---|
List<String> |
lookupReferences(String assetPath,
ResourceResolver resolver)
This method looks up references of a given asset in the content space which the implementation class
decides.
|
void |
removeReferences(String assetPath,
ResourceResolver resolver)
This method removes the references of a given asset in the content space which the implementation class
decides.
|
List<String> lookupReferences(String assetPath, ResourceResolver resolver)
assetPath - The asset path to look forresolver - ResourceResolver instancevoid removeReferences(String assetPath, ResourceResolver resolver)
assetPath - The path of the assetresolver - ResourceResolver instanceCopyright © 2010 - 2020 Adobe. All Rights Reserved