public abstract class AbstractSpaceAction extends ConfluenceActionSupport implements Spaced
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected NotificationManager |
notificationManager |
protected Space |
space |
protected SpaceManager |
spaceManager |
protected ThemeManager |
themeManager |
protected com.atlassian.renderer.WikiStyleRenderer |
wikiStyleRenderer |
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 |
---|
AbstractSpaceAction() |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
protected List<String> |
getPermissionTypes() |
Space |
getSpace() |
String |
getSpaceKey()
This method is so that we can get the key whether we're in a space action or a page action.
|
String |
getSubscribableName() |
ThemeManager |
getThemeManager() |
protected boolean |
hasSpaceIA() |
boolean |
isPermitted() |
boolean |
isPersonalSpace() |
boolean |
isUserWatchingSpace() |
boolean |
isValidSpaceKey() |
void |
setKey(String key) |
void |
setNotificationManager(NotificationManager notificationManager) |
void |
setSpace(Space space) |
void |
setSpaceManager(SpaceManager spaceManager) |
void |
setThemeManager(ThemeManager themeManager) |
void |
setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer) |
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, 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 SpaceManager spaceManager
protected String key
protected Space space
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
protected NotificationManager notificationManager
protected ThemeManager themeManager
public String getKey()
public String getSpaceKey()
public void setKey(String key)
public boolean isValidSpaceKey()
public void setSpace(Space space)
public void setSpaceManager(SpaceManager spaceManager)
protected List<String> getPermissionTypes()
getPermissionTypes
in class ConfluenceActionSupport
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String getSubscribableName()
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
public boolean isUserWatchingSpace()
public boolean isPersonalSpace()
public void setNotificationManager(NotificationManager notificationManager)
public void setThemeManager(ThemeManager themeManager)
public ThemeManager getThemeManager()
protected boolean hasSpaceIA()
Copyright © 2003–2020 Atlassian. All rights reserved.