UserRoleRepository

class UserRoleRepository

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getRoleForUserId
Link copied to clipboard
fun getRoleForUserId(userId: Long): Pair<Int, String>
hashCode
Link copied to clipboard
open fun hashCode(): Int
insert
Link copied to clipboard
fun insert(userRole: UserRole): Long
toString
Link copied to clipboard
open fun toString(): String
updateUserRole
Link copied to clipboard
fun updateUserRole(userId: Long, roleId: Int): Int