@Controller @Lazy public class AccountGroupsController extends AbstractAccountController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AVAILABLE_USERS_KEY |
protected DuracloudGroupService |
duracloudGroupService |
protected static String |
GROUP_EDIT_PATH |
protected static String |
GROUP_EDIT_VIEW_ID |
protected static String |
GROUP_FORM_KEY |
protected static String |
GROUP_KEY |
protected static String |
GROUP_NAME_KEY |
protected static String |
GROUP_PATH |
protected static String |
GROUP_USERS_KEY |
protected static String |
GROUP_VIEW_ID |
protected static String |
GROUPS_FORM_KEY |
protected static String |
GROUPS_PATH |
protected static String |
GROUPS_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 |
|---|
AccountGroupsController() |
| Modifier and Type | Method and Description |
|---|---|
String |
editGroup(Long accountId,
String groupName,
GroupForm form,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
String |
editGroup(Long accountId,
String groupName,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
String |
getGroup(Long accountId,
String groupName,
org.springframework.ui.Model model) |
String |
getGroups(Long accountId,
org.springframework.ui.Model model) |
String |
modifyGroups(Long accountId,
org.springframework.ui.Model model,
GroupsForm form,
org.springframework.validation.BindingResult result) |
void |
setDuracloudGroupService(DuracloudGroupService groupService) |
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, setUserRightsprotected static final String AVAILABLE_USERS_KEY
protected static final String GROUPS_VIEW_ID
protected static final String GROUP_VIEW_ID
protected static final String GROUP_EDIT_VIEW_ID
protected static final String GROUPS_FORM_KEY
protected static final String GROUP_FORM_KEY
protected static String GROUP_USERS_KEY
protected static String GROUP_NAME_KEY
protected static String GROUP_KEY
protected static final String GROUPS_PATH
protected static final String GROUP_PATH
protected static final String GROUP_EDIT_PATH
@Autowired protected DuracloudGroupService duracloudGroupService
@RequestMapping(value="/byid/{accountId}/groups",
method=GET)
public String getGroups(@PathVariable
Long accountId,
org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/byid/{accountId}/groups",
method=POST)
@Transactional
public String modifyGroups(@PathVariable
Long accountId,
org.springframework.ui.Model model,
@ModelAttribute(value="groupsForm")
GroupsForm form,
org.springframework.validation.BindingResult result)
throws Exception
Exception@RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}",
method=GET)
public String getGroup(@PathVariable
Long accountId,
@PathVariable
String groupName,
org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}/edit",
method=GET)
public String editGroup(@PathVariable
Long accountId,
@PathVariable
String groupName,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model)
throws Exception
Exception@RequestMapping(value="/byid/{accountId}/groups/{groupName:[a-z0-9._\\-@]+}/edit",
method=POST)
@Transactional
public String editGroup(@PathVariable
Long accountId,
@PathVariable
String groupName,
@ModelAttribute(value="groupForm")
GroupForm form,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model)
throws Exception
Exceptionpublic void setDuracloudGroupService(DuracloudGroupService groupService)
Copyright © 2009–2016 DuraSpace. All rights reserved.