com.pyxis.greenhopper.jira.boards.modal
Class SubtaskBoard

java.lang.Object
  extended by com.pyxis.greenhopper.jira.boards.AbstractBoard
      extended by com.pyxis.greenhopper.jira.boards.modal.AbstractModalBoard
          extended by com.pyxis.greenhopper.jira.boards.modal.SearchBoard
              extended by com.pyxis.greenhopper.jira.boards.modal.SubtaskBoard
All Implemented Interfaces:
Board, java.lang.Comparable<Board>

public class SubtaskBoard
extends SearchBoard


Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.boards.modal.AbstractModalBoard
ID, VIEW
 
Fields inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canBoardRank, context, id, issueView, log, name, pager
 
Constructor Summary
SubtaskBoard(BoardContext boardContext, com.atlassian.jira.issue.Issue parent)
           
 
Method Summary
 boolean canBoardRank()
           
 boolean canDrag(BoardIssue boardIssue)
           
 boolean canRank(BoardIssue boardIssue)
          Retrieves whether or not the ranking is enabled in the board
 boolean canSelect(BoardIssue boardIssue)
           
 java.util.Collection<com.atlassian.jira.issue.Issue> getAssigneeSubtasksFor(java.lang.String assignee)
           
 BoardIssue getBoardIssue(com.atlassian.jira.issue.Issue issue)
          Retrieves the decorated isssue
 java.util.Collection<com.atlassian.jira.issue.Issue> getComponentSubtasksFor(java.lang.Long componentId)
           
 java.lang.String getCursor(BoardIssue boardIssue)
          Retrieves the cursor of the issue based on the possible actions
 com.atlassian.jira.issue.Issue getIssue()
           
 int getMaxIssues()
          Retrieves the maximum number of issues that can be displayed
protected  com.atlassian.query.Query getPrettyQuery()
           
protected  com.atlassian.query.Query getQuery()
           
 java.lang.String getSearchKey()
           
 java.lang.String getTitle()
           
 java.util.Collection<com.atlassian.jira.issue.Issue> getVersionSubtasksFor(java.lang.Long versionId)
           
 boolean isAddSubEnabled()
           
 boolean isSearchInputSupported()
           
 boolean showParentSubInfo()
          Show or not the parent/sub info
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.modal.SearchBoard
getStrippedSearchKey, getStrippedSearchKeyForInput, getType, isStatsPanelSupported
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.modal.AbstractModalBoard
canManageStats, getContext, getDisplayableBoardForIssue, getKey, getView, hasMenuItems, hasSettings, hideDone, hideSubs, isAddIssueEnabled, isAssignedToMeOn, isAssociatedWith, isHighLighting, showLegendBar
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
compareTo, computeStartFor, containsIssue, equals, focusOn, getAllIssues, getBoardContext, getBoxCss, getDecoratedName, getDefaultStart, getDescription, getDisplayableIssues, getDisplayableIssuesFrom, getDisplayQuery, getFocussedIssue, getHighLightedIssues, getId, getIssueKeys, getIssues, getIssues, getIssuesInPage, getIssueView, getMaxPagine, getName, getNavigatorQuery, getPageNumber, getPager, getPager, getPagination, getPluginLinks, getProject, getProjectId, getQuery, getRawName, getStart, getSummary, hashCode, indexOf, isCapacitySupported, isCardsDisplayed, isListDisplayed, isLocked, isMarkersSupported, isModifierOn, isProjectAdmin, isSelectable, issueCount, issuePagineCount, isSummariesDisplayed, showProgressStats, showStats, truncate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubtaskBoard

public SubtaskBoard(BoardContext boardContext,
                    com.atlassian.jira.issue.Issue parent)
Method Detail

getIssue

public com.atlassian.jira.issue.Issue getIssue()
Specified by:
getIssue in class SearchBoard

canDrag

public boolean canDrag(BoardIssue boardIssue)
Specified by:
canDrag in interface Board
Overrides:
canDrag in class AbstractModalBoard
Returns:
whether or not the issue can be dragged in the board

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

showParentSubInfo

public boolean showParentSubInfo()
Description copied from interface: Board
Show or not the parent/sub info

Specified by:
showParentSubInfo in interface Board
Overrides:
showParentSubInfo in class AbstractBoard
Returns:
true if the parent/sub info should be shown

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

canRank

public boolean canRank(BoardIssue boardIssue)
Description copied from interface: Board
Retrieves whether or not the ranking is enabled in the board

Specified by:
canRank in interface Board
Overrides:
canRank in class AbstractBoard
Returns:
True if ranking is enabled in the board

canSelect

public boolean canSelect(BoardIssue boardIssue)
Specified by:
canSelect in interface Board
Overrides:
canSelect in class SearchBoard
Returns:
whether or not the issue can be selected in the board

isAddSubEnabled

public boolean isAddSubEnabled()
Overrides:
isAddSubEnabled in class AbstractModalBoard

getBoardIssue

public BoardIssue getBoardIssue(com.atlassian.jira.issue.Issue issue)
Description copied from interface: Board
Retrieves the decorated isssue

Specified by:
getBoardIssue in interface Board
Overrides:
getBoardIssue in class AbstractBoard
Returns:
the BoardIssue

getSearchKey

public java.lang.String getSearchKey()
Specified by:
getSearchKey in class SearchBoard

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class SearchBoard

isSearchInputSupported

public boolean isSearchInputSupported()
Overrides:
isSearchInputSupported in class SearchBoard

getMaxIssues

public int getMaxIssues()
Description copied from interface: Board
Retrieves the maximum number of issues that can be displayed

Specified by:
getMaxIssues in interface Board
Overrides:
getMaxIssues in class AbstractBoard
Returns:
the maximum number of issues that can be displayed

getVersionSubtasksFor

public java.util.Collection<com.atlassian.jira.issue.Issue> getVersionSubtasksFor(java.lang.Long versionId)

getComponentSubtasksFor

public java.util.Collection<com.atlassian.jira.issue.Issue> getComponentSubtasksFor(java.lang.Long componentId)

getAssigneeSubtasksFor

public java.util.Collection<com.atlassian.jira.issue.Issue> getAssigneeSubtasksFor(java.lang.String assignee)

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.