Package reportgen.ren.executer

Examples of reportgen.ren.executer.QueryExecuter


        checkCommandAccessibility(COMMAND_CREATE);
        Object rr = null;
        try {
            System.out.println("TESTING XML:\n" + reportXML);
            ReportQuery report = ReportFactory.fromString(0, reportXML, this);
            rootQuery = new QueryExecuter(0, report, "Тестовый отчет", "");
            rr = executeQuery(rootQuery);
        } catch (Exception reportException) {
            throw new ClipsServerException("При обработке отчета произошла ошибка", reportException);
        }
View Full Code Here


            checkCommandAccessibility(COMMAND_READ);
        }
        ReportgenQuery query = findEntity(ReportgenQuery.class, id);
        try {
            ReportQuery report = ReportFactory.fromString(id, query.getQuery(), this);
            rootQuery = new QueryExecuter(id, report, query.getTitle(), query.getDescription());
            return executeQuery(rootQuery);
        } catch (Exception reportException) {
            throw new ClipsServerException("При обработке отчета произошла ошибка", reportException);
        }
    }
View Full Code Here

                subquery.setResults(queryResultsData.queryResults);
                return true;
            }
        }
        for(QueryExecuterSub subquery : rep.getSubReports().getList()) {
            QueryExecuter subreport = subquery.getReport();
            if(mergeQueryResultsData(subreport.getId(), subreport.getQuery(), queryResultsData)) {
                return true;
            }
        }
        assert false :"Unknown result";
        return false;
View Full Code Here

TOP

Related Classes of reportgen.ren.executer.QueryExecuter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.