Package org.joget.report.model

Examples of org.joget.report.model.ReportApp


                pInstance = new ReportWorkflowProcessInstance();
                pInstance.setInstanceId(processInstanceId);

                //get app
                AppDefinition appDef = appService.getAppDefinition(appId, appVersion);
                ReportApp reportApp = reportManager.getReportApp(appId, appVersion, appDef.getName());

                //get package
                ReportWorkflowPackage reportPackage = reportManager.getReportWorkflowPackage(reportApp, wfProcess.getPackageId(), wfProcess.getVersion(), wfProcess.getName());

                //get process
View Full Code Here


            return false;
        }
    }

    public ReportApp getReportApp(String appId, String appVersion) {
        ReportApp app = new ReportApp();
        app.setAppId(appId);
        app.setAppVersion(appVersion);
        List<ReportApp> apps = (List<ReportApp>) super.findByExample(ENTITY_NAME, app);

        if (apps != null && !apps.isEmpty()) {
            return apps.get(0);
        }
View Full Code Here

        }
        return report;
    }

    public ReportApp getReportApp(String appId, String appVersion, String appName) {
        ReportApp reportApp = reportAppDao.getReportApp(appId, appVersion);
        if (reportApp == null) {
            reportApp = new ReportApp();
            reportApp.setAppId(appId);
            reportApp.setAppVersion(appVersion);
            reportApp.setAppName(appName);
            if (reportAppDao.saveReportApp(reportApp)) {
                return reportAppDao.getReportApp(appId, appVersion);
            } else {
                return null;
            }
View Full Code Here

TOP

Related Classes of org.joget.report.model.ReportApp

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.