com.atlassian.confluence.admin.actions
Class AbstractUpdateLicenseAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.AbstractUpdateLicenseAction
- All Implemented Interfaces:
- WebInterface, 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:
- FixLicenseAction, ViewOrUpdateLicenseAction
public abstract class AbstractUpdateLicenseAction
- extends ConfluenceActionSupport
Perform the update of a Confluence license.
- 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, 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 |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUpdateLicenseAction
public AbstractUpdateLicenseAction()
getLicense
public com.atlassian.license.License getLicense()
setApplicationConfig
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
getLicenseString
public java.lang.String getLicenseString()
setLicenseString
public void setLicenseString(java.lang.String licenseString)
getUserChecker
public UserChecker getUserChecker()
setUserChecker
public void setUserChecker(UserChecker userChecker)
getSupportPeriodEnd
public java.util.Date getSupportPeriodEnd()
isHasSupportPeriodExpired
public boolean isHasSupportPeriodExpired()
validate
public void validate()
- Validate that a non-empty license has been supplied.
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
doUpdate
public java.lang.String doUpdate()
throws java.lang.Exception
- Update the license Confluence is using.
- Returns:
- the result of the update
- Throws:
java.lang.Exception
getSid
public java.lang.String getSid()
- Returns the SID. Made public so it is available to templates.
- Returns:
- the SID
isLicenseSubmitted
public boolean isLicenseSubmitted()
setLicenseSubmitted
public void setLicenseSubmitted(boolean licenseSubmitted)
setClusterManager
public void setClusterManager(ClusterManager clusterManager)
getClusterManager
protected ClusterManager getClusterManager()
setSidManager
public void setSidManager(ConfluenceSidManager sidManager)
Copyright © 2003-2010 Atlassian. All Rights Reserved.