Interface RoleControllerInterface
- All Known Implementing Classes:
RoleController
public interface RoleControllerInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRoleToUser
(RoleToUserDTO roleToUserDTO) Add a role to a uservoid
Save a new role
-
Method Details
-
saveRole
Save a new role- Parameters:
role
- the role to be saved
-
addRoleToUser
Add a role to a user- Parameters:
roleToUserDTO
- object containing the username and role name to be added to the user
-