@Controller @RequestMapping(value="/root/users") public class UsersController extends AbstractRootController
| Modifier and Type | Class and Description |
|---|---|
class |
UsersController.Account |
class |
UsersController.User |
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_MAPPING |
static String |
EDIT_ACCOUNT_USERS_FORM_KEY |
BY_ID_DELETE_MAPPING, BY_ID_EDIT_MAPPING, BY_ID_MAPPING, EDIT_MAPPING, log, NEW_MAPPING, USER_MAPPING, USERS_MAPPING| Constructor and Description |
|---|
UsersController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
changeUserRole(Long userId,
AccountUserEditForm accountUserEditForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
deleteUser(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
get() |
protected DuracloudUserService |
getUserService() |
org.springframework.web.servlet.ModelAndView |
resetUsersPassword(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
revokeUserRightsFromAccount(Long userId,
Long accountId,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
void |
setUserService(DuracloudUserService userService) |
getAccountManagerService, getBaseView, getRootAccountManagerService, setAccountManagerService, setRootAccountManagerServiceaccountHasMoreThanOneOwner, createRedirectMav, destroy, formatUserUrl, getAdminRole, getOwnerRole, getUserRole, handleException, init, setError, setError, setFailureFeedback, setSuccessFeedback, setUserRightspublic static final String BASE_MAPPING
public static final String EDIT_ACCOUNT_USERS_FORM_KEY
@RequestMapping(value="") public org.springframework.web.servlet.ModelAndView get()
@Transactional
@RequestMapping(value="/byid/{id}/reset",
method=POST)
public org.springframework.web.servlet.ModelAndView resetUsersPassword(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exception@Transactional
@RequestMapping(value="/byid/{id}/delete",
method=POST)
public org.springframework.web.servlet.ModelAndView deleteUser(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exception@Transactional
@RequestMapping(value="/byid/{id}/revoke",
method=POST)
public org.springframework.web.servlet.ModelAndView revokeUserRightsFromAccount(@PathVariable(value="id")
Long userId,
@RequestParam(required=true)
Long accountId,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exception@Transactional
@RequestMapping(value="/byid/{id}/changerole",
method=POST)
public org.springframework.web.servlet.ModelAndView changeUserRole(@PathVariable(value="id")
Long userId,
@ModelAttribute
AccountUserEditForm accountUserEditForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exceptionprotected DuracloudUserService getUserService()
public void setUserService(DuracloudUserService userService)
Copyright © 2009–2016 DuraSpace. All rights reserved.