com.pyxis.greenhopper.jira.actions
Class ChartBoardAction

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
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
Direct Known Subclasses:
ArchiveChartAction, TimetrackingAnalysisAction

public class ChartBoardAction
extends VersionBoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport.MessageType
 
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
protected  java.lang.Boolean canChangeDate
           
protected  java.lang.String chartType
           
protected  java.lang.String color
           
protected  java.lang.String csv
           
protected  java.lang.String curveId
           
protected  java.lang.Boolean forMaster
           
protected  boolean printView
           
static java.lang.String RELOAD
           
static java.lang.String TYPE
           
 
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
ChartBoardAction(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 doGetCurveSettings()
           
 java.lang.String doPrint()
           
 java.lang.String doSetChartSelection()
           
 java.lang.String doSetCurveColor()
           
 java.lang.String doSetCurveVisible()
           
 java.lang.String doShowChartReport()
           
 java.lang.String doSuccess()
           
 boolean getCanChangeDate()
           
 ChartContext getChartContext()
           
 java.lang.String getChartLocation()
           
 java.lang.String getContent()
           
 java.lang.String getType()
           
protected  java.lang.String getWarningUrl(java.lang.String warningId)
           
 boolean hasModBar()
           
 boolean isFieldSelectable()
           
 boolean isForecastLegendShown()
           
 boolean isHourBurndown()
           
 boolean isPrintView()
           
 boolean isReportAvailable()
           
 boolean isSelected(Board board)
           
 void setChartType(java.lang.String chartType)
           
 void setColor(java.lang.String color)
           
 void setCurveId(java.lang.String curveId)
           
 void setFieldId(java.lang.String fieldId)
           
 void setForMaster(java.lang.Boolean forMaster)
           
 void setRefresh(boolean refresh)
           
 
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, 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, 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, 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, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, 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, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, urlEncode
 
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, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, 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

RELOAD

public static final java.lang.String RELOAD
See Also:
Constant Field Values

chartType

protected java.lang.String chartType

forMaster

protected java.lang.Boolean forMaster

canChangeDate

protected java.lang.Boolean canChangeDate

curveId

protected java.lang.String curveId

printView

protected boolean printView

color

protected java.lang.String color

csv

protected java.lang.String csv
Constructor Detail

ChartBoardAction

public ChartBoardAction(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 CardBoardAction

doPrint

public java.lang.String doPrint()

doSetChartSelection

public java.lang.String doSetChartSelection()

doGetCurveSettings

public java.lang.String doGetCurveSettings()

doSetCurveVisible

public java.lang.String doSetCurveVisible()

doSetCurveColor

public java.lang.String doSetCurveColor()

doShowChartReport

public java.lang.String doShowChartReport()

getContent

public java.lang.String getContent()

getChartLocation

public java.lang.String getChartLocation()
                                  throws java.io.IOException
Throws:
java.io.IOException

isFieldSelectable

public boolean isFieldSelectable()

getType

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

setFieldId

public void setFieldId(java.lang.String fieldId)
Overrides:
setFieldId in class CardBoardAction

setChartType

public void setChartType(java.lang.String chartType)

setForMaster

public void setForMaster(java.lang.Boolean forMaster)

setCurveId

public void setCurveId(java.lang.String curveId)

setRefresh

public void setRefresh(boolean refresh)

getCanChangeDate

public boolean getCanChangeDate()

isSelected

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

isPrintView

public boolean isPrintView()

getChartContext

public ChartContext getChartContext()

isHourBurndown

public boolean isHourBurndown()

isReportAvailable

public boolean isReportAvailable()

isForecastLegendShown

public boolean isForecastLegendShown()

setColor

public void setColor(java.lang.String color)

hasModBar

public boolean hasModBar()
Overrides:
hasModBar in class BoardAction

getWarningUrl

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


Copyright © 2007-2013 Atlassian. All Rights Reserved.