Package com.day.cq.dam.commons.util
Class AssetReferenceSearch
- java.lang.Object
-
- com.day.cq.dam.commons.util.AssetReferenceSearch
-
public class AssetReferenceSearch extends java.lang.Object
TheAssetReferenceSearch
searches in pages for referenced assets.
-
-
Constructor Summary
Constructors Constructor Description AssetReferenceSearch(Node node, java.lang.String searchPath, ResourceResolver resolver)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,Asset>
search()
Search all asset references
-
-
-
Constructor Detail
-
AssetReferenceSearch
public AssetReferenceSearch(Node node, java.lang.String searchPath, ResourceResolver resolver)
The constructor.- Parameters:
node
- node to start search for referencessearchPath
- search for assets starting withsearchPath
resolver
- resource resolver
-
-
Method Detail
-
search
public java.util.Map<java.lang.String,Asset> search()
Search all asset references- Returns:
- map containing all asset refs
-
-