Package com.peterphi.usermanager.ui.impl
Class UserUIServiceImpl
java.lang.Object
com.peterphi.usermanager.ui.impl.UserUIServiceImpl
- All Implemented Interfaces:
UserUIService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsechangePassword(int userId, String token, String newPassword, String newPasswordConfirm) javax.ws.rs.core.ResponsedeleteUser(int userId, String token) javax.ws.rs.core.ResponseeditUserProfile(int userId, String token, String dateFormat, String timeZone, String name, String email, List<String> roles) getIndex()javax.ws.rs.core.ResponsegetUserEdit(int userId) getUsers(javax.ws.rs.core.UriInfo query) getWarnAndRedirect(String url) javax.ws.rs.core.Responseimpersonate(int userId, String token) javax.ws.rs.core.ResponserotateAccessKey(int userId, String token)
-
Constructor Details
-
UserUIServiceImpl
public UserUIServiceImpl()
-
-
Method Details
-
getIndex
- Specified by:
getIndexin interfaceUserUIService
-
getWarnAndRedirect
- Specified by:
getWarnAndRedirectin interfaceUserUIService
-
getUsers
- Specified by:
getUsersin interfaceUserUIService
-
getLocalUserEdit
public javax.ws.rs.core.Response getLocalUserEdit()- Specified by:
getLocalUserEditin interfaceUserUIService
-
getUserEdit
- Specified by:
getUserEditin 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:
editUserProfilein interfaceUserUIService
-
rotateAccessKey
- Specified by:
rotateAccessKeyin interfaceUserUIService
-
deleteUser
- Specified by:
deleteUserin interfaceUserUIService
-
changePassword
public javax.ws.rs.core.Response changePassword(int userId, String token, String newPassword, String newPasswordConfirm) - Specified by:
changePasswordin interfaceUserUIService
-
impersonate
- Specified by:
impersonatein interfaceUserUIService
-