com.pyxis.greenhopper.jira.boards
Class AssigneeBoard

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

public class AssigneeBoard
extends AbstractPlanningBoard


Field Summary
static java.lang.String VIEW
           
 
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
 
Constructor Summary
AssigneeBoard(BoardContext boardContext)
           
AssigneeBoard(BoardContext boardContext, com.atlassian.crowd.embedded.api.User user)
           
 
Method Summary
 com.atlassian.jira.jql.builder.JqlClauseBuilder applyAsFilter(com.atlassian.jira.jql.builder.JqlClauseBuilder builder, boolean pretty)
           
 boolean canDrag(BoardIssue boardIssue)
           
 boolean canEditName()
          Can edit a box label
 int compareTo(Board obj)
           
 void doUpdate(java.util.Set<com.atlassian.jira.issue.Issue> issues, java.lang.String boardId)
          Will associate all issues with the new board
 java.util.List<SubtaskBoard> doUpdateReport(java.util.Set<com.atlassian.jira.issue.Issue> issues)
          Retrieves all the standard issues with subtasks that can be part of the update from the defined set of issues
static java.lang.String escapedId(java.lang.String id)
           
 java.util.TreeSet<AssigneeBoard> getAllBoards()
           
 java.util.Set<VersionBoard> getAllByBoardFilters()
           
 com.atlassian.crowd.embedded.api.User getAssignee()
           
 java.lang.String getBoardCapacityKey(WatchedField field)
           
protected  ColumnPagination getBoardColumnPagination()
          Retrieves the board column pagination
 PlanningBoard getByBoardFilter()
           
 java.lang.String getCapacityKey(WatchedField field)
           
 java.lang.String getDescription()
          Retrieves the description 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.util.Collection<com.atlassian.jira.issue.Issue> getSubtasks(SubtaskBoard parent)
          Retrieves the subtasks of the specified parent that are associated with the board
 java.lang.String getView()
          The issue view to display the issues in
 boolean hasDescription()
          Checks if the board has a description
 boolean hasSettings()
          Checks if the board has settings
 boolean hasSubtasks(SubtaskBoard parent)
          Checks if the parent has some subtasks associated with the board
 boolean isAssociatedWith(com.atlassian.jira.issue.Issue issue)
          Checks whether the issue is associated with this board, e.g.
 boolean isInSame(com.atlassian.jira.issue.Issue issue1, com.atlassian.jira.issue.Issue issue2)
          Checks if both issues are in the same board
 boolean isTaskBoardAvailable()
           
 void setByBoardFilterId(java.lang.String boardFilterId)
           
static java.lang.String unescapedId(java.lang.String id)
           
 void updateName(java.lang.String name)
          Updates the name of the board
 int updatePermission()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.AbstractPlanningBoard
canBoardRank, canEditSettings, canManage, getAllByBoardFilterKey, getBoardMarkerKey, getCapacityDescription, getCapacityTitle, getColumnPagination, getCursor, getKey, getMarkerKey, getPrettyQuery, getQuery, isByBoardFilterSupported, isCapacitySupported, isUnset, showLegendBar
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.AbstractBoard
canManageStats, canRank, canSelect, 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
canManageStats
 
Methods inherited from interface com.pyxis.greenhopper.jira.boards.Board
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, hasMenuItems, hideDone, hideSubs, isAssignedToMeOn, isCardsDisplayed, isHighLighting, isListDisplayed, isLocked, isMarkersSupported, isModifierOn, isSelectable, issueCount, isSummariesDisplayed, showParentSubInfo, showProgressStats, showStats
 

Field Detail

VIEW

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

AssigneeBoard

public AssigneeBoard(BoardContext boardContext,
                     com.atlassian.crowd.embedded.api.User user)

AssigneeBoard

public AssigneeBoard(BoardContext boardContext)
Method Detail

getAssignee

public com.atlassian.crowd.embedded.api.User getAssignee()

getAllBoards

public java.util.TreeSet<AssigneeBoard> getAllBoards()

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

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

getAllByBoardFilters

public java.util.Set<VersionBoard> getAllByBoardFilters()
Overrides:
getAllByBoardFilters in class AbstractPlanningBoard

doUpdate

public void doUpdate(java.util.Set<com.atlassian.jira.issue.Issue> issues,
                     java.lang.String boardId)
              throws java.lang.Exception
Description copied from interface: PlanningBoard
Will associate all issues with the new board

Parameters:
issues - issues to update
boardId - Id of the board to associate
Throws:
java.lang.Exception

doUpdateReport

public java.util.List<SubtaskBoard> doUpdateReport(java.util.Set<com.atlassian.jira.issue.Issue> issues)
Description copied from interface: PlanningBoard
Retrieves all the standard issues with subtasks that can be part of the update from the defined set of issues

Parameters:
issues - Set of issues to retrieve the parents that have candidate subtasks for the update
Returns:
The list of SubtaskBoard

hasSubtasks

public boolean hasSubtasks(SubtaskBoard parent)
Description copied from interface: PlanningBoard
Checks if the parent has some subtasks associated with the board

Returns:
true if the parent has some subtasks associated with the board

getSubtasks

public java.util.Collection<com.atlassian.jira.issue.Issue> getSubtasks(SubtaskBoard parent)
Description copied from interface: PlanningBoard
Retrieves the subtasks of the specified parent that are associated with the board

Returns:
the subtasks of the specified parent that are associated with the board

canEditName

public boolean canEditName()
Description copied from interface: PlanningBoard
Can edit a box label

Returns:
true if the user can edit the box label

updatePermission

public int updatePermission()
Returns:
the Permission to Update

isInSame

public boolean isInSame(com.atlassian.jira.issue.Issue issue1,
                        com.atlassian.jira.issue.Issue issue2)
Description copied from interface: PlanningBoard
Checks if both issues are in the same board

Returns:
true if both issues are in the same board

getDescription

public java.lang.String getDescription()
Description copied from interface: PlanningBoard
Retrieves the description of the board

Returns:
the description of the board

hasDescription

public boolean hasDescription()
Description copied from interface: PlanningBoard
Checks if the board has a description

Returns:
true if the board has a description

updateName

public void updateName(java.lang.String name)
                throws java.lang.Exception
Description copied from interface: PlanningBoard
Updates the name of the board

Parameters:
name - the new name of the board
Throws:
java.lang.Exception

applyAsFilter

public com.atlassian.jira.jql.builder.JqlClauseBuilder applyAsFilter(com.atlassian.jira.jql.builder.JqlClauseBuilder builder,
                                                                     boolean pretty)

getDisplayableBoardForIssue

public java.lang.String getDisplayableBoardForIssue(com.atlassian.jira.issue.Issue issue)
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

escapedId

public static java.lang.String escapedId(java.lang.String id)

unescapedId

public static java.lang.String unescapedId(java.lang.String id)

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


getCapacityKey

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

getBoardCapacityKey

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

getByBoardFilter

public PlanningBoard getByBoardFilter()
Specified by:
getByBoardFilter in interface PlanningBoard
Overrides:
getByBoardFilter in class AbstractPlanningBoard

setByBoardFilterId

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

compareTo

public int compareTo(Board obj)
Specified by:
compareTo in interface java.lang.Comparable<Board>
Overrides:
compareTo in class AbstractBoard

isTaskBoardAvailable

public boolean isTaskBoardAvailable()
Specified by:
isTaskBoardAvailable in interface PlanningBoard
Overrides:
isTaskBoardAvailable in class AbstractPlanningBoard

getBoardColumnPagination

protected ColumnPagination getBoardColumnPagination()
Description copied from class: AbstractPlanningBoard
Retrieves the board column pagination

Specified by:
getBoardColumnPagination in class AbstractPlanningBoard
Returns:
the ColumnPagination


Copyright © 2007-2014 Atlassian. All Rights Reserved.