@Controller @Lazy public class AccountDetailsController extends AbstractAccountController
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_DETAILS_MAPPING |
static String |
ACCOUNT_DETAILS_PATH |
static String |
ACCOUNT_DETAILS_VIEW_ID |
ACCOUNT_HOME, ACCOUNT_INFO_KEY, ACCOUNT_PATH, accountManagerService, ACCOUNTS_PATH, ACTION_STATUS, DC_VERSIONS_KEY, EDIT_PATH, NEW_ACCOUNT_VIEW, STATEMENT_PATH, userServiceBY_ID_DELETE_MAPPING, BY_ID_EDIT_MAPPING, BY_ID_MAPPING, EDIT_MAPPING, log, NEW_MAPPING, USER_MAPPING, USERS_MAPPING| Constructor and Description |
|---|
AccountDetailsController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
addProvider(Long accountId,
ProviderForm providerForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model) |
String |
get(Long accountId,
org.springframework.ui.Model model) |
org.springframework.web.servlet.View |
makePrimary(Long accountId,
String providerType,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
org.springframework.web.servlet.View |
removeProvider(Long accountId,
String providerType,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
addAccountInfoToModel, addAccountOwnersToModel, addUserToModel, createAccountRedirectModelAndView, createAccountRedirectView, getAccountManagerService, getUser, getUserService, loadAccountInfo, loadAccountInfo, loadBillingInfo, loadProviderInfo, setAccountManagerService, setUserServiceaccountHasMoreThanOneOwner, createRedirectMav, destroy, formatUserUrl, getAdminRole, getOwnerRole, getUserRole, handleException, init, setError, setError, setFailureFeedback, setSuccessFeedback, setUserRightspublic static final String ACCOUNT_DETAILS_VIEW_ID
public static final String ACCOUNT_DETAILS_PATH
public static final String ACCOUNT_DETAILS_MAPPING
@RequestMapping(value="/byid/{accountId}/details",
method=GET)
public String get(@PathVariable
Long accountId,
org.springframework.ui.Model model)
throws AccountNotFoundException,
DBNotFoundException
@RequestMapping(value="/byid/{accountId}/details/providers/add",
method=POST)
@Transactional
public org.springframework.web.servlet.ModelAndView addProvider(@PathVariable
Long accountId,
@ModelAttribute(value="providerForm")
ProviderForm providerForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model)
throws AccountNotFoundException
AccountNotFoundException@RequestMapping(value="/byid/{accountId}/details/providers/{providerType}/remove",
method=POST)
@Transactional
public org.springframework.web.servlet.View removeProvider(@PathVariable
Long accountId,
@PathVariable
String providerType,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws AccountNotFoundException
AccountNotFoundException@RequestMapping(value="/byid/{accountId}/details/providers/{providerType}/make-primary",
method=POST)
@Transactional
public org.springframework.web.servlet.View makePrimary(@PathVariable
Long accountId,
@PathVariable
String providerType,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
throws AccountNotFoundException
AccountNotFoundExceptionCopyright © 2009–2019 DuraSpace. All rights reserved.