com.silverpeas.kmelia.stats
Class StatisticServiceImpl
java.lang.Object
com.silverpeas.kmelia.stats.StatisticServiceImpl
- All Implemented Interfaces:
- StatisticService
@Named(value="statisticService")
public class StatisticServiceImpl
- extends Object
- implements StatisticService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticServiceImpl
public StatisticServiceImpl()
getNbConsultedPublication
public Integer getNbConsultedPublication(StatsFilterVO statFilter)
- Specified by:
getNbConsultedPublication
in interface StatisticService
- Parameters:
statFilter
- the statistic filter (Date range, group identifier, application and topic
identifier)
- Returns:
- the number of consulted publications (number of access to publications) which respect
the statistic filter parameters. If statistic filter is null return -1.
getNbStatisticActivityByPeriod
public Integer getNbStatisticActivityByPeriod(StatsFilterVO statFilter)
- Specified by:
getNbStatisticActivityByPeriod
in interface StatisticService
- Parameters:
statFilter
- the statistic filter (Date range, group identifier, application and topic
identifier)
- Returns:
- the number of statistic activity it means the number of created or modified publication
which respect the statistic filter given in parameter. If statistic filter is null return -1.
getStatisticActivity
public StatisticActivityVO getStatisticActivity(StatsFilterVO statFilter)
- Specified by:
getStatisticActivity
in interface StatisticService
- Parameters:
statFilter
- the statistic filter (Date range, group identifier, application and topic
identifier)
- Returns:
- a StatisticActivityVO which contains the detail with number of created and the number
of modified publications in a specific time interval (between statFilter.startDate and
statFilter.endDate)
getNumberOfDifferentConsultedPublications
public Integer getNumberOfDifferentConsultedPublications(StatsFilterVO statFilter)
- Specified by:
getNumberOfDifferentConsultedPublications
in interface StatisticService
- Parameters:
statFilter
- the statistic filter (Date range, application and topic identifier, group
identifier)
- Returns:
- the number of different consulted publications. If statistic filter is null return -1.
Copyright © 2016 Silverpeas. All Rights Reserved.