com.pyxis.greenhopper.jira.actions
Class LicenseAction

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.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended by com.pyxis.greenhopper.jira.actions.AbstractBoardAction
                              extended by com.pyxis.greenhopper.jira.actions.BoardAction
                                  extended by com.pyxis.greenhopper.jira.actions.LicenseAction
All Implemented Interfaces:
com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.action.issue.IssueSummaryAware, com.atlassian.jira.web.util.AuthorizationSupport, I18n, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class LicenseAction
extends BoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
confirmed, context, issueLinkManager, refresh, selectedBoard, selectedProjectId, selectedVersion, start, subtaskManager, warningId
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
ghLicense, greenHopperService, issuesToUpdate
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id, issueObject
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
LicenseAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager, com.atlassian.jira.web.util.OutlookDateManager outlookDateManager)
           
 
Method Summary
 java.lang.String doStartOneShotTrialNow()
           
 java.lang.String doSuccess()
           
 java.lang.String doUpdate()
           
 com.atlassian.jira.license.LicenseDetails getLicense()
           
 java.lang.String getLicenseDescription()
           
 java.lang.String getLicenseExpiryStatusMessage()
           
 java.lang.String getMaintenanceEndString()
           
 java.lang.String getMaximumNumberOfUsers()
           
 java.lang.String getNewLicense()
           
 java.lang.String getPurchaseDate()
           
 java.lang.String getServerId()
           
 java.lang.String getSupportEntitlementNumber()
           
 boolean isOneShotTrialAvailable()
           
 void setNewLicense(java.lang.String newLicense)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
boardResult, canGHBrowse, doCloseLegend, doFullScreen, doGet, doGetLegend, doNormalScreen, encodeJavaScript, encodeJson, findBacklog, getAllAssigneeBoards, getAllChartableFields, getAllComponentBoards, getAllComponents, getAllowUnassigned, getAllPlanningViews, getAllSecurityLevels, getAllStatuses, getAllTabs, getAllUserProjects, getAllVersionBoards, getAssignableUsers, getBoardContext, getBoardGroup, getBoardURL, getCanAssign, getCanBrowse, getCanBulkEdit, getCanCreateNewCards, getCanEditConfig, getCanProjectAssign, getCanProjectEdit, getCanSelectVersion, getCanSetSecurity, getConfigFor, getContext, getDefaultAssignee, getDefaultSecurity, getFieldName, getGHConfiguration, getGhProject, getHighLightRatio, getHtmlEncodedText, getIsAssignable, getIssueCountField, getIssueDisplay, getIssueFieldManager, getJavascriptEncodedText, getModifierKey, getPageTitle, getPreferences, getProjectBoard, getProjectConfig, getProjectIssueTypes, getRedirectType, getReleasedVersions, getRemainingField, getReporterUsers, getSearchKey, getSearchResults, getSearchType, getSelectedBoard, getSelectedProjectId, getSelectedTab, getShowLegend, getStandardIssueTypes, getSubsVisibility, getSubtaskTypes, getText, getText, getText, getText, getTruncatedText, getType, getUnreleasedVersions, getUrlEncodedText, getUseJiraIFrame, getUserSettings, getView, getViewIssueKey, getWarningId, getWarningUrl, getXProject, getXsrfToken, hasModBar, htmlEncode, isAProjectBoard, isArchiveChartBoard, isAssigneeBoard, isBoardSpecified, isCardBgColored, isChartBoard, isCompactView, isComponentBoard, isConfigurationBoard, isFullScreen, isHierarchyInstalled, isListAlt, isPlanningBoard, isRefresh, isReleasedBoard, isSearchBoard, isSecurityEnabled, isSelected, isSubtaskAllowed, isTaskBoard, isVersionBoard, registerSelectedView, setConfirmed, setIssueDisplay, setRedirectType, setSearchKey, setSearchType, setSelectedBoardId, setSelectedProjectId, setStart, setType, setViewIssueKey, setWarningId
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
addError, addError, addError, getAllJIRAProjects, getAllPriorities, getAllResolutions, getCalendarFormat, getCalendarLocale, getCalendarTimeFormat, getCanEditPreferences, getDefaultPriorityId, getDefaultResolutionId, getI18n, getId, getIssueKeys, getIssueOperations, getIssuesToUpdate, getKey, getPluginKey, getPluginVersion, getResourceLocation, getUserProjectHistoryManager, getUtil, includeFieldResourcesForCurrentUser, isAdmin, isBetaEnabled, isTimeTrackingOn, isUnassignAllowed, registerKeyboardContext, resetIssue, setI18nFactoryService, setId, setIssueKeys, setKey, setWebUtilities, toDecimalFormat, validate
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
cameFromIssue, cameFromParent, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getLayoutBean, getParentIssueObject, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSubTaskManager, getSummaryIssue, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, setIssue
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getTimeFormat, getUriValidator, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, hasErrorMessage, hasErrorMessageByKey, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addErrorMessage, doDefault, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, 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.pyxis.greenhopper.jira.util.I18n
getText
 
Methods inherited from interface com.atlassian.jira.web.action.issue.IssueSummaryAware
getRemoteUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

LicenseAction

public LicenseAction(GreenHopper greenHopperService,
                     GreenHopperLicenseManager ghLicense,
                     com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager,
                     com.atlassian.jira.config.SubTaskManager subtaskManager,
                     com.atlassian.jira.web.util.OutlookDateManager outlookDateManager)
Method Detail

doSuccess

public java.lang.String doSuccess()
Overrides:
doSuccess in class BoardAction

doUpdate

public java.lang.String doUpdate()

doStartOneShotTrialNow

public java.lang.String doStartOneShotTrialNow()

isOneShotTrialAvailable

public boolean isOneShotTrialAvailable()

getLicense

public com.atlassian.jira.license.LicenseDetails getLicense()

getLicenseDescription

public java.lang.String getLicenseDescription()
Returns:
the license description, or an empty string if there is none.

getLicenseExpiryStatusMessage

public java.lang.String getLicenseExpiryStatusMessage()

getMaintenanceEndString

public java.lang.String getMaintenanceEndString()

getPurchaseDate

public java.lang.String getPurchaseDate()

getSupportEntitlementNumber

public java.lang.String getSupportEntitlementNumber()

getServerId

public java.lang.String getServerId()
Overrides:
getServerId in class com.atlassian.jira.web.action.JiraWebActionSupport

getMaximumNumberOfUsers

public java.lang.String getMaximumNumberOfUsers()

getNewLicense

public java.lang.String getNewLicense()

setNewLicense

public void setNewLicense(java.lang.String newLicense)


Copyright © 2007-2011 Atlassian. All Rights Reserved.