public class DownloadBean extends FCContextBean
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
systemUC
Constructor and Description |
---|
DownloadBean() |
Modifier and Type | Method and Description |
---|---|
<T extends IFileDataEntity<?>> |
download(IFileProviding<?,T> resource) |
org.primefaces.model.StreamedContent |
downloadFromFile(File resourceFile) |
org.primefaces.model.StreamedContent |
downloadFromURL(URL resourceURL) |
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
ec, isDetached, isHasDB
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
public <T extends IFileDataEntity<?>> org.primefaces.model.StreamedContent download(IFileProviding<?,T> resource) throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingException
public org.primefaces.model.StreamedContent downloadFromURL(URL resourceURL) throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingException
public org.primefaces.model.StreamedContent downloadFromFile(File resourceFile) throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingException
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.