Interface EditPermissionsAware
-
- All Superinterfaces:
PermissionsAware
- All Known Implementing Classes:
AbstractEditPermissionAction
,EditGlobalPermissionsAction
,EditSpacePermissionDefaultsAction
,EditSpacePermissionsAction
public interface EditPermissionsAware extends PermissionsAware
This interface is used by all actions that need to edit permissions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
execute()
Add and remove the permissionsList<String>
getGroupsToAddAsList()
String
getSelectedGroup()
String
getSelectedUsername()
List<String>
getUsersToAddAsList()
void
setGroupListToAdd(List<String> groupListToAdd)
List of groups to addvoid
setGroupsToAdd(String groupsToAdd)
Comma delimited list of groups - legacy behaviour, does not support commas in group namesvoid
setSelectedGroup(String selectedGroup)
void
setSelectedUsername(String selectedUsername)
void
setUsersToAdd(String usersToAdd)
void
validate()
Validate the form-
Methods inherited from interface com.atlassian.confluence.security.actions.PermissionsAware
getAnonymousPermissionRow, getGroupPermissionRows, getGuardPermission, getPermissionsAdministrator, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, populateAdministrator
-
-
-
-
Method Detail
-
validate
void validate()
Validate the form
-
execute
String execute() throws Exception
Add and remove the permissions- Returns:
- SUCCESS if completed
- Throws:
Exception
-
setUsersToAdd
void setUsersToAdd(String usersToAdd)
-
setGroupsToAdd
void setGroupsToAdd(String groupsToAdd)
Comma delimited list of groups - legacy behaviour, does not support commas in group names- Parameters:
groupsToAdd
-
-
setGroupListToAdd
void setGroupListToAdd(List<String> groupListToAdd)
List of groups to add- Parameters:
groupListToAdd
-- Since:
- 7.5.0
-
getSelectedUsername
String getSelectedUsername()
-
setSelectedUsername
void setSelectedUsername(String selectedUsername)
-
getSelectedGroup
String getSelectedGroup()
-
setSelectedGroup
void setSelectedGroup(String selectedGroup)
-
-