@Controller @Lazy public class AccountInfoController extends AbstractAccountController
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_DETAILS_VIEW_ID |
static String |
ACCOUNT_INFO_EDIT_ID |
static String |
EDIT_ACCOUNT_INFO_FORM_KEY |
static String |
INFO_EDIT_MAPPING |
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 |
|---|
AccountInfoController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
editInfo(Long accountId,
AccountEditForm accountEditForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model) |
String |
getEditForm(Long accountId,
org.springframework.ui.Model model) |
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_INFO_EDIT_ID
public static final String EDIT_ACCOUNT_INFO_FORM_KEY
public static final String INFO_EDIT_MAPPING
@RequestMapping(value="/byid/{accountId}/details/edit",
method=GET)
public String getEditForm(@PathVariable
Long accountId,
org.springframework.ui.Model model)
throws AccountNotFoundException
AccountNotFoundException@Transactional
@RequestMapping(value="/byid/{accountId}/details/edit",
method=POST)
public org.springframework.web.servlet.ModelAndView editInfo(@PathVariable
Long accountId,
@ModelAttribute(value="accountInfoEditForm")
AccountEditForm accountEditForm,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model)
throws AccountNotFoundException,
DBNotFoundException
Copyright © 2009–2016 DuraSpace. All rights reserved.