class AnalyticsService extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnalyticsService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AnalyticsService()
Value Members
- val ds: DataService
- def groupedReflectionCounts(goingok_id: UUID): Option[Seq[(String, Int)]]
Gets all reflections counts from DB
Gets all reflections counts from DB
- goingok_id
GoingOK user ID
- returns
A sequence of reflections and counts
- def groupedUserCounts: Option[Seq[(String, Int)]]
Gets all existing group codes counts from DB
Gets all existing group codes counts from DB
- returns
A sequence of group codes and counts
- def hasPermission(goingok_id: UUID, group_code: String, permission: Permission): Boolean
Checks if a user with the given GoingOK ID and GoingOK group code has permission to access the analytics service
Checks if a user with the given GoingOK ID and GoingOK group code has permission to access the analytics service
- goingok_id
GoingOK user ID
- group_code
GoingOk group code
- permission
boolean permission
- val logger: Logger
- def reflectionsForGroupCSV(group: String, range: Option[String] = None): Option[String]
Creates a CSV of reflections for a given group
Creates a CSV of reflections for a given group
- group
GoingOK group code
- range
range
- returns
CSV representation of reflections