public class DBQueryBean extends FCContextBean
Modifier and Type | Class and Description |
---|---|
class |
DBQueryBean.EntityListModelImpl |
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
systemUC
Constructor and Description |
---|
DBQueryBean() |
Modifier and Type | Method and Description |
---|---|
List<DatenbankZugriff> |
getDatenbankzugriffe() |
String |
getGeneratedSql() |
String |
getGeneratedUrl() |
org.primefaces.model.StreamedContent |
getMarkedQueries()
Generates
StreamedContent from the List of all the marked database queries contained within the
model. |
IEntityListModelSelectByView<Datenquelle> |
getModel() |
String |
getParamSql() |
org.primefaces.model.StreamedContent |
getQuery(Datenquelle query)
Generates
StreamedContent for the given db query and returns it |
List<IParameterModel> |
getQueryParams() |
String |
getResourceName(Datenquelle datenquelle) |
String |
getResultString() |
DataTable<String,String> |
getResultTable() |
EDataView |
getResultView() |
void |
setModel(IEntityListModelSelectByView<Datenquelle> model) |
void |
setQueryParams(List<IParameterModel> queryParams) |
void |
setResultView(EDataView resultView) |
void |
updateModel() |
void |
upload(org.primefaces.event.FileUploadEvent event) |
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
ec, isDetached, isHasDB
destroySessionBean, encodeURL, 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
public void updateModel()
public String getResourceName(Datenquelle datenquelle)
public IEntityListModelSelectByView<Datenquelle> getModel()
public void setModel(IEntityListModelSelectByView<Datenquelle> model)
model
- the model to setpublic List<DatenbankZugriff> getDatenbankzugriffe()
public EDataView getResultView()
public void setResultView(EDataView resultView)
public List<IParameterModel> getQueryParams()
public void setQueryParams(List<IParameterModel> queryParams)
public String getResultString()
public String getParamSql()
public String getGeneratedSql()
public String getGeneratedUrl()
public org.primefaces.model.StreamedContent getQuery(Datenquelle query)
StreamedContent
for the given db query and returns itquery
- Datenquelle
for which the StreamedContent
should be generatedStreamedContent
of the given db querypublic org.primefaces.model.StreamedContent getMarkedQueries()
StreamedContent
from the List of all the marked database queries contained within the
model. If this list contains only a single entry the StreamedContent
for this database query will be
returned. If the list contains more than one entry the queries will be packed into a zip file and the generated
StreamedContent
of the zip file will be returned.StreamedContent
of all the marked model database queriespublic void upload(org.primefaces.event.FileUploadEvent event)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.