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, 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

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, 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
 java.lang.String doUpdate()
           
protected  ClusterManager getClusterManager()
           
 com.atlassian.license.License getLicense()
           
 java.lang.String getLicenseString()
           
 java.lang.String getSid()
          Returns the SID.
 java.util.Date getSupportPeriodEnd()
           
 UserChecker getUserChecker()
           
 boolean isHasSupportPeriodExpired()
           
 boolean isLicenseSubmitted()
           
 void setClusterManager(ClusterManager clusterManager)
           
 void setLicenseString(java.lang.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, getAuthenticatedUser, 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, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserProfilePicUrl, 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 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()
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 java.lang.String doUpdate()
                          throws java.lang.Exception
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)

setWebLicenseFacade

public void setWebLicenseFacade(LicenseWebFacade webLicenseFacade)


Copyright © 2003-2014 Atlassian. All Rights Reserved.