com.atlassian.crowd.console.action.options
Class UpdateLicensing

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.options.UpdateLicensing
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable

public class UpdateLicensing
extends BaseAction

See Also:
Serialized Form

Field Summary
protected  long currentResources
           
protected  com.atlassian.extras.api.crowd.CrowdLicense license
           
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UpdateLicensing()
           
 
Method Summary
 String doDefault()
           
 String doRecalculateUserLimit()
           
 String doUpdate()
           
 long getCurrentResources()
           
 String getKey()
           
 com.atlassian.extras.api.crowd.CrowdLicense getLicense()
           
 Date getLicenseExpiryDate()
           
 String getServerId()
           
protected  void processLicense()
           
 void setCurrentResources(long currentResources)
           
 void setKey(String key)
           
 void setLicense(com.atlassian.extras.api.crowd.CrowdLicense license)
           
 void setPropertyManager(PropertyManager propertyManager)
           
 void setSystemInfoHelper(SystemInfoHelper systemInfoHelper)
           
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, directoryForRemoteUser, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLink, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setApplicationManager, setApplicationService, setClientProperties, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

license

protected com.atlassian.extras.api.crowd.CrowdLicense license

currentResources

protected long currentResources
Constructor Detail

UpdateLicensing

public UpdateLicensing()
Method Detail

doDefault

public String doDefault()
Overrides:
doDefault in class BaseAction

doUpdate

public String doUpdate()

doRecalculateUserLimit

public String doRecalculateUserLimit()

processLicense

protected void processLicense()

getKey

public String getKey()

setKey

public void setKey(String key)

getCurrentResources

public long getCurrentResources()

setCurrentResources

public void setCurrentResources(long currentResources)

getLicense

public com.atlassian.extras.api.crowd.CrowdLicense getLicense()
Overrides:
getLicense in class BaseAction

getLicenseExpiryDate

public Date getLicenseExpiryDate()

setLicense

public void setLicense(com.atlassian.extras.api.crowd.CrowdLicense license)

getServerId

public String getServerId()

setSystemInfoHelper

public void setSystemInfoHelper(SystemInfoHelper systemInfoHelper)

setPropertyManager

public void setPropertyManager(PropertyManager propertyManager)
Overrides:
setPropertyManager in class BaseAction


Copyright © 2013 Atlassian. All Rights Reserved.