Uses of Enum Class
com.app.model.Role
Packages that use Role
Package
Description
-
Uses of Role in com.app.controller
Methods in com.app.controller that return types with arguments of type RoleModifier and TypeMethodDescriptionUserController.getActualLoginRole
(String token) Retrieves the role of the currently logged-in user. -
Uses of Role in com.app.controller.dto.user
Methods in com.app.controller.dto.user that return RoleModifier and TypeMethodDescriptionActualLoginRole.role()
Returns the value of therole
record component.UpdateUserDto.role()
Returns the value of therole
record component.UserDto.role()
Returns the value of therole
record component.Constructors in com.app.controller.dto.user with parameters of type RoleModifierConstructorDescriptionActualLoginRole
(Role role) Creates an instance of aActualLoginRole
record class.UpdateUserDto
(Long userId, Long holidayHours, Role role) Creates an instance of aUpdateUserDto
record class.UserDto
(Long id, String name, String surname, String username, String email, Integer age, Long holidaysHours, Role role) Creates an instance of aUserDto
record class. -
Uses of Role in com.app.model
Subclasses with type arguments of type Role in com.app.modelModifier and TypeClassDescriptionenum
Enumeration representing user roles within the application.Methods in com.app.model that return Role -
Uses of Role in com.app.persistence.entity
Methods in com.app.persistence.entity with parameters of type RoleModifier and TypeMethodDescriptionUserEntity.withNewRoleAndNewHolidaysHours
(Long holidaysHours, Role role) Returns a new UserEntity with updated role and holiday hours, account enabled. -
Uses of Role in com.app.service
Methods in com.app.service that return RoleModifier and TypeMethodDescriptionUserService.getActualLoginRole
(String token) Retrieves the role of the currently logged-in user based on the token. -
Uses of Role in com.app.service.impl
Methods in com.app.service.impl that return RoleModifier and TypeMethodDescriptionUserServiceImpl.getActualLoginRole
(String token) Retrieves the role of the currently logged-in user based on the authentication token.