Uses of Class
com.needleandstitch.pavuk.model.Role
Packages that use Role
Package
Description
-
Uses of Role in com.needleandstitch.pavuk.controller
Methods in com.needleandstitch.pavuk.controller that return types with arguments of type RoleModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Role> RoleController.createRole
(Role role) Creates a new role.RoleController.getAllRoles()
Retrieves all roles.org.springframework.http.ResponseEntity
<Role> RoleController.getRoleById
(Long id) Retrieves a role by its ID.org.springframework.http.ResponseEntity
<Role> RoleController.getRoleByName
(String name) Retrieves a role by its name.org.springframework.http.ResponseEntity
<Role> RoleController.updateRole
(Long id, Role role) Updates an existing role's name.Methods in com.needleandstitch.pavuk.controller with parameters of type RoleModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Role> RoleController.createRole
(Role role) Creates a new role.org.springframework.http.ResponseEntity
<Role> RoleController.updateRole
(Long id, Role role) Updates an existing role's name. -
Uses of Role in com.needleandstitch.pavuk.model
Methods in com.needleandstitch.pavuk.model that return RoleMethods in com.needleandstitch.pavuk.model with parameters of type RoleConstructors in com.needleandstitch.pavuk.model with parameters of type Role -
Uses of Role in com.needleandstitch.pavuk.repository
Subinterfaces with type arguments of type Role in com.needleandstitch.pavuk.repositoryModifier and TypeInterfaceDescriptioninterface
Repository interface for managing Role entities.Methods in com.needleandstitch.pavuk.repository that return types with arguments of type RoleModifier and TypeMethodDescriptionRoleRepository.findByName
(String name) Finds a role by its name. -
Uses of Role in com.needleandstitch.pavuk.service
Methods in com.needleandstitch.pavuk.service that return RoleModifier and TypeMethodDescriptionRoleService.createRole
(String name) Creates a new role.Finds a role by its ID.RoleService.findByName
(String name) Finds a role by its name.RoleService.updateRole
(Long id, String name) Updates an existing role.Methods in com.needleandstitch.pavuk.service that return types with arguments of type RoleMethods in com.needleandstitch.pavuk.service with parameters of type Role