t
com.daml.platform.store.backend
UserManagementStorageBackend
Companion object UserManagementStorageBackend
trait UserManagementStorageBackend extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserManagementStorageBackend
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def addUserAnnotation(internalId: Int, key: String, value: String, updatedAt: Long)(connection: Connection): Unit
- abstract def addUserRight(internalId: Int, right: UserRight, grantedAt: Long)(connection: Connection): Unit
- abstract def compareAndIncreaseResourceVersion(internalId: Int, expectedResourceVersion: Long)(connection: Connection): Boolean
- abstract def countUserRights(internalId: Int)(connection: Connection): Int
- abstract def createUser(user: DbUserPayload)(connection: Connection): Int
- abstract def deleteUser(id: UserId)(connection: Connection): Boolean
- abstract def deleteUserAnnotations(internalId: Int)(connection: Connection): Unit
- abstract def deleteUserRight(internalId: Int, right: UserRight)(connection: Connection): Boolean
- returns
true if the right existed and we have just deleted it.
- abstract def getUser(id: UserId)(connection: Connection): Option[DbUserWithId]
- abstract def getUserAnnotations(internalId: Int)(connection: Connection): Map[String, String]
- abstract def getUserRights(internalId: Int)(connection: Connection): Set[DbUserRight]
- abstract def getUsersOrderedById(fromExcl: Option[UserId] = None, maxResults: Int)(connection: Connection): Vector[DbUserWithId]
- abstract def increaseResourceVersion(internalId: Int)(connection: Connection): Boolean
- abstract def updateUserIsDeactivated(internalId: Int, isDeactivated: Boolean)(connection: Connection): Boolean
- abstract def updateUserPrimaryParty(internalId: Int, primaryPartyO: Option[lf.data.Ref.Party])(connection: Connection): Boolean
- abstract def userRightExists(internalId: Int, right: UserRight)(connection: Connection): Boolean
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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