Interface UserManager
-
public interface UserManager
TheUserManager
allows to handle user management related features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteUser(OrchestrationUser orchestrationUser)
Deactivates a specified user.UserInformation
getUserInformation(OrchestrationUser orchestrationUser)
Retrieves the information related to a specific user.java.util.List<OrchestrationUser>
getUsers()
Retrieves the list of activated users.boolean
isUserActivated(OrchestrationUser orchestrationUser)
Check whether the provided user identifier corresponds to an activated user.
-
-
-
Method Detail
-
isUserActivated
boolean isUserActivated(@NonNull OrchestrationUser orchestrationUser)
Check whether the provided user identifier corresponds to an activated user.- Parameters:
orchestrationUser
- the user to check- Returns:
- true if the user is activated
-
getUserInformation
@Nullable UserInformation getUserInformation(@NonNull OrchestrationUser orchestrationUser)
Retrieves the information related to a specific user.- Parameters:
orchestrationUser
- the user- Returns:
- a
UserInformation
object or null if user is not activated
-
deleteUser
void deleteUser(@NonNull OrchestrationUser orchestrationUser)
Deactivates a specified user.- Parameters:
orchestrationUser
- the user to deactivate
-
getUsers
java.util.List<OrchestrationUser> getUsers()
Retrieves the list of activated users.- Returns:
- a list of
OrchestrationUser
-
-