public class ViewSpacePermissionsAction extends AbstractPermissionsAction implements SpaceAware, SpaceAdministrative, Spaced, Evented<SpacePermissionsViewEvent>
Modifier and Type | Field and Description |
---|---|
protected ThemeManager |
themeManager |
anonymousPermissionRow, groupPermissionRows, permissionsAdministratorBuilder, userPermissionRows
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewSpacePermissionsAction() |
Modifier and Type | Method and Description |
---|---|
SpacePermissionsViewEvent |
getEventToPublish(String result)
Gets the event to publish.
|
String |
getGuardPermission()
Obtains the relevant guard permission for the action
|
String |
getKey() |
PermissionsAdministrator |
getPermissionsAdministrator() |
Space |
getSpace() |
ThemeManager |
getThemeManager() |
boolean |
isAnonymousSpacePermissionWithoutGlobalPermission() |
boolean |
isAnyUserViewSpacePermissionEnabled() |
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 |
isUnlicensedGlobalPermissionEnabled() |
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) |
bootstrap, getAnonymousPermissionRow, getGroupPermissionRows, getPermissions, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, isAdminUser, isShowGlobalUnlicensedUsersUI, isValidAnonymousPermission, isValidAuthenticatedUsersPermission, setPermissionsAdministratorBuilder
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, 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, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
protected ThemeManager themeManager
public SpacePermissionsViewEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<SpacePermissionsViewEvent>
result
- the result of the action executing.public PermissionsAdministrator getPermissionsAdministrator()
getPermissionsAdministrator
in interface PermissionsAware
public void populateAdministrator()
populateAdministrator
in interface PermissionsAware
public boolean isAnonymousSpacePermissionWithoutGlobalPermission()
public boolean isAnyUserViewSpacePermissionEnabled()
public boolean isUnlicensedGlobalPermissionEnabled()
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()
Copyright © 2003–2020 Atlassian. All rights reserved.