com.pyxis.greenhopper.jira.actions
Class CardBoardAction

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
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:
CreateIssueAction, DropBoardAction, PrintBoardAction, RankingAction, SearchBoardAction, TaskBoardAction

public class CardBoardAction
extends ContextBoardAction

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
protected  java.lang.String anchor
           
protected  CapacityService capacityService
           
protected static java.lang.String EXPANDED_BOX
           
protected  java.lang.String fieldId
           
protected  java.lang.String fieldType
           
protected  java.lang.String maxCapacity
           
protected  java.lang.String minCapacity
           
protected  boolean simpleUpdate
          Security levels
protected  StatService 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
CardBoardAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager, StatService statService, CapacityService capacityService)
           
 
Method Summary
protected  boolean affectsDisplay(java.lang.String fieldId)
           
protected  boolean affectsStats(java.lang.String fieldId)
           
 boolean canLogWork(com.atlassian.jira.issue.Issue issue)
           
 java.lang.String doEditField()
           
 java.lang.String doFlag()
           
 java.lang.String doGetBoardForIssue()
          Deprecated. 
 java.lang.String doNavigator()
           
 java.lang.String doRefreshIssue()
           
 java.lang.String doSetIssueDisplay()
           
 java.lang.String doSuccess()
           
 java.lang.String doToggleCard()
           
 java.lang.String doUpdateField()
           
 java.lang.String getAnchor()
           
 java.util.Set<Marker> getBottomMarkers()
           
protected  java.lang.String getBoxType()
           
 boolean getCanProjectSchedule()
           
 Capacity getCapacity(BoardWithCapacities board, WatchedField field)
           
 java.lang.String getCapacityMessage(BoardWithCapacities board, boolean forMax)
           
 int getColPage()
           
 java.util.Map<java.lang.String,java.util.Set<Marker>> getCompiledMarkers()
           
 java.util.Map<java.lang.String,java.lang.Object> getContextMap()
           
 Capacity getDefaultCapacity(WatchedField field)
           
 java.util.Set<java.lang.String> getExpandedBoxes()
           
 IssueField getField()
           
 java.lang.String getFieldId()
           
 java.lang.String getFieldType()
           
 int getIndex()
           
 java.util.Set<Marker> getIssueMarkers(com.atlassian.jira.issue.Issue issue)
           
 java.lang.String getNavInfo()
           
 Summary getSummaryForBoard(Board board)
           
 WatchedField getWatchedField()
           
 boolean isAnyVisibleStepBusted(StepBoard stepBoard)
           
 boolean isAssignable(com.atlassian.jira.issue.Issue issue)
           
 boolean isBusted(BoardWithCapacities board)
           
 boolean isDropEnabled()
           
 boolean isExpanded(java.lang.String boxId)
           
 boolean isMaxBusted(BoardWithCapacities board)
           
 boolean isMinBusted(BoardWithCapacities board)
           
 boolean isParentStep(StepBoard stepBoard)
           
 boolean isPreviousVisibleStepMaxBusted(StepBoard stepBoard)
           
 boolean isSelected(Board board)
           
 boolean isSimpleUpdate()
           
 void setColPage(int colPage)
           
 void setCommitedIn(boolean commitedIn)
           
 void setDropEnabled(boolean dropEnabled)
           
 void setFieldId(java.lang.String fieldId)
           
 void setFieldType(java.lang.String fieldType)
           
 void setFieldValue(java.lang.String fieldValue)
           
 void setIndex(int index)
           
 void setMaxCapacity(java.lang.String maxCapacity)
           
 void setMinCapacity(java.lang.String minCapacity)
           
 void setNavInfo(java.lang.String navInfo)
           
 
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, 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, getType, getUnreleasedVersions, getUrlEncodedText, getUseJiraIFrame, getUserSettings, getView, getViewIssueKey, getWarningId, getWarningUrl, 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, 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

EXPANDED_BOX

protected static final java.lang.String EXPANDED_BOX
See Also:
Constant Field Values

statService

protected final StatService statService

capacityService

protected final CapacityService capacityService

simpleUpdate

protected boolean simpleUpdate
Security levels


fieldType

protected java.lang.String fieldType

fieldId

protected java.lang.String fieldId

anchor

protected java.lang.String anchor

maxCapacity

protected java.lang.String maxCapacity

minCapacity

protected java.lang.String minCapacity
Constructor Detail

CardBoardAction

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

doRefreshIssue

public java.lang.String doRefreshIssue()

doToggleCard

public java.lang.String doToggleCard()

doGetBoardForIssue

@Deprecated
public java.lang.String doGetBoardForIssue()
Deprecated. 


doEditField

public java.lang.String doEditField()

doUpdateField

public java.lang.String doUpdateField()

doFlag

public java.lang.String doFlag()

doSetIssueDisplay

public java.lang.String doSetIssueDisplay()

doNavigator

public java.lang.String doNavigator()

isSelected

public boolean isSelected(Board board)

getAnchor

public java.lang.String getAnchor()

getNavInfo

public java.lang.String getNavInfo()

setNavInfo

public void setNavInfo(java.lang.String navInfo)

setIndex

public void setIndex(int index)

getIndex

public int getIndex()

isSimpleUpdate

public boolean isSimpleUpdate()

getCompiledMarkers

public java.util.Map<java.lang.String,java.util.Set<Marker>> getCompiledMarkers()

getIssueMarkers

public java.util.Set<Marker> getIssueMarkers(com.atlassian.jira.issue.Issue issue)

getBottomMarkers

public java.util.Set<Marker> getBottomMarkers()

getSummaryForBoard

public Summary getSummaryForBoard(Board board)
                           throws GreenHopperException
Throws:
GreenHopperException

getDefaultCapacity

public Capacity getDefaultCapacity(WatchedField field)

getCapacity

public Capacity getCapacity(BoardWithCapacities board,
                            WatchedField field)

getCapacityMessage

public java.lang.String getCapacityMessage(BoardWithCapacities board,
                                           boolean forMax)

isBusted

public boolean isBusted(BoardWithCapacities board)

isMinBusted

public boolean isMinBusted(BoardWithCapacities board)

isMaxBusted

public boolean isMaxBusted(BoardWithCapacities board)

isPreviousVisibleStepMaxBusted

public boolean isPreviousVisibleStepMaxBusted(StepBoard stepBoard)

isAnyVisibleStepBusted

public boolean isAnyVisibleStepBusted(StepBoard stepBoard)

isParentStep

public boolean isParentStep(StepBoard stepBoard)

getExpandedBoxes

public java.util.Set<java.lang.String> getExpandedBoxes()

isExpanded

public boolean isExpanded(java.lang.String boxId)

getWatchedField

public WatchedField getWatchedField()

setMaxCapacity

public void setMaxCapacity(java.lang.String maxCapacity)

setMinCapacity

public void setMinCapacity(java.lang.String minCapacity)

getCanProjectSchedule

public boolean getCanProjectSchedule()

isAssignable

public boolean isAssignable(com.atlassian.jira.issue.Issue issue)

canLogWork

public boolean canLogWork(com.atlassian.jira.issue.Issue issue)

setFieldValue

public void setFieldValue(java.lang.String fieldValue)

getFieldId

public java.lang.String getFieldId()

setFieldId

public void setFieldId(java.lang.String fieldId)

getField

public IssueField getField()

getFieldType

public java.lang.String getFieldType()

setFieldType

public void setFieldType(java.lang.String fieldType)

getContextMap

public java.util.Map<java.lang.String,java.lang.Object> getContextMap()

getColPage

public int getColPage()

setColPage

public void setColPage(int colPage)

affectsStats

protected boolean affectsStats(java.lang.String fieldId)

affectsDisplay

protected boolean affectsDisplay(java.lang.String fieldId)

setCommitedIn

public void setCommitedIn(boolean commitedIn)

isDropEnabled

public boolean isDropEnabled()

setDropEnabled

public void setDropEnabled(boolean dropEnabled)

getBoxType

protected java.lang.String getBoxType()


Copyright © 2007-2012 Atlassian. All Rights Reserved.