Package com.day.cq.dam.api.ui.preview
Interface CollectionPreviewManager
-
public interface CollectionPreviewManager
Service that retrieves the assets representing the collection members for a given collection. It loops over registeredCollectionPreviewProvider
s to find the first provider that can handle the collection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<Asset>
getCollectionAssets(ResourceResolver resolver, ResourceCollection collection)
Returns anIterator
ofAsset
s representing the collection members for a given collection.
-
-
-
Method Detail
-
getCollectionAssets
java.util.Iterator<Asset> getCollectionAssets(ResourceResolver resolver, ResourceCollection collection)
Returns anIterator
ofAsset
s representing the collection members for a given collection.- Parameters:
resolver
- The scope's resolver.collection
- The resource collection.- Returns:
- An
Iterator
ofAsset
s representing the collection members. It returnsnull
if no registeredCollectionPreviewProvider
s can handle the collection.
-
-