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 Detail

      • getCollectionAssets

        java.util.Iterator<Asset> getCollectionAssets​(ResourceResolver resolver,
                                                      ResourceCollection collection)
        Returns an Iterator of Assets representing the collection members for a given collection.
        Parameters:
        resolver - The scope's resolver.
        collection - The resource collection.
        Returns:
        An Iterator of Assets representing the collection members. It returns null if no registered CollectionPreviewProviders can handle the collection.