Packages

c

org.goingok.server.services

AnalyticsService

class AnalyticsService extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnalyticsService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AnalyticsService()

Value Members

  1. val ds: DataService
  2. 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

  3. 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

  4. 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

  5. val logger: Logger
  6. 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