@Controller @RequestMapping(value="/root/accounts") public class AccountsController extends AbstractRootController
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_SETUP_MAPPING |
static String |
BASE_MAPPING |
BY_ID_DELETE_MAPPING, BY_ID_EDIT_MAPPING, BY_ID_MAPPING, EDIT_MAPPING, log, NEW_MAPPING, USER_MAPPING, USERS_MAPPING| Constructor and Description |
|---|
AccountsController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
activate(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
deactivate(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
delete(Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.ModelAndView |
get() |
String |
getSetupAccount(Long id,
org.springframework.ui.Model model) |
void |
setAmaEndpoint(org.duracloud.account.config.AmaEndpoint amaEndpoint) |
org.springframework.web.servlet.ModelAndView |
setupAccount(Long id,
AccountSetupForm accountSetupForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
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 ACCOUNT_SETUP_MAPPING
@RequestMapping(value="") public org.springframework.web.servlet.ModelAndView get()
@RequestMapping(value="/byid/{id}/delete",
method=POST)
@Transactional
public org.springframework.web.servlet.ModelAndView delete(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws AccountNotFoundException
AccountNotFoundException@RequestMapping(value="/byid/{id}/activate",
method=POST)
@Transactional
public org.springframework.web.servlet.ModelAndView activate(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws AccountNotFoundException
AccountNotFoundException@RequestMapping(value="/byid/{id}/deactivate",
method=POST)
@Transactional
public org.springframework.web.servlet.ModelAndView deactivate(@PathVariable
Long id,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws AccountNotFoundException
AccountNotFoundException@RequestMapping(value="/byid/{id}/setup",
method=GET)
public String getSetupAccount(@PathVariable
Long id,
org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/byid/{id}/setup",
method=POST)
@Transactional
public org.springframework.web.servlet.ModelAndView setupAccount(@PathVariable
Long id,
@ModelAttribute(value="setupAccountForm")
AccountSetupForm accountSetupForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws Exception
Exceptionpublic void setAmaEndpoint(org.duracloud.account.config.AmaEndpoint amaEndpoint)
Copyright © 2009–2019 DuraSpace. All rights reserved.