public class EditSpacePermissionsAction extends AbstractEditPermissionAction implements EditPermissionsAware, SpaceAware, SpaceAdministrative, Spaced, Evented<SpacePermissionsUpdateEvent>
permissionsAdministrator, selectedGroup, selectedUsername
anonymousPermissionRow, groupPermissionRows, permissionsAdministratorBuilder, userPermissionRows
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
EditSpacePermissionsAction() |
Modifier and Type | Method and Description |
---|---|
String |
doAddBrowseSpacePermission()
Space action specfic
|
String |
doDisableAnyUserViewSpacePermission() |
String |
execute()
Add and remove the permissions
|
SpacePermissionsUpdateEvent |
getEventToPublish(String result)
Gets the event to publish.
|
String |
getGuardPermission()
Obtains the relevant guard permission for the action
|
String |
getKey() |
Space |
getSpace() |
ThemeManager |
getThemeManager() |
boolean |
hasSpaceSideBar()
Tells whether the page has a Space IA bar on the left.
|
boolean |
isPermitted() |
boolean |
isSpaceRequired()
If the action requires that the space be set before being run, then it should
return true to this method.
|
boolean |
isViewPermissionRequired() |
void |
populateAdministrator() |
void |
setKey(String key) |
void |
setSpace(Space space)
IOC method for setting the space on the action.
|
void |
setSpaceManager(SpaceManager spaceManager) |
void |
setThemeManager(ThemeManager themeManager) |
executeAction, getGroupsToAddAsList, getPermissionsAdministrator, getSelectedGroup, getSelectedUsername, getUsersToAddAsList, setGroupsToAdd, setSelectedGroup, setSelectedUsername, setUsersToAdd, validate
bootstrap, getAnonymousPermissionRow, getGroupPermissionRows, getPermissions, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, isAdminUser, isShowGlobalUnlicensedUsersUI, isValidAnonymousPermission, isValidAuthenticatedUsersPermission, setPermissionsAdministratorBuilder
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupsToAddAsList, getSelectedGroup, getSelectedUsername, getUsersToAddAsList, setGroupsToAdd, setSelectedGroup, setSelectedUsername, setUsersToAdd, validate
getAnonymousPermissionRow, getGroupPermissionRows, getPermissionsAdministrator, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, isSharedMode
public String doAddBrowseSpacePermission()
public String doDisableAnyUserViewSpacePermission()
public void populateAdministrator()
populateAdministrator
in interface PermissionsAware
public String execute() throws Exception
EditPermissionsAware
execute
in interface EditPermissionsAware
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public SpacePermissionsUpdateEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<SpacePermissionsUpdateEvent>
result
- the result of the action executing.public void setSpaceManager(SpaceManager spaceManager)
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String getGuardPermission()
PermissionsAware
getGuardPermission
in interface PermissionsAware
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface SpaceAware
public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
public void setSpace(Space space)
SpaceAware
setSpace
in interface SpaceAware
space
- the space that the action will be working on.public String getKey()
public void setKey(String key)
public void setThemeManager(ThemeManager themeManager)
public ThemeManager getThemeManager()
public boolean hasSpaceSideBar()
Copyright © 2003–2017 Atlassian. All rights reserved.