Packages

class AdminService extends AnyRef

Handles all administrator functionality

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

Instance Constructors

  1. new AdminService()

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. def addGroup(groupCode: String, goingokId: UUID): Either[Throwable, Int]

    Adds new group and inserts it into DB

    Adds new group and inserts it into DB

    groupCode

    user's group code

    goingokId

    user's GoingOk ID

  5. def addGroupAdmin(pseudonym: String, group: String, permission: String = "SENSITIVE"): Either[Throwable, Int]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def createPseudonyms(num: Int): Either[Throwable, Int]

    Creates new pseudonyms and inserts them into DB

    Creates new pseudonyms and inserts them into DB

    num

    number of pseudonyms to be created

  9. val ds: DataService
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def getAdminUser(goingok_id: UUID): Either[Throwable, User]

    Checks if a user has admin role and returns the user if true

    Checks if a user has admin role and returns the user if true

    goingok_id

    GoingOk User ID

    returns

    GoingOk Admin User

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def groupAdminInfo: Seq[(String, String, String)]
  15. def groupInfo: Seq[(String, Int)]

    Gets all groups codes from DB

    Gets all groups codes from DB

    returns

    Sequence of group codes

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val logger: Logger
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def userInfo: Seq[(String, Int)]

    Gets all users pseudonyms from DB

    Gets all users pseudonyms from DB

    returns

    Sequence of pseudonyms

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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