Class StatisticsSummaryBuilder
java.lang.Object
io.goobi.viewer.model.statistics.usage.StatisticsSummaryBuilder
Class collecting usage statistics data for a number of days to provide an overall summary for output
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionConstructor using instances fromDataManager
StatisticsSummaryBuilder
(IDAO dao, SolrSearchIndex searchIndex) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionloadSummary
(StatisticsSummaryFilter filter) Collect usage statistics from SOLR in aStatisticsSummary
-
Constructor Details
-
StatisticsSummaryBuilder
Constructor using instances fromDataManager
- Throws:
DAOException
-
StatisticsSummaryBuilder
Default constructor- Parameters:
dao
- theIDAO
to set. May be null since it isn't usedsearchIndex
- theSolrSearchIndex
to set
-
-
Method Details
-
loadSummary
public StatisticsSummary loadSummary(StatisticsSummaryFilter filter) throws IndexUnreachableException, PresentationException Collect usage statistics from SOLR in aStatisticsSummary
- Parameters:
filter
- aStatisticsSummaryFilter
to filter results- Returns:
- a
StatisticsSummary
- Throws:
DAOException
IndexUnreachableException
PresentationException
-