Interface IUserController

All Known Implementing Classes:
UserController

public interface IUserController
  • Method Details

    • getAllUsers

      Set<UserDTO> getAllUsers()
    • createUser

      void createUser(UserCreationDTO c)
    • getSingleUser

      UserDetailsDTO getSingleUser(long userId)
    • getSingleUserProfileInfos

      SingleUserProfileDTO getSingleUserProfileInfos(Long userId)
      Function that has the responsibility to retrive information about single user profile to be shown in the user profile view. In particular this method converts doctor entity of the backend in the
      Parameters:
      userId - The ID of the user/doctor we are searching
      Returns:
      A well formatted DTO or a dummy DTO with id = -1 if id doesn't corresponds to any DB entry or a null instance if there has been any other problem in the backend
    • deleteUserSystemActor

      void deleteUserSystemActor(Long userID, String systemActor)
    • addSystemActor

      void addSystemActor(Long userID, Set<String> systemActors)