com.atlassian.jira.web.action.admin
Class ViewLicense

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.ViewLicense
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewLicense
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
protected static java.lang.String OLD_LICENSE_PAGE
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewLicense()
           
 
Method Summary
 boolean confirmExtendLicenseExpired()
          Return true if their post-support eval period has expired
protected  java.lang.String doExecute()
           
 java.util.Date getConfirmedDate()
           
 com.opensymphony.user.User getConfirmedUser()
           
 java.lang.String getExpiryTime()
           
 com.atlassian.license.License getLicense()
           
 java.lang.String getLicenseString()
           
 java.util.Date getSupportPeriodEnd()
           
 boolean isEvaluationLicense()
           
 boolean isHasSupportPeriodExpired()
           
 boolean isOldLicenseWithNewInstall()
           
 boolean isSupportPeriodAlmostExpired()
           
 void setLicenseString(java.lang.String license)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

OLD_LICENSE_PAGE

protected static final java.lang.String OLD_LICENSE_PAGE
See Also:
Constant Field Values
Constructor Detail

ViewLicense

public ViewLicense()
Method Detail

getLicense

public com.atlassian.license.License getLicense()

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

getExpiryTime

public java.lang.String getExpiryTime()

setLicenseString

public void setLicenseString(java.lang.String license)

getLicenseString

public java.lang.String getLicenseString()

confirmExtendLicenseExpired

public boolean confirmExtendLicenseExpired()
Return true if their post-support eval period has expired


isOldLicenseWithNewInstall

public boolean isOldLicenseWithNewInstall()

getConfirmedUser

public com.opensymphony.user.User getConfirmedUser()
                                            throws com.opensymphony.user.EntityNotFoundException
Throws:
com.opensymphony.user.EntityNotFoundException

getConfirmedDate

public java.util.Date getConfirmedDate()

getSupportPeriodEnd

public java.util.Date getSupportPeriodEnd()

isHasSupportPeriodExpired

public boolean isHasSupportPeriodExpired()

isEvaluationLicense

public boolean isEvaluationLicense()

isSupportPeriodAlmostExpired

public boolean isSupportPeriodAlmostExpired()


Copyright © 2002-2006 Atlassian. All Rights Reserved.