com.atlassian.confluence.spaces.actions
Class AbstractSpaceAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.spaces.actions.AbstractSpaceAction
- All Implemented Interfaces:
- WebInterface, Spaced, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
- Direct Known Subclasses:
- AbstractBlogPostsAction, AbstractCreateSpaceAction, AbstractLookAndFeelAction, AbstractMailAccountAction, AbstractMailAction, AbstractPageTemplateAction, AbstractPaginatedListAction, AbstractSpaceLabelAction, AbstractSpacePermissionsAction, AddSpaceNotificationAction, AddSpaceToFavouritesAction, BrowseSpaceAction, DirectoryViewListPagesAction, EditSpaceAction, EnableDisableMailAction, ExportSpaceAction, ImportMboxAction, ImportPagesAction, ListAttachmentsAction, ListPagesAction, PurgeTrashItemAction, RemoveLabelFromSpaceAction, RemoveMailAccountAction, RemoveSpaceAction, RemoveSpaceFromFavouritesAction, RemoveSpaceMailAction, RemoveSpaceNotificationAction, RestoreExistingTrashItemAction, RestoreTrashItemAction, SpaceAdminAction, ViewMailAccountsAction, ViewSpaceAction, ViewSpaceContentAction, ViewTrashAction
public abstract class AbstractSpaceAction
- extends ConfluenceActionSupport
- implements Spaced
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spaceManager
protected SpaceManager spaceManager
key
protected java.lang.String key
space
protected Space space
originalSpace
protected Space originalSpace
wikiStyleRenderer
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
notificationManager
protected NotificationManager notificationManager
AbstractSpaceAction
public AbstractSpaceAction()
getKey
public java.lang.String getKey()
getSpaceKey
public java.lang.String getSpaceKey()
- This method is so that we can get the key whether we're in a space action or a page action.
setKey
public void setKey(java.lang.String key)
isValidSpaceKey
public boolean isValidSpaceKey()
setSpace
public void setSpace(Space space)
- Used only by unit tests
getSpace
public Space getSpace()
- Specified by:
getSpace
in interface Spaced
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
getPermissionTypes
protected java.util.List getPermissionTypes()
- Overrides:
getPermissionTypes
in class ConfluenceActionSupport
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
isSuperUser
public boolean isSuperUser()
isAdminUser
public boolean isAdminUser()
getSubscribableName
public java.lang.String getSubscribableName()
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
getSpaceXHtmlDescription
public java.lang.String getSpaceXHtmlDescription()
isUserWatchingSpace
public boolean isUserWatchingSpace()
isPersonalSpace
public boolean isPersonalSpace()
setNotificationManager
public void setNotificationManager(NotificationManager notificationManager)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.