public class ViewLicense extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
ViewLicense(UserUtil userUtil,
JiraLicenseUpdaterService jiraLicenseService,
LicenseJohnsonEventRaiser licenseJohnsonEventRaiser,
FeatureManager featureManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault() |
protected String |
doExecute() |
String |
doRefreshActiveUserCount() |
protected void |
doValidation() |
int |
getActiveUserCount() |
Iterator<LicenseDetails> |
getAllLicenseDetails() |
String |
getLicense() |
String |
getLicenseExpiryStatusMessage(LicenseDetails licenseDetails) |
String |
getLicenseStatusMessage(LicenseDetails licenseDetails) |
String |
getPurchaseDate(LicenseDetails licenseDetails) |
boolean |
hasExceededUserLimit() |
boolean |
isLicenseRequiresUserLimit(LicenseDetails licenseDetails) |
boolean |
isLicenseSet() |
boolean |
isPersonalLicense() |
void |
setLicense(String license) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic ViewLicense(UserUtil userUtil, JiraLicenseUpdaterService jiraLicenseService, LicenseJohnsonEventRaiser licenseJohnsonEventRaiser, FeatureManager featureManager)
public Iterator<LicenseDetails> getAllLicenseDetails()
public boolean isLicenseSet()
public String doRefreshActiveUserCount()
protected void doValidation()
doValidation in class webwork.action.ActionSupportpublic String doDefault()
doDefault in class webwork.action.ActionSupportprotected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic void setLicense(String license)
public String getLicense()
public boolean isPersonalLicense()
public boolean isLicenseRequiresUserLimit(LicenseDetails licenseDetails)
public int getActiveUserCount()
public boolean hasExceededUserLimit()
public String getLicenseStatusMessage(LicenseDetails licenseDetails)
public String getLicenseExpiryStatusMessage(LicenseDetails licenseDetails)
public String getPurchaseDate(LicenseDetails licenseDetails)
Copyright © 2002-2015 Atlassian. All Rights Reserved.