@Controller @Lazy @RequestMapping(value="/root/rootusers") public class RootUsersController extends AbstractRootController
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_MAPPING |
static String |
EDIT_ACCOUNT_ROOT_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 |
|---|
RootUsersController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
get() |
protected DuracloudUserService |
getUserService() |
org.springframework.web.servlet.ModelAndView |
setRootUser(UsernameForm usernameForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
void |
setUserService(DuracloudUserService userService) |
org.springframework.web.servlet.ModelAndView |
unsetRootUser(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
UsernameForm |
usernameForm() |
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_ROOT_USERS_FORM_KEY
@ModelAttribute(value="usernameForm") public UsernameForm usernameForm()
@RequestMapping(value="") public org.springframework.web.servlet.ModelAndView get()
@Transactional
@RequestMapping(value="/set-root",
method=POST)
public org.springframework.web.servlet.ModelAndView setRootUser(@ModelAttribute(value="usernameForm")
UsernameForm usernameForm,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exception@Transactional
@RequestMapping(value="/byid/{id}/unset-root",
method=POST)
public org.springframework.web.servlet.ModelAndView unsetRootUser(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exceptionprotected DuracloudUserService getUserService()
public void setUserService(DuracloudUserService userService)
Copyright © 2009–2019 DuraSpace. All rights reserved.