com.pyxis.greenhopper.jira.boards
Class AbstractPlanningBoard

java.lang.Object
  extended by com.pyxis.greenhopper.jira.boards.AbstractBoard
      extended by com.pyxis.greenhopper.jira.boards.AbstractPlanningBoard
All Implemented Interfaces:
Board, BoardWithCapacities, BoardWithMarkers, PlanningBoard, java.lang.Comparable<Board>
Direct Known Subclasses:
AbstractNestableBoard, AssigneeBoard, PrintBoard, ProjectBoard

public abstract class AbstractPlanningBoard
extends AbstractBoard
implements PlanningBoard, BoardWithMarkers


Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canBoardRank, context, id, issueView, log, name, pager
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.PlanningBoard
KEY, VIEW
 
Constructor Summary
AbstractPlanningBoard(BoardContext boardContext, java.lang.String id, java.lang.String name)
           
 
Method Summary
 boolean canBoardRank()
           
 boolean canEditSettings()
           
 boolean canManage()
           
 java.lang.String getAllByBoardFilterKey()
           
 java.util.Collection<?> getAllByBoardFilters()
           
 java.lang.String getBoardCapacityKey(WatchedField field)
           
protected abstract  ColumnPagination getBoardColumnPagination()
          Retrieves the board column pagination
 java.lang.String getBoardMarkerKey(WatchedField field)
           
 PlanningBoard getByBoardFilter()
           
 java.lang.String getCapacityDescription()
           
 java.lang.String getCapacityKey(WatchedField field)
           
 java.lang.String getCapacityTitle()
           
 ColumnPagination getColumnPagination()
           
 java.lang.String getCursor(BoardIssue boardIssue)
          Retrieves the cursor of the issue based on the possible actions
 java.lang.String getKey()
          Retrieves the key of the board
 java.lang.String getMarkerKey(WatchedField field)
           
protected  com.atlassian.query.Query getPrettyQuery()
           
protected  com.atlassian.query.Query getQuery()
           
 boolean isByBoardFilterSupported()
           
 boolean isCapacitySupported()
           
 boolean isTaskBoardAvailable()
           
 boolean isUnset()
           
 void setByBoardFilterId(java.lang.String boardFilterId)
           
 boolean showLegendBar()
          Show or not the Legend bar
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canManageStats, canRank, canSelect, compareTo, computeStartFor, containsIssue, equals, focusOn, getAllIssues, getBoardContext, getBoardIssue, getBoxCss, getContext, getDecoratedName, getDefaultStart, getDescription, getDisplayableIssues, getDisplayableIssuesFrom, getDisplayQuery, getFocussedIssue, getHighLightedIssues, getId, getIssueKeys, getIssues, getIssues, getIssuesInPage, getIssueView, getMaxIssues, getMaxPagine, getName, getNavigatorQuery, getPageNumber, getPager, getPager, getPagination, getPluginLinks, getProject, getProjectId, getQuery, getRawName, getStart, getSummary, hashCode, hasMenuItems, hideDone, hideSubs, indexOf, isAssignedToMeOn, isCardsDisplayed, isHighLighting, isListDisplayed, isLocked, isMarkersSupported, isModifierOn, isProjectAdmin, isSelectable, issueCount, issuePagineCount, isSummariesDisplayed, showParentSubInfo, showProgressStats, showStats, truncate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pyxis.greenhopper.jira.boards.PlanningBoard
applyAsFilter, canEditName, canManageStats, doUpdate, doUpdateReport, getDescription, getDisplayableBoardForIssue, getSubtasks, hasDescription, hasSubtasks, isInSame, updateName, updatePermission
 
Methods inherited from interface com.pyxis.greenhopper.jira.boards.Board
canDrag, canRank, canSelect, computeStartFor, containsIssue, focusOn, getAllIssues, getBoardContext, getBoardIssue, getBoxCss, getContext, getDecoratedName, getDisplayQuery, getHighLightedIssues, getId, getIssues, getIssuesInPage, getIssueView, getMaxIssues, getMaxPagine, getName, getNavigatorQuery, getPagination, getProject, getProjectId, getQuery, getStart, getSummary, getView, hasMenuItems, hasSettings, hideDone, hideSubs, isAssignedToMeOn, isAssociatedWith, isCardsDisplayed, isHighLighting, isListDisplayed, isLocked, isMarkersSupported, isModifierOn, isSelectable, issueCount, isSummariesDisplayed, showParentSubInfo, showProgressStats, showStats
 

Constructor Detail

AbstractPlanningBoard

public AbstractPlanningBoard(BoardContext boardContext,
                             java.lang.String id,
                             java.lang.String name)
Method Detail

getByBoardFilter

public PlanningBoard getByBoardFilter()
Specified by:
getByBoardFilter in interface PlanningBoard

getAllByBoardFilterKey

public java.lang.String getAllByBoardFilterKey()

isByBoardFilterSupported

public boolean isByBoardFilterSupported()
Specified by:
isByBoardFilterSupported in interface PlanningBoard

getAllByBoardFilters

public java.util.Collection<?> getAllByBoardFilters()

setByBoardFilterId

public void setByBoardFilterId(java.lang.String boardFilterId)
Specified by:
setByBoardFilterId in interface PlanningBoard

isCapacitySupported

public boolean isCapacitySupported()
Specified by:
isCapacitySupported in interface Board
Overrides:
isCapacitySupported in class AbstractBoard

canManage

public boolean canManage()
Specified by:
canManage in interface PlanningBoard

canEditSettings

public boolean canEditSettings()
Specified by:
canEditSettings in interface PlanningBoard

getKey

public java.lang.String getKey()
Description copied from interface: Board
Retrieves the key of the board

Specified by:
getKey in interface Board
Returns:
the name

getColumnPagination

public ColumnPagination getColumnPagination()
Specified by:
getColumnPagination in interface PlanningBoard

showLegendBar

public boolean showLegendBar()
Description copied from interface: Board
Show or not the Legend bar

Specified by:
showLegendBar in interface Board
Specified by:
showLegendBar in interface PlanningBoard
Returns:
true if the Legend bar should be shown

isUnset

public boolean isUnset()
Specified by:
isUnset in interface PlanningBoard

isTaskBoardAvailable

public boolean isTaskBoardAvailable()
Specified by:
isTaskBoardAvailable in interface PlanningBoard

getCapacityKey

public java.lang.String getCapacityKey(WatchedField field)
Specified by:
getCapacityKey in interface BoardWithCapacities

getBoardCapacityKey

public java.lang.String getBoardCapacityKey(WatchedField field)
Specified by:
getBoardCapacityKey in interface BoardWithCapacities

getMarkerKey

public java.lang.String getMarkerKey(WatchedField field)
Specified by:
getMarkerKey in interface BoardWithMarkers

getBoardMarkerKey

public java.lang.String getBoardMarkerKey(WatchedField field)
Specified by:
getBoardMarkerKey in interface BoardWithMarkers

getCapacityTitle

public java.lang.String getCapacityTitle()
Specified by:
getCapacityTitle in interface BoardWithCapacities

getCapacityDescription

public java.lang.String getCapacityDescription()
Specified by:
getCapacityDescription in interface BoardWithCapacities

getCursor

public java.lang.String getCursor(BoardIssue boardIssue)
Description copied from interface: Board
Retrieves the cursor of the issue based on the possible actions

Specified by:
getCursor in interface Board
Overrides:
getCursor in class AbstractBoard
Returns:
the String url path of the cursor

canBoardRank

public boolean canBoardRank()
Specified by:
canBoardRank in interface Board
Overrides:
canBoardRank in class AbstractBoard
Returns:
whether or not the ranking is enabled in the board

getBoardColumnPagination

protected abstract ColumnPagination getBoardColumnPagination()
Retrieves the board column pagination

Returns:
the ColumnPagination

getQuery

protected com.atlassian.query.Query getQuery()
Specified by:
getQuery in class AbstractBoard

getPrettyQuery

protected com.atlassian.query.Query getPrettyQuery()
Specified by:
getPrettyQuery in class AbstractBoard


Copyright © 2007-2012 Atlassian. All Rights Reserved.