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 registered
CollectionPreviewProviders to find the first provider that
can handle the collection.-
Method Summary
Modifier and TypeMethodDescriptiongetCollectionAssets(ResourceResolver resolver, ResourceCollection collection) Returns anIteratorofAssets representing the collection members for a given collection.
-
Method Details
-
getCollectionAssets
Returns anIteratorofAssets representing the collection members for a given collection.- Parameters:
resolver- The scope's resolver.collection- The resource collection.- Returns:
- An
IteratorofAssets representing the collection members. It returnsnullif no registeredCollectionPreviewProviders can handle the collection.
-