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

java.lang.Object
  extended by com.pyxis.greenhopper.jira.boards.AbstractBoard
      extended by com.pyxis.greenhopper.jira.boards.modal.AbstractModalBoard
All Implemented Interfaces:
Board, java.lang.Comparable<Board>
Direct Known Subclasses:
CreatingBoard, MovingBoard, RankingBoard, SearchBoard, TransitionBoard, UpdatingBoard

public abstract class AbstractModalBoard
extends AbstractBoard


Field Summary
static java.lang.String ID
           
static java.lang.String VIEW
           
 
Fields inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canBoardRank, context, id, issueView, log, name, pager
 
Constructor Summary
AbstractModalBoard(BoardContext boardContext)
           
 
Method Summary
 boolean canDrag(BoardIssue boardIssue)
           
 boolean canManageStats()
           
 Context getContext()
          Retrieves the selected context of the board
 java.lang.String getDisplayableBoardForIssue(com.atlassian.jira.issue.Issue issue)
          Retrieves the id of the board where the issue is displayed in
 java.lang.String getKey()
          Retrieves the key of the board
 java.lang.String getView()
          The issue view to display the issues in
 boolean hasMenuItems(BoardIssue bIssue)
          Returns whether or not the issue has menu items to display in the card menu
 boolean hasSettings()
          Checks if the board has settings
 boolean hideDone()
           
 boolean hideSubs()
           
 boolean isAddIssueEnabled()
           
 boolean isAddSubEnabled()
           
 boolean isAssignedToMeOn()
          Returns whether or not only the user issues should be displayed
 boolean isAssociatedWith(com.atlassian.jira.issue.Issue issue)
          Checks whether the issue is associated with this board, e.g.
 boolean isHighLighting()
           
 boolean showLegendBar()
          Show or not the Legend bar
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canBoardRank, canRank, canSelect, compareTo, computeStartFor, containsIssue, equals, focusOn, getAllIssues, getBoardContext, getBoardIssue, getBoxCss, getCursor, getDecoratedName, getDefaultStart, getDescription, getDisplayableIssues, getDisplayableIssuesFrom, getDisplayQuery, getFocussedIssue, getHighLightedIssues, getId, getIssueKeys, getIssues, getIssues, getIssuesInPage, getIssueView, getMaxIssues, getMaxPagine, getName, getNavigatorQuery, getPageNumber, getPager, getPager, getPagination, getPluginLinks, getPrettyQuery, getProject, getProjectId, getQuery, getQuery, getRawName, getStart, getSummary, hashCode, indexOf, isCapacitySupported, isCardsDisplayed, 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
 

Field Detail

VIEW

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

ID

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

AbstractModalBoard

public AbstractModalBoard(BoardContext boardContext)
Method Detail

getDisplayableBoardForIssue

public java.lang.String getDisplayableBoardForIssue(com.atlassian.jira.issue.Issue issue)
                                             throws GreenHopperException
Description copied from interface: Board
Retrieves the id of the board where the issue is displayed in

Parameters:
issue - to locate
Returns:
the id of the board
Throws:
GreenHopperException - if none found

getView

public java.lang.String getView()
Description copied from interface: Board
The issue view to display the issues in

Returns:
true if the context bar should be shown

getKey

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

Returns:
the name

canDrag

public boolean canDrag(BoardIssue boardIssue)
Returns:
whether or not the issue can be dragged in the board

hasSettings

public boolean hasSettings()
Description copied from interface: Board
Checks if the board has settings

Returns:
true if the board has settings

isAssociatedWith

public boolean isAssociatedWith(com.atlassian.jira.issue.Issue issue)
Description copied from interface: Board
Checks whether the issue is associated with this board, e.g. whether the issue version is the same or a sub version of this boards version


canManageStats

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

hideSubs

public boolean hideSubs()
Specified by:
hideSubs in interface Board
Overrides:
hideSubs in class AbstractBoard
Returns:
if the subtasks should be hidden or not

hideDone

public boolean hideDone()
Specified by:
hideDone in interface Board
Overrides:
hideDone in class AbstractBoard
Returns:
if the don issues should be hidden or not

isAssignedToMeOn

public boolean isAssignedToMeOn()
Description copied from interface: Board
Returns whether or not only the user issues should be displayed

Specified by:
isAssignedToMeOn in interface Board
Overrides:
isAssignedToMeOn in class AbstractBoard
Returns:
true if only the user issues needs to be displayed

getContext

public Context getContext()
Description copied from interface: Board
Retrieves the selected context of the board

Specified by:
getContext in interface Board
Overrides:
getContext in class AbstractBoard
Returns:
the Context

showLegendBar

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

Returns:
true if the Legend bar should be shown

isAddIssueEnabled

public boolean isAddIssueEnabled()

isAddSubEnabled

public boolean isAddSubEnabled()

isHighLighting

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

hasMenuItems

public boolean hasMenuItems(BoardIssue bIssue)
Description copied from interface: Board
Returns whether or not the issue has menu items to display in the card menu

Specified by:
hasMenuItems in interface Board
Overrides:
hasMenuItems in class AbstractBoard
Parameters:
bIssue - the selected issue
Returns:
true if any menu has any items


Copyright © 2007-2013 Atlassian. All Rights Reserved.