Interface IDynamicResourceThumbnailRequestHandler<Entry extends IFileSystemEntry<?>>
- Type Parameters:
Entry- Common super type of all file system entries.
- All Superinterfaces:
Serializable
public interface IDynamicResourceThumbnailRequestHandler<Entry extends IFileSystemEntry<?>>
extends Serializable
Handles requests to the dynamic resource servlet for a thumbnail of a file entity or file system entry from a
ICommonFileSystem. Used by ElFinderDynamicResourceFileEntityThumbnails.- Since:
- 8.3.0
- Author:
- XIMA Media GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.StreamedContenthandleThumbnailRequest(ICommonFileSystemManager<Entry> fileSystem, IResourceStoreManager resourceStoreManager) Handles a request to the dynamic resource servlet for a thumbnail of a file entity or file system entry from aICommonFileSystem.
-
Method Details
-
handleThumbnailRequest
org.primefaces.model.StreamedContent handleThumbnailRequest(ICommonFileSystemManager<Entry> fileSystem, IResourceStoreManager resourceStoreManager) Handles a request to the dynamic resource servlet for a thumbnail of a file entity or file system entry from aICommonFileSystem. See alsoElFinderDynamicResourceFileEntityThumbnails.- Parameters:
fileSystem- The file system from which to retrieve the images, may be null.resourceStoreManager- The resource store manager to use for storing the thumbnails for each file.- Returns:
- The streamed content for the thumbnail.
-