}
@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;
}