@Lazy @RequestMapping(value="/accounts") public abstract class AbstractAccountController extends AbstractController
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_HOME |
static String |
ACCOUNT_INFO_KEY |
static String |
ACCOUNT_PATH |
protected AccountManagerService |
accountManagerService |
static String |
ACCOUNTS_PATH |
static String |
ACTION_STATUS |
static String |
DC_VERSIONS_KEY |
static String |
EDIT_PATH |
static String |
NEW_ACCOUNT_VIEW |
static String |
STATEMENT_PATH |
protected DuracloudUserService |
userService |
BY_ID_DELETE_MAPPING, BY_ID_EDIT_MAPPING, BY_ID_MAPPING, EDIT_MAPPING, log, NEW_MAPPING, USER_MAPPING, USERS_MAPPING| Constructor and Description |
|---|
AbstractAccountController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAccountInfoToModel(org.duracloud.account.db.model.AccountInfo info,
org.springframework.ui.Model model) |
protected void |
addAccountOwnersToModel(List<org.duracloud.account.db.model.DuracloudUser> owners,
org.springframework.ui.Model model) |
protected void |
addUserToModel(org.springframework.ui.Model model) |
protected org.springframework.web.servlet.ModelAndView |
createAccountRedirectModelAndView(Long accountId,
String suffix) |
protected org.springframework.web.servlet.View |
createAccountRedirectView(Long accountId,
String suffix) |
AccountManagerService |
getAccountManagerService() |
protected org.duracloud.account.db.model.DuracloudUser |
getUser() |
DuracloudUserService |
getUserService() |
protected org.duracloud.account.db.model.AccountInfo |
loadAccountInfo(AccountService accountService,
org.springframework.ui.Model model) |
protected org.duracloud.account.db.model.AccountInfo |
loadAccountInfo(Long accountId,
org.springframework.ui.Model model) |
protected void |
loadBillingInfo(Long accountId,
org.springframework.ui.Model model) |
protected void |
loadProviderInfo(Long accountId,
org.springframework.ui.Model model) |
void |
setAccountManagerService(AccountManagerService accountManagerService) |
void |
setUserService(DuracloudUserService userService) |
accountHasMoreThanOneOwner, createRedirectMav, destroy, formatUserUrl, getAdminRole, getOwnerRole, getUserRole, handleException, init, setError, setError, setFailureFeedback, setSuccessFeedback, setUserRightspublic static final String ACCOUNTS_PATH
public static final String ACCOUNT_PATH
public static final String EDIT_PATH
public static final String STATEMENT_PATH
public static final String ACCOUNT_INFO_KEY
public static final String DC_VERSIONS_KEY
public static final String ACTION_STATUS
@Autowired(required=true) protected AccountManagerService accountManagerService
@Autowired(required=true) protected DuracloudUserService userService
public static final String NEW_ACCOUNT_VIEW
public static final String ACCOUNT_HOME
public AccountManagerService getAccountManagerService()
public void setAccountManagerService(AccountManagerService accountManagerService)
public DuracloudUserService getUserService()
public void setUserService(DuracloudUserService userService)
protected void addAccountInfoToModel(org.duracloud.account.db.model.AccountInfo info,
org.springframework.ui.Model model)
protected void addAccountOwnersToModel(List<org.duracloud.account.db.model.DuracloudUser> owners, org.springframework.ui.Model model) throws AccountNotFoundException
AccountNotFoundExceptionprotected org.duracloud.account.db.model.AccountInfo loadAccountInfo(Long accountId, org.springframework.ui.Model model) throws AccountNotFoundException
accountId - model - AccountNotFoundExceptionprotected org.duracloud.account.db.model.AccountInfo loadAccountInfo(AccountService accountService, org.springframework.ui.Model model)
protected org.springframework.web.servlet.ModelAndView createAccountRedirectModelAndView(Long accountId, String suffix)
accountId - suffix - protected org.springframework.web.servlet.View createAccountRedirectView(Long accountId, String suffix)
accountId - suffix - protected void loadBillingInfo(Long accountId, org.springframework.ui.Model model)
protected void loadProviderInfo(Long accountId, org.springframework.ui.Model model) throws AccountNotFoundException
AccountNotFoundExceptionprotected void addUserToModel(org.springframework.ui.Model model)
throws DBNotFoundException
DBNotFoundExceptionprotected org.duracloud.account.db.model.DuracloudUser getUser()
throws DBNotFoundException
DBNotFoundExceptionCopyright © 2009–2019 DuraSpace. All rights reserved.