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 |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, 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 |
isAdminUser()
Deprecated.
since 3.1 this method does not seem to be called from anywhere.
|
boolean |
isPermitted() |
boolean |
isPersonalSpace() |
boolean |
isSuperUser()
Deprecated.
since 3.5 this method is not called anywhere and should not be used
|
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, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
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
@Deprecated public boolean isSuperUser()
@Deprecated public boolean isAdminUser()
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–2015 Atlassian. All rights reserved.