Package com.peterphi.usermanager.ui.impl
Class UserUIServiceImpl
java.lang.Object
com.peterphi.usermanager.ui.impl.UserUIServiceImpl
- All Implemented Interfaces:
UserUIService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
changePassword
(int userId, String token, String newPassword, String newPasswordConfirm) javax.ws.rs.core.Response
deleteUser
(int userId, String token) javax.ws.rs.core.Response
editUserProfile
(int userId, String token, String dateFormat, String timeZone, String name, String email, List<String> roles) getIndex()
javax.ws.rs.core.Response
getUserEdit
(int userId) getUsers
(javax.ws.rs.core.UriInfo query) getWarnAndRedirect
(String url) javax.ws.rs.core.Response
impersonate
(int userId, String token) javax.ws.rs.core.Response
rotateAccessKey
(int userId, String token)
-
Constructor Details
-
UserUIServiceImpl
public UserUIServiceImpl()
-
-
Method Details
-
getIndex
- Specified by:
getIndex
in interfaceUserUIService
-
getWarnAndRedirect
- Specified by:
getWarnAndRedirect
in interfaceUserUIService
-
getUsers
- Specified by:
getUsers
in interfaceUserUIService
-
getLocalUserEdit
public javax.ws.rs.core.Response getLocalUserEdit()- Specified by:
getLocalUserEdit
in interfaceUserUIService
-
getUserEdit
- Specified by:
getUserEdit
in interfaceUserUIService
-
editUserProfile
public javax.ws.rs.core.Response editUserProfile(int userId, String token, String dateFormat, String timeZone, String name, String email, List<String> roles) - Specified by:
editUserProfile
in interfaceUserUIService
-
rotateAccessKey
- Specified by:
rotateAccessKey
in interfaceUserUIService
-
deleteUser
- Specified by:
deleteUser
in interfaceUserUIService
-
changePassword
public javax.ws.rs.core.Response changePassword(int userId, String token, String newPassword, String newPasswordConfirm) - Specified by:
changePassword
in interfaceUserUIService
-
impersonate
- Specified by:
impersonate
in interfaceUserUIService
-