Uses of Enum Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.model.enums.Role
Packages that use Role
Package
Description
-
Uses of Role in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.config
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.config that return RoleModifier and TypeMethodDescription@NotNull(message="Role cannot be null") Role
UserConfigDTO.role()
Returns the value of therole
record component.Constructors in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.config with parameters of type RoleModifierConstructorDescriptionUserConfigDTO
(@NotNull(message="Role cannot be null") Role role, @NotNull(message="Challenge config cannot be null") ChallengeConfigDTO challengeConfig) Creates an instance of aUserConfigDTO
record class. -
Uses of Role in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type RoleModifier and TypeMethodDescriptionRegisterMapper.toEntity
(RegisterRequest request, Role role, String encodedPassword) Maps User register DTO to entity -
Uses of Role in org.ntnu.idi.idatt2106.sparesti.sparestibackend.model.enums
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.model.enums that return Role