Package org.zanata.action

Examples of org.zanata.action.DashboardUserStats


    }

    @Override
    public DashboardUserStats getDashboardUserStatistic(Long personId,
            Date startDate, Date endDate) {
        DashboardUserStats stats = new DashboardUserStats();
        int[] result =
                activityDAO.getTranslatedStats(personId, startDate, endDate);

        stats.setWordsTranslated(result[0]);
        stats.setMessagesTranslated(result[1]);
        stats.setDocumentsTranslated(result[2]);

        result = activityDAO.getReviewedStats(personId, startDate, endDate);
        stats.setWordsReviewed(result[0]);
        stats.setMessagesReviewed(result[1]);
        stats.setDocumentsReviewed(result[2]);

        return stats;
    }
View Full Code Here

TOP

Related Classes of org.zanata.action.DashboardUserStats

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.