Package com.day.cq.dam.api.ui.preview
Interface CollectionPreviewProvider
- 
public interface CollectionPreviewProviderProvider that retrieves the assets representing the collection members for a given collection. A provider handles a specific collection type (e.g. a collection of products) and is dynamically registered.CollectionPreviewManagerloops over all the registered providers to find the first 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 anIteratorofAssets representing the collection members for a given collection. 
 - 
 
- 
- 
Method Detail
- 
getCollectionAssets
java.util.Iterator<Asset> getCollectionAssets(ResourceResolver resolver, ResourceCollection collection)
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 the provider cannot handle the collection. 
 
 - 
 
 -