com.atlassian.confluence.security.actions
Interface EditPermissionsAware

All Superinterfaces:
PermissionsAware
All Known Implementing Classes:
AbstractEditPermissionAction, EditGlobalPermissionsAction, EditSpacePermissionsAction

public interface EditPermissionsAware
extends PermissionsAware

This interface is used by all actions that need to edit permissions


Method Summary
 String execute()
          Add and remove the permissions
 List<String> getGroupsToAddAsList()
           
 PermissionCheckDispatcherResultCache getPermissionCheckDispatcherResultCache()
           
 String getSelectedGroup()
           
 String getSelectedUsername()
           
 List<String> getUsersToAddAsList()
           
 void setGroupsToAdd(String groupsToAdd)
           
 void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
           
 void 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, getUserPermissionRows, isSharedMode, 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

getUsersToAddAsList

List<String> getUsersToAddAsList()

setUsersToAdd

void setUsersToAdd(String usersToAdd)

getGroupsToAddAsList

List<String> getGroupsToAddAsList()

setGroupsToAdd

void setGroupsToAdd(String groupsToAdd)

getSelectedUsername

String getSelectedUsername()

setSelectedUsername

void setSelectedUsername(String selectedUsername)

getSelectedGroup

String getSelectedGroup()

setSelectedGroup

void setSelectedGroup(String selectedGroup)

getPermissionCheckDispatcherResultCache

PermissionCheckDispatcherResultCache getPermissionCheckDispatcherResultCache()

setPermissionCheckDispatcherResultCache

void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)


Copyright © 2003-2011 Atlassian. All Rights Reserved.