19 package org.turro.user.activity;
21 import java.util.EnumSet;
23 import org.turro.collections.AggregateMap;
24 import org.turro.collections.AggregateMixMap;
25 import org.turro.entities.IElephantEntity;
26 import org.turro.i18n.I_;
27 import org.turro.util.Chars;
38 this.activities = activities;
46 AggregateMap map =
new AggregateMap();
47 for(
Activity activity : activities) {
49 if(activity.getEntityPath().startsWith(
"/dossier/")) {
59 AggregateMap map =
new AggregateMap();
60 for(
Activity activity : activities) {
62 if(activity.getEntityPath().startsWith(
"/challenge/")) {
72 AggregateMap map =
new AggregateMap();
73 for(
Activity activity : activities) {
75 if(activity.getEntityPath().startsWith(
"/dossier/")) {
79 map.inc(Chars.backward() +
" " +
I_.
get(
"Others"));
static String get(String msg)
Map< String, Double[]> getByCategory()
Map< String, Double > getSeenByCategory()
Map< String, Double > getChallengesByCategory()
ActivityReport(ActivitySet activities)
Map< String, Double > getProjectsByCategory()