class AdminService extends AnyRef
Handles all administrator functionality
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AdminService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AdminService()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def addGroupAdmin(pseudonym: String, group: String, permission: String = "SENSITIVE"): Either[Throwable, Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- val ds: DataService
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupAdminInfo: Seq[(String, String, String)]
- def groupInfo: Seq[(String, Int)]
Gets all groups codes from DB
Gets all groups codes from DB
- returns
Sequence of group codes
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def userInfo: Seq[(String, Int)]
Gets all users pseudonyms from DB
Gets all users pseudonyms from DB
- returns
Sequence of pseudonyms
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated