backend
/
com.tp2020.backend.data.userroles
/
UserRoleRepository
User
Role
Repository
class
UserRoleRepository
Content copied to clipboard
Functions
Functions
equals
Link copied to clipboard
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
getRoleForUserId
Link copied to clipboard
fun
getRoleForUserId
(userId:
Long
):
Pair
<
Int
,
String
>
Content copied to clipboard
hashCode
Link copied to clipboard
open fun
hashCode
():
Int
Content copied to clipboard
insert
Link copied to clipboard
fun
insert
(userRole:
UserRole
):
Long
Content copied to clipboard
toString
Link copied to clipboard
open fun
toString
():
String
Content copied to clipboard
updateUserRole
Link copied to clipboard
fun
updateUserRole
(userId:
Long
, roleId:
Int
):
Int
Content copied to clipboard