com.atlassian.confluence.admin.actions
Class AbstractUpdateLicenseAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.admin.actions.AbstractUpdateLicenseAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable
Direct Known Subclasses:
FixLicenseAction, ViewOrUpdateLicenseAction

public abstract class AbstractUpdateLicenseAction
extends ConfluenceActionSupport

Perform the update of a Confluence license.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, messageHolder, 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
AbstractUpdateLicenseAction()
           
 
Method Summary
 String doUpdate()
           
protected  ClusterManager getClusterManager()
           
 com.atlassian.license.License getLicense()
           
 String getLicenseString()
           
 String getSid()
          Returns the SID.
 Date getSupportPeriodEnd()
           
 UserChecker getUserChecker()
           
 boolean isHasSupportPeriodExpired()
           
 boolean isLicenseSubmitted()
           
 void setClusterManager(ClusterManager clusterManager)
           
 void setLicenseString(String licenseString)
           
 void setLicenseSubmitted(boolean licenseSubmitted)
           
 void setSidManager(ConfluenceSidManager sidManager)
           
 void setUserChecker(UserChecker userChecker)
           
 void setWebLicenseFacade(LicenseWebFacade webLicenseFacade)
           
 void validate()
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, 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, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, 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
 

Constructor Detail

AbstractUpdateLicenseAction

public AbstractUpdateLicenseAction()
Method Detail

getLicense

public com.atlassian.license.License getLicense()

getLicenseString

public String getLicenseString()

setLicenseString

public void setLicenseString(String licenseString)

getUserChecker

public UserChecker getUserChecker()

setUserChecker

public void setUserChecker(UserChecker userChecker)

getSupportPeriodEnd

public Date getSupportPeriodEnd()

isHasSupportPeriodExpired

public boolean isHasSupportPeriodExpired()

validate

public void validate()
Specified by:
validate in interface MessageHolderAware
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

doUpdate

public String doUpdate()
                throws Exception
Throws:
Exception

getSid

public 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)

setWebLicenseFacade

public void setWebLicenseFacade(LicenseWebFacade webLicenseFacade)


Copyright © 2003-2013 Atlassian. All Rights Reserved.