Package org.cswteams.ms3.control.user
Interface IUserController
- All Known Implementing Classes:
UserController
public interface IUserController
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSystemActor(Long userID, Set<String> systemActors) voidvoiddeleteUserSystemActor(Long userID, String systemActor) getSingleUser(long userId) getSingleUserProfileInfos(Long userId) Function that has the responsibility to retrive information about single user profile to be shown in the user profile view.
-
Method Details
-
getAllUsers
-
createUser
-
getSingleUser
-
getSingleUserProfileInfos
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
-
addSystemActor
-