Package reportgen.ren.loader

Examples of reportgen.ren.loader.SubQueryLoaderResult


        ReportgenQuery query = manager.find(ReportgenQuery.class, id);
        if(query == null) {
            throw new ReportException("Запроса с номером " + id + " не существует!");
        }

        SubQueryLoaderResult res = new SubQueryLoaderResult();
        res.title = query.getTitle();
        res.description = query.getDescription();
        res.report = ReportFactory.fromString(id, query.getQuery(), this);
        return res;
    }
View Full Code Here


     */
    public QueryExecuterSub(Element element, Context context) throws ReportException {
        assert element.getName().equals(TAGNAME);

        int reportId = XML.getIntAttribute(element, ATTR_QUERYID);
        SubQueryLoaderResult rpt = context.getQueryLoader().loadSubReport(reportId);
        report = new QueryExecuter(reportId, rpt.report, rpt.title, rpt.description);

        atom = new Atom(element, context);
        rowCount = new RowCount(element);
        selectTitle = XML.getStringAttribute(element, ATTR_TITLE);
View Full Code Here

        }

        @Override
        public SubQueryLoaderResult loadSubReport(int id) throws ReportException {
            try {
                SubQueryLoaderResult res = new SubQueryLoaderResult();
                QueryLocal ql = new QueryLocal(id, al);
                res.title = ql.getTitle();
                res.description = ql.getDescription();
                res.report = ql.getQuery();
                return res;
View Full Code Here

TOP

Related Classes of reportgen.ren.loader.SubQueryLoaderResult

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.