com.pyxis.greenhopper.jira.actions
Class ArchiveChartAction

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.pyxis.greenhopper.jira.actions.ProjectActionSupport
                  extended by com.pyxis.greenhopper.jira.actions.IssueActionSupport
                      extended by com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
                          extended by com.pyxis.greenhopper.jira.actions.AbstractBoardAction
                              extended by com.pyxis.greenhopper.jira.actions.BoardAction
                                  extended by com.pyxis.greenhopper.jira.actions.ContextBoardAction
                                      extended by com.pyxis.greenhopper.jira.actions.CardBoardAction
                                          extended by com.pyxis.greenhopper.jira.actions.DropBoardAction
                                              extended by com.pyxis.greenhopper.jira.actions.VersionBoardAction
                                                  extended by com.pyxis.greenhopper.jira.actions.ChartBoardAction
                                                      extended by com.pyxis.greenhopper.jira.actions.ArchiveChartAction
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 ArchiveChartAction
extends ChartBoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
com.atlassian.jira.util.ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
static java.lang.String TYPE
           
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.ChartBoardAction
canChangeDate, chartType, color, csv, curveId, forMaster, printView, RELOAD
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.VersionBoardAction
RELEASED
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.DropBoardAction
date, dropBoardId, masterId, name
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.CardBoardAction
anchor, capacityService, EXPANDED_BOX, fieldId, fieldType, maxCapacity, minCapacity, simpleUpdate, statService
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.ContextBoardAction
contextName, maxVBIssues
 
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.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
id, issueObject
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.IssueActionSupport
attachmentManager
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.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
ArchiveChartAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager, StatService statService, CapacityService capacityService)
           
 
Method Summary
 java.lang.String doPrint()
           
 java.lang.String doRefreshOverview()
           
 java.lang.String doShowChartReport()
           
 java.lang.String doSuccess()
           
 boolean getCanRefreshOverview()
           
 ChartContext getChartContext()
           
 java.lang.String getChartLocation()
          Fetches the filename for the chart file.
 java.lang.String getContent()
           
 java.lang.String getType()
           
protected  java.lang.String getWarningUrl(java.lang.String warningId)
           
 boolean hasDailyCharts()
           
 boolean hasMasterCharts()
           
 boolean hasModBar()
           
 boolean isPrintView()
           
 boolean isSelected(Board board)
           
 boolean isStatic()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.ChartBoardAction
doGetCurveSettings, doSetChartSelection, doSetCurveColor, doSetCurveVisible, getCanChangeDate, isFieldSelectable, isForecastLegendShown, isHourBurndown, isReportAvailable, setChartType, setColor, setCurveId, setFieldId, setForMaster, setRefresh
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.VersionBoardAction
doCreateVersion, doManage, doRelease, isCreateNext, setCreateNext, setDescription, setEndDate, setReleaseDate
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.DropBoardAction
affectsDisplay, doAddStats, doEvaluateMarker, doGotoMarker, doMarkerUpdating, doMove, doMoving, doNavigator, doRemoveStats, doSetBoardFilter, doSetCapacity, doSetDefaultCapacity, doSetEndDate, doSetMarker, doSetMaster, doSetName, doSetReleaseDate, doSetStartDate, doSynchReport, doSynchronize, doToggleBox, doToggleMarker, doUpdate, doUpdating, getAllAvailableWatchedFields, getDropBoard, getDropBoardId, getMarkerPosistion, getMarkerSummary, getMarkerValue, getMasterId, getMoveBoard, getNewPager, getOldMasterId, getOldStart, getParents, getSetCapacityLink, getSynchReport, getUpdateBoard, isDropEnabled, isMarkerAvailable, isMarkerEnabled, setAbove, setBoardFilterId, setDate, setDropBoardId, setDropBoardIds, setDropEnabled, setMarkerDetails, setMarkerValue, setMasterId, setName, setOldStart
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.CardBoardAction
affectsStats, canLogWork, doEditField, doFlag, doGetBoardForIssue, doRefreshIssue, doSetIssueDisplay, doToggleCard, doUpdateField, getAnchor, getBottomMarkers, getBoxType, getCanProjectSchedule, getCapacity, getCapacityMessage, getColPage, getCompiledMarkers, getContextMap, getDefaultCapacity, getExpandedBoxes, getField, getFieldId, getFieldType, getIndex, getIssueMarkers, getNavInfo, getSummaryForBoard, getWatchedField, isAnyVisibleStepBusted, isAssignable, isBusted, isExpanded, isMaxBusted, isMinBusted, isParentStep, isPreviousVisibleStepMaxBusted, isSimpleUpdate, setColPage, setCommitedIn, setFieldType, setFieldValue, setIndex, setMaxCapacity, setMinCapacity, setNavInfo
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.ContextBoardAction
doAddNonWorkingDay, doCreateContext, doDeleteContext, doEditContext, doEnablePersonal, doRemoveNonWorkingDay, doSaveContext, doSaveUserPreferences, doSetContext, doSetSort, doSetSortOrder, doToggleDone, doToggleMyIssues, doTogglePending, doToggleSubs, getContextId, getContextName, getRefreshModbar, isRankable, setAssignee, setAutoAssignOn, setCardBgColored, setComponentIds, setContextId, setContextName, setDoneFilterOn, setFilterOn, setHiliteAssignee, setHiliteComponentIds, setHiliteDoneFilterOn, setHiliteOn, setHilitePriorityIds, setHiliteStatusIds, setHiliteTypeIds, setHiliteUnresolvedFilterOn, setJiraFilter, setJiraHilite, setListAlt, setMaxParents, setMaxTBIssues, setMaxVBIssues, setNonWorkingDay, setOpacityRatio, setPersonalFilterOn, setPrecision, setPriorityIds, setShare, setSortField, setSortOrder, setStatusIds, setTypeIds, setUnresolvedFilterOn, setUseJIRAIFrame, setWithDates, setWithForecast, setWithLabels
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
boardResult, canGHBrowse, checkLicence, doCloseLegend, doFullScreen, doGet, doGetLegend, doNormalScreen, encodeJavaScript, encodeJson, 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, getShowClassicBoardsWarning, getShowLegend, getStandardIssueTypes, getSubsVisibility, getSubtaskTypes, getText, getText, getText, getText, getTruncatedText, getUnreleasedVersions, getUrlEncodedText, getUseJiraIFrame, getUserSettings, getView, getViewIssueKey, getWarningId, getXsrfToken, htmlEncode, isAProjectBoard, isArchiveChartBoard, isAssigneeBoard, isBoardSpecified, isCardBgColored, isChartBoard, isCompactView, isComponentBoard, isConfigurationBoard, isFullScreen, isHierarchyInstalled, isListAlt, isPlanningBoard, isRefresh, isReleasedBoard, isSearchBoard, isSecurityEnabled, isSelected, isSubtaskAllowed, isTaskBoard, isVersionBoard, registerSelectedView, setClassicBoardsWarningShown, setConfirmed, setIssueDisplay, setRedirectType, setSearchKey, setSearchType, setSelectedBoardId, setSelectedProjectId, setShowClassicBoardsWarning, setStart, setType, setViewIssueKey, setWarningId
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
addError, addError, addError, asApplicationSlashJson, getAllJIRAProjects, getAllPriorities, getAllResolutions, getCalendarFormat, getCalendarLocale, getCalendarTimeFormat, getCanEditPreferences, getDefaultPriorityId, getDefaultResolutionId, getHelpPath, getI18n, getId, getIssueKeys, getIssuesToUpdate, getKey, getPluginKey, getPluginVersion, getResourceLocation, getUserProjectHistoryManager, getUtil, includeFieldResourcesForCurrentUser, isAdmin, isBetaEnabled, isHostedEnvironment, isTimeTrackingOn, isUnassignAllowed, redirectToDashboard, redirectToRapidStart, registerKeyboardContext, resetIssue, setI18nFactoryService, setId, setIssueKeys, setKey, setWebUtilities, toDecimalFormat, validate
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.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.pyxis.greenhopper.jira.actions.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.pyxis.greenhopper.jira.actions.ProjectActionSupport
escapeJavaScript, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getVersionManager, getWebworkStack, getWebworkStack, hasErrorMessage, hasErrorMessageByKey, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, 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
getLoggedInUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

ArchiveChartAction

public ArchiveChartAction(GreenHopper greenHopperService,
                          GreenHopperLicenseManager ghLicense,
                          com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager,
                          com.atlassian.jira.config.SubTaskManager subtaskManager,
                          StatService statService,
                          CapacityService capacityService)
Method Detail

doSuccess

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

doPrint

public java.lang.String doPrint()
Overrides:
doPrint in class ChartBoardAction

doRefreshOverview

public java.lang.String doRefreshOverview()

doShowChartReport

public java.lang.String doShowChartReport()
Overrides:
doShowChartReport in class ChartBoardAction

getContent

public java.lang.String getContent()
Overrides:
getContent in class ChartBoardAction

getChartLocation

public java.lang.String getChartLocation()
                                  throws java.io.IOException
Fetches the filename for the chart file. This can either be a static, legacy file or a dynamically created one. The user can explicitly request to have the dynamic one shown.

Overrides:
getChartLocation in class ChartBoardAction
Returns:
the relative path to the chart image
Throws:
java.io.IOException

getChartContext

public ChartContext getChartContext()
Overrides:
getChartContext in class ChartBoardAction

isSelected

public boolean isSelected(Board board)
Overrides:
isSelected in class ChartBoardAction

hasMasterCharts

public boolean hasMasterCharts()

hasDailyCharts

public boolean hasDailyCharts()

isPrintView

public boolean isPrintView()
Overrides:
isPrintView in class ChartBoardAction

isStatic

public boolean isStatic()

getType

public java.lang.String getType()
Overrides:
getType in class ChartBoardAction

hasModBar

public boolean hasModBar()
Overrides:
hasModBar in class ChartBoardAction

getCanRefreshOverview

public boolean getCanRefreshOverview()

getWarningUrl

protected java.lang.String getWarningUrl(java.lang.String warningId)
Overrides:
getWarningUrl in class ChartBoardAction


Copyright © 2007-2012 Atlassian. All Rights Reserved.