com.atlassian.confluence.spaces.actions
Class AbstractCreateSpaceAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.spaces.actions.AbstractSpaceAction
              extended by com.atlassian.confluence.spaces.actions.AbstractCreateSpaceAction
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:
CreatePersonalSpaceAction, CreateSpaceAction

public abstract class AbstractCreateSpaceAction
extends AbstractSpaceAction

See Also:
Serialized Form

Field Summary
protected  ColourSchemeManager colourSchemeManager
           
protected  java.lang.String description
           
protected  ConfluenceIndexManager indexManager
           
protected  LayoutHelper layoutHelper
           
protected  PermissionSetter permissionSetter
           
protected  PersonalInformationManager personalInformationManager
           
protected  java.lang.String themeKey
           
protected  ThemeManager themeManager
           
 
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
key, notificationManager, originalSpace, space, spaceManager, wikiStyleRenderer
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, 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
 
Constructor Summary
AbstractCreateSpaceAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.util.List getAvailableThemeDescriptors()
           
 ColourSchemeManager getColourSchemeManager()
           
 java.lang.String getConfigPath(ThemeModuleDescriptor descriptor)
          returns the context path for the space configuration.
 java.lang.String getDescription()
           
 ConfluenceIndexManager getIndexManager()
           
 LayoutHelper getLayoutHelper()
           
 PermissionSetter getPermissionSetter()
           
 PersonalInformationManager getPersonalInformationManager()
           
 java.lang.String getThemeKey()
           
 ThemeManager getThemeManager()
           
 boolean hasIcon(ThemeModuleDescriptor descriptor)
           
 void setColourSchemeManager(ColourSchemeManager colourSchemeManager)
           
 void setDescription(java.lang.String description)
           
 void setIndexManager(ConfluenceIndexManager indexManager)
           
 void setLayoutHelper(LayoutHelper layoutHelper)
           
 void setPermissionSetter(PermissionSetter permissionSetter)
           
 void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
           
 void setThemeKey(java.lang.String themeKey)
           
 void setThemeManager(ThemeManager themeManager)
           
 
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceXHtmlDescription, getSubscribableName, isAdminUser, isPermitted, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setWikiStyleRenderer
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getContext, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, 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
 

Field Detail

indexManager

protected ConfluenceIndexManager indexManager

personalInformationManager

protected PersonalInformationManager personalInformationManager

permissionSetter

protected PermissionSetter permissionSetter

colourSchemeManager

protected ColourSchemeManager colourSchemeManager

themeManager

protected ThemeManager themeManager

layoutHelper

protected LayoutHelper layoutHelper

description

protected java.lang.String description

themeKey

protected java.lang.String themeKey
Constructor Detail

AbstractCreateSpaceAction

public AbstractCreateSpaceAction()
Method Detail

getConfigPath

public java.lang.String getConfigPath(ThemeModuleDescriptor descriptor)
returns the context path for the space configuration.

Parameters:
descriptor -
Returns:
String

getAvailableThemeDescriptors

public java.util.List getAvailableThemeDescriptors()

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

hasIcon

public boolean hasIcon(ThemeModuleDescriptor descriptor)

getThemeKey

public java.lang.String getThemeKey()

setThemeKey

public void setThemeKey(java.lang.String themeKey)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getIndexManager

public ConfluenceIndexManager getIndexManager()

setIndexManager

public void setIndexManager(ConfluenceIndexManager indexManager)

getPersonalInformationManager

public PersonalInformationManager getPersonalInformationManager()

setPersonalInformationManager

public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)

getPermissionSetter

public PermissionSetter getPermissionSetter()

setPermissionSetter

public void setPermissionSetter(PermissionSetter permissionSetter)

getColourSchemeManager

public ColourSchemeManager getColourSchemeManager()

setColourSchemeManager

public void setColourSchemeManager(ColourSchemeManager colourSchemeManager)

getThemeManager

public ThemeManager getThemeManager()

setThemeManager

public void setThemeManager(ThemeManager themeManager)

getLayoutHelper

public LayoutHelper getLayoutHelper()

setLayoutHelper

public void setLayoutHelper(LayoutHelper layoutHelper)


Copyright © 2003-2010 Atlassian. All Rights Reserved.