Interface RoleControllerInterface

All Known Implementing Classes:
RoleController

public interface RoleControllerInterface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a role to a user
    void
    saveRole(Role role)
    Save a new role
  • Method Details

    • saveRole

      void saveRole(Role role)
      Save a new role
      Parameters:
      role - the role to be saved
    • addRoleToUser

      void addRoleToUser(RoleToUserDTO roleToUserDTO)
      Add a role to a user
      Parameters:
      roleToUserDTO - object containing the username and role name to be added to the user