Class DailySessionUsageStatistics
java.lang.Object
io.goobi.viewer.model.statistics.usage.DailySessionUsageStatistics
Persistence class holding the usage statistics for a single day in the form of a list of
SessionUsageStatistics
- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSession
(SessionUsageStatistics session) getDate()
getId()
getSession
(String sessionId) long
long
getTotalRequestCount
(RequestType type, String pi) long
getTotalRequestCount
(RequestType type, List<String> identifiersToInclude) long
long
getUniqueRequestCount
(RequestType type, String pi) long
getUniqueRequestCount
(RequestType type, List<String> includedIdentifiers) toString()
-
Constructor Details
-
DailySessionUsageStatistics
- Parameters:
date
-viewer
-
-
DailySessionUsageStatistics
public DailySessionUsageStatistics() -
DailySessionUsageStatistics
- Parameters:
orig
-
-
-
Method Details
-
getSession
- Parameters:
sessionId
-- Returns:
SessionUsageStatistics
-
addSession
- Parameters:
session
-
-
getId
- Returns:
- the id
-
getDate
- Returns:
- the date
-
getViewerInstance
- Returns:
- the viewerInstance
-
getTotalRequestCount
- Parameters:
type
-pi
-- Returns:
- a long
-
getTotalRequestCount
- Parameters:
type
-- Returns:
- a long
-
getTotalRequestCount
- Parameters:
type
-identifiersToInclude
-- Returns:
- a long
-
getUniqueRequestCount
- Parameters:
type
-- Returns:
- a long
-
getUniqueRequestCount
- Parameters:
type
-pi
-- Returns:
- a long
-
getUniqueRequestCount
- Parameters:
type
-includedIdentifiers
-- Returns:
- a long
-
getRecordIdentifier
- Returns:
- List
-
toString
-