Class DbQueryBean

    • Constructor Detail

      • DbQueryBean

        public DbQueryBean()
    • Method Detail

      • setSessionBean

        public void setSessionBean​(SessionBean sessionBean)
      • updateModel

        public void updateModel()
      • getResultView

        public EDataView getResultView()
      • setResultView

        public void setResultView​(EDataView resultView)
      • getResultString

        public String getResultString()
      • getParamSql

        public String getParamSql()
      • getGeneratedSql

        public String getGeneratedSql()
      • getGeneratedUrl

        public String getGeneratedUrl()
      • getQuery

        public org.primefaces.model.StreamedContent getQuery​(Datenquelle query)
        Generates StreamedContent for the given db query and returns it
        Parameters:
        query - Datenquelle for which the StreamedContent should be generated
        Returns:
        StreamedContent of the given db query
      • getMarkedQueries

        public org.primefaces.model.StreamedContent getMarkedQueries()
        Generates 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.
        Returns:
        the StreamedContent of all the marked model database queries
      • upload

        public void upload​(org.primefaces.event.FileUploadEvent event)
      • createLayoutOptions

        public org.primefaces.extensions.model.layout.LayoutOptions createLayoutOptions()