Class ElFinderDynamicResourceFileEntityThumbnails.BaseBuilder<Entry extends IFileSystemEntry<?>>
- java.lang.Object
-
- de.xima.fc.gui.elfinder.ElFinderDynamicResourceFileEntityThumbnails.BaseBuilder<Entry>
-
- Type Parameters:
Entry- Common super type of all file system entries.
- Enclosing class:
- ElFinderDynamicResourceFileEntityThumbnails
public static final class ElFinderDynamicResourceFileEntityThumbnails.BaseBuilder<Entry extends IFileSystemEntry<?>> extends Object
Base builder for generating thumbnail URLs via the dynamic resource servlet and handling requests to that servlet. This base builder lets you configure options that are common toElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuilderandElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder. UseurlGenerator()orrequestHandler()to continue with a specific builder.ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuildercreates a URL for the thumbnail, using PrimeFaces' dynamic resource feature, seeDynamicContentSrcBuilderandDynamicContentHandler.ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuildercreates a handler for processing requests to the dynamic resource servlet. It finds or generates the thumbnail image and writes it to the response.The thumbnail may come from two sources: either directly from the file, in case the file was not
yet changed; or directly from theICommonFileSystemin case the file has unsaved changes.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <FileEntity extends IFileEntity<?,?>>
ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder<Entry,FileEntity>requestHandler()Continues as a builder for a thumbnail request handler for file system entries from aICommonFileSystem, with initial data from aIFileEntitystored in a database.protected ElFinderDynamicResourceFileEntityThumbnails.BaseBuilder<Entry>self()ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuilder<Entry>urlGenerator()Continues as a builder for a URL creator that generates thumbnails for image files from file system entries of aICommonFileSystem, with initial data from aIFileEntitystored in a database.
-
-
-
Method Detail
-
requestHandler
public <FileEntity extends IFileEntity<?,?>> ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder<Entry,FileEntity> requestHandler()
Continues as a builder for a thumbnail request handler for file system entries from aICommonFileSystem, with initial data from aIFileEntitystored in a database. This is the method for the request handler, see alsourlGenerator.ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuildercreates a URL for the thumbnail, using PrimeFaces' dynamic resource feature, seeDynamicContentSrcBuilderandDynamicContentHandler.ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuildercreates a handler for processing HTTP requests to the dynamic resource servlet. It finds or generates the thumbnail image and writes it to the response.The thumbnail may come from two sources: either directly from the file, in case the file was not
yet changed; or directly from theICommonFileSystemin case the file has unsaved changes.- Type Parameters:
FileEntity- The type of the file entity.- Returns:
- A new builder for creating a thumbnail generator.
-
urlGenerator
public ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuilder<Entry> urlGenerator()
Continues as a builder for a URL creator that generates thumbnails for image files from file system entries of aICommonFileSystem, with initial data from aIFileEntitystored in a database. This is the method for the request handler, see alsorequestHandler.ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuildercreates a URL for the thumbnail, using PrimeFaces' dynamic resource feature, seeDynamicContentSrcBuilderandDynamicContentHandler.ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuildercreates a handler for processing HTTP requests to the dynamic resource servlet. It finds or generates the thumbnail image and writes it to the response.The thumbnail may come from two sources: either directly from the file, in case the file was not
yet changed; or directly from theICommonFileSystemin case the file has unsaved changes.- Returns:
- A new builder for creating a thumbnail generator.
-
self
protected ElFinderDynamicResourceFileEntityThumbnails.BaseBuilder<Entry> self()
-
-