Class FilePreviewHelperBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @RequestScoped
    public class FilePreviewHelperBean
    extends Object
    implements Serializable
    Helper bean for file preview providers, to be used in the context of a JSF view. It provides methods to resolve preview and download content for a given file preview provider, as well as to create and resolve preview provider IDs used for dynamic resource requests. The bean stores a map of preview providers in the user session, which is used to resolve providers by their generated IDs.
    See Also:
    Serialized Form