Examples of ReportType


Examples of com.buschmais.jqassistant.core.plugin.schema.v1.ReportType

    }

    private List<ReportPlugin> getReportPlugins(List<JqassistantPlugin> plugins, Map<String, Object> properties) throws PluginRepositoryException {
        List<ReportPlugin> reportPlugins = new ArrayList<>();
        for (JqassistantPlugin plugin : plugins) {
            ReportType reportType = plugin.getReport();
            if (reportType != null) {
                for (String reportPluginName : reportType.getClazz()) {
                    ReportPlugin reportPlugin = createInstance(reportPluginName);
                    if (reportPlugin != null) {
                        try {
                            reportPlugin.initialize(new HashMap<>(properties));
                        } catch (AnalysisListenerException e) {
View Full Code Here

Examples of org.jabusuite.core.reporting.ReportType

    Logger logger = Logger.getLogger(ReportTypesBean.class);

    public void addReportType(String id, String description) {
        if (this.findReportType(id) == null) {
            logger.debug("Adding report-type for " + id + ".");
            ReportType reportType = new ReportType();
            reportType.setId(id);
            reportType.setDescription(description);
            this.createReportType(reportType);
        }
    }
View Full Code Here

Examples of org.jabusuite.core.reporting.ReportType

        if (reportType!=null) {
            Iterator<ReportType> it = this.getReportTypes().iterator();
            boolean found=false;
            int counter=0;
            while ((it.hasNext()) && (!found)) {
                ReportType rptType = it.next();
                if (rptType.getId().equals(reportType.getId())) {
                    this.setSelectedIndex(counter);
                } else
                    counter++;
            }
        } else if (this.getReportTypes().size()>0) {
View Full Code Here

Examples of org.jabusuite.core.reporting.ReportType

    }
   
    public JbsReport(String reportTypeName, JbsUser user, JbsCompany company) throws Exception {
        this.initReport(user, company);
        ReportTypesRemote reportTypes = (ReportTypesRemote) ClientTools.getRemoteBean(ReportTypesRemote.class);
        ReportType reportType = reportTypes.findReportType(reportTypeName);
        this.reportTemplate = this.findReportTemplate(reportType, user, company);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.