Interface UsersService
public interface UsersService
-
Method Summary
Modifier and TypeMethodDescriptionGet the user.Get the user.Set (add or update) user.setUsers(long directoryId, Collection<UserBean> userBeans) Set (add or update) users.updatePassword(String username, String password) Update the user password.updateUser(String username, UserBean userBean) Update the user.
-
Method Details
-
getUser
Get the user.- Parameters:
username- the username- Returns:
- the user bean
-
getUser
Get the user.- Parameters:
directoryId- the directory idusername- the username- Returns:
- the user bean
-
setUser
Set (add or update) user.- Parameters:
directoryId- the directory iduserBean- the user bean- Returns:
- the set user bean
-
setUsers
Set (add or update) users.- Parameters:
directoryId- the directory iduserBeans- the user beans- Returns:
- the set user beans
-
updateUser
Update the user.- Parameters:
username- the usernameuserBean- the user bean- Returns:
- the updated user bean
-
updatePassword
Update the user password.- Parameters:
username- the usernamepassword- the password- Returns:
- the updated user bean
-