Package com.wordpress.salaboy.reporting

Examples of com.wordpress.salaboy.reporting.Report


    public Report loadReport(String callId) {
        if (this.getCache().get("reports") == null) {
            getCache().put("reports", new HashMap<Long, Report>());
        }
        if (((Map<String, Report>) getCache().get("reports")).get(callId) == null) {
            ((Map<String, Report>) getCache().get("reports")).put(callId, new Report());
        }
        return ((Map<String, Report>) getCache().get("reports")).get(callId);
    }
View Full Code Here


    public void addEntryToReport(String callId, String entry) {
        if (this.getCache().get("reports") == null) {
            getCache().put("reports", new HashMap<String, Report>());
        }
        if (((Map<String, Report>) getCache().get("reports")).get(callId) == null) {
            ((Map<String, Report>) getCache().get("reports")).put(callId, new Report());
        }
        Map<String, Report> reports = ((Map<String, Report>) this.getCache().get("reports"));
        reports.get(callId).addEntry(entry);
        this.getCache().put("reports", reports);
View Full Code Here

TOP

Related Classes of com.wordpress.salaboy.reporting.Report

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.