Packages

class DataService extends AnyRef

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

Instance Constructors

  1. new DataService()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def countReflections(goingok_id: UUID): Either[Throwable, Result]

    Counts all existing reflections

    Counts all existing reflections

    goingok_id

    GoingOk user ID

    returns

    Sequence of reflections

  7. def countUsers: Either[Throwable, Result]

    Counts all existing GoingOk users

    Counts all existing GoingOk users

    returns

    Sequence of users

  8. implicit val cs: ContextShift[IO]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def getAllGroupCodes: Either[Throwable, Result]

    Gets all group codes from DB

    Gets all group codes from DB

    returns

    Sequence of group codes

  12. def getAllPseudonyms: Either[Throwable, Vector[String]]

    Gets all pseudonyms from DB

    Gets all pseudonyms from DB

    returns

    Vector of pseudonyms

  13. def getAuthorReflectionsForGroup(group_code: String): Either[Throwable, Result]
  14. def getAuthorReflectionsForGroupWithRange(group_code: String, start: String, end: String): Either[Throwable, Result]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def getGoingokIdForPseudonym(pseudonym: String): Either[Throwable, UUID]
  17. def getGroupAdmins(): Either[Throwable, Result]
  18. def getGroupCode(code: String): Either[Throwable, GroupCode]

    Gets GoingOK group code from DB

    Gets GoingOK group code from DB

    code

    GoingOK group code

    returns

    GoingOK group code

  19. def getNextPseudonym: Either[Throwable, String]

    Gets the next avaliable pseudonym

    Gets the next avaliable pseudonym

    returns

    pseudonym

  20. def getPermission(goingok_id: UUID, group_code: String): Either[Throwable, Result]

    Gets permission from DB

    Gets permission from DB

    goingok_id

    GoingOK user ID

    group_code

    GoingOK group code

    returns

    permission

  21. def getPseudonymCounts: Either[Throwable, Result]

    Gets pseudonym counts from DB

    Gets pseudonym counts from DB

    returns

    Sequence of pseudonyms

  22. def getReflectionsForGroup(group_code: String): Either[Throwable, Result]

    Gets all reflections for a given group by GoingOK group code

    Gets all reflections for a given group by GoingOK group code

    group_code

    GoingOK group code

    returns

    Sequence of group reflections

  23. def getReflectionsForGroupWithRange(group_code: String, start: String, end: String): Either[Throwable, Result]

    Gets a specified range of reflections for a given group by GoingOK group code

    Gets a specified range of reflections for a given group by GoingOK group code

    group_code

    GoingOK group code

    start

    range start

    end

    range end

    returns

    Sequence of reflections

  24. def getReflectionsForUser(goingokId: UUID): Either[Throwable, Vector[ReflectionEntry]]

    Gets all reflections for a given user by GoingOK user ID

    Gets all reflections for a given user by GoingOK user ID

    goingokId

    GoingOK user ID

    returns

    Vector of reflections

  25. def getUserForId(goingok_id: UUID): Either[Throwable, User]

    Gets GoingOK user from DB by GoingOK user ID

    Gets GoingOK user from DB by GoingOK user ID

    goingok_id

    GoingOK user ID

    returns

    GoingOK user

  26. def getUserWithGoogleId(googleId: String): Either[Throwable, User]

    Gets GoingOK user from DB by Google user ID

    Gets GoingOK user from DB by Google user ID

    googleId

    Google user ID

    returns

    GoingOK user

  27. def getUserWithServiceId(serviceUuid: UUID): Either[Throwable, User]

    Gets GoingOK user from DB by Cognito user ID

    Gets GoingOK user from DB by Cognito user ID

    returns

    GoingOK user

  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def insertActivity(activity: Activity): Either[Throwable, Int]

    Inserts new activity into DB

    Inserts new activity into DB

    activity

    new activity

  30. def insertGroup(groupCode: String, goingok_id: UUID): Either[Throwable, Int]

    Inserts new group code into DB

    Inserts new group code into DB

    groupCode

    new group code

    goingok_id

    GoingOK user ID

  31. def insertGroupAdmin(goingok_id: UUID, group_code: String, permission: String): Either[Throwable, Int]
  32. def insertNewUser(user: User): Either[Throwable, UUID]

    Inserts new GoingOK user into DB

    Inserts new GoingOK user into DB

    user

    GoingOK user

  33. def insertNewUserAuth(userauth: UserAuth): Either[Throwable, UUID]

    Inserts new user Authentication into DB

    Inserts new user Authentication into DB

    userauth

    User authentication

  34. def insertPseudonyms(pseudocodes: List[String]): Either[Throwable, Int]

    Inserts new pseudonyms into DB

    Inserts new pseudonyms into DB

    pseudocodes

    new list of pseudonyms

  35. def insertReflection(reflection: ReflectionData, goingok_id: UUID): Either[Throwable, Int]

    Inserts new reflection into DB

    Inserts new reflection into DB

    reflection

    new reflection

    goingok_id

    GoingOK user ID

  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. val logger: Logger
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def runQuery[A](query: doobie.ConnectionIO[A]): Either[Throwable, A]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def updateCodeForUser(code: String, goingok_id: UUID): Either[Throwable, Int]

    Updates GoingOK group code for a given GoingOK user

    Updates GoingOK group code for a given GoingOK user

    code

    new GoingOK group code

    goingok_id

    GoingOK user ID

  45. def updatePseudonym(pseudonym: String): Either[Throwable, Int]

    Update a given pseudonym from 'not allocated' to 'allocated'

    Update a given pseudonym from 'not allocated' to 'allocated'

    pseudonym

    as string

  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped