|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pyxis.greenhopper.jira.boards.AbstractBoard
public abstract class AbstractBoard
| Field Summary | |
|---|---|
protected java.lang.Boolean |
canBoardRank
|
protected Context |
context
|
protected java.lang.String |
id
|
protected IssueView |
issueView
|
protected org.apache.log4j.Logger |
log
|
protected java.lang.String |
name
|
protected TBPageFilter |
pager
|
| Constructor Summary | |
|---|---|
AbstractBoard(BoardContext boardContext,
java.lang.String boardId,
java.lang.String boardName)
|
|
| Method Summary | |
|---|---|
boolean |
canBoardRank()
|
boolean |
canManageStats()
|
boolean |
canRank(BoardIssue boardIssue)
Retrieves whether or not the ranking is enabled in the board |
boolean |
canSelect(BoardIssue boardIssue)
|
int |
compareTo(Board board)
|
int |
computeStartFor(com.atlassian.jira.issue.Issue issue,
int fallBackStart)
Retrieves the page number where the issue is displayed |
boolean |
containsIssue(com.atlassian.jira.issue.MutableIssue issueObject)
Checks if whether or not the issue is associated with the board |
boolean |
equals(java.lang.Object o)
|
void |
focusOn(java.lang.String focussedKey,
int defaultStart)
|
java.util.List<com.atlassian.jira.issue.Issue> |
getAllIssues(boolean filter)
Retrieves ALL issues associated with the board. |
BoardContext |
getBoardContext()
Retrieves the BoardContext |
BoardIssue |
getBoardIssue(com.atlassian.jira.issue.Issue issue)
Retrieves the decorated isssue |
java.lang.String |
getBoxCss()
|
Context |
getContext()
Retrieves the selected context of the board |
java.lang.String |
getCursor(BoardIssue boardIssue)
Retrieves the cursor of the issue based on the possible actions |
java.lang.String |
getDecoratedName()
Retrieves the decorated name of the board |
protected int |
getDefaultStart()
|
java.lang.String |
getDescription(com.atlassian.jira.issue.Issue issue)
|
java.util.List<com.atlassian.jira.issue.Issue> |
getDisplayableIssues(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.jira.issue.Issue issue)
|
java.util.List<com.atlassian.jira.issue.Issue> |
getDisplayableIssuesFrom(java.util.List<com.atlassian.jira.issue.Issue> issues,
int start)
|
com.atlassian.query.Query |
getDisplayQuery(boolean filter)
Builds the query of the issues to display on the board |
protected com.atlassian.jira.issue.Issue |
getFocussedIssue()
|
java.util.List<com.atlassian.jira.issue.Issue> |
getHighLightedIssues()
|
java.lang.String |
getId()
Retrieves the unique id of the board' |
java.util.LinkedList<java.lang.String> |
getIssueKeys()
|
java.util.List<com.atlassian.jira.issue.Issue> |
getIssues(boolean filter,
com.atlassian.jira.web.bean.PagerFilter pager)
Retrieves all issues associated with the board. |
protected java.util.List<com.atlassian.jira.issue.Issue> |
getIssues(com.atlassian.query.Query query,
com.atlassian.jira.web.bean.PagerFilter pager)
|
java.util.List<com.atlassian.jira.issue.Issue> |
getIssuesInPage(int start)
Retrieves the issues associated with the board at the specified page start |
IssueView |
getIssueView()
|
int |
getMaxIssues()
Retrieves the maximum number of issues that can be displayed |
int |
getMaxPagine()
|
java.lang.String |
getName()
Retrieves the name of the board |
com.atlassian.query.Query |
getNavigatorQuery()
Builds the pretty query (names instead of ids) to retrieve the issues associated with the board |
int |
getPageNumber(java.lang.Integer start)
|
TBPageFilter |
getPager()
|
TBPageFilter |
getPager(int start)
|
Pagination |
getPagination()
|
java.util.List<Link> |
getPluginLinks()
|
protected abstract com.atlassian.query.Query |
getPrettyQuery()
|
com.atlassian.jira.project.Project |
getProject()
Retrieves the project that the board is associated to |
java.lang.Long |
getProjectId()
Retrieves the id of the project that the board is associated to |
protected abstract com.atlassian.query.Query |
getQuery()
|
com.atlassian.query.Query |
getQuery(boolean filter)
Builds the query to retrieve the issues associated with the board |
java.lang.String |
getRawName()
|
int |
getStart()
|
BoardSummary |
getSummary(boolean filter)
Retrieves the statistic component of the board |
int |
hashCode()
|
boolean |
hasMenuItems(BoardIssue boardIssue)
Returns whether or not the issue has menu items to display in the card menu |
boolean |
hideDone()
|
boolean |
hideSubs()
|
protected int |
indexOf(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.jira.issue.Issue issue)
|
boolean |
isAssignedToMeOn()
Returns whether or not only the user issues should be displayed |
boolean |
isCapacitySupported()
|
boolean |
isCardsDisplayed()
|
boolean |
isHighLighting()
|
boolean |
isListDisplayed()
|
boolean |
isLocked()
|
boolean |
isMarkersSupported()
|
boolean |
isModifierOn()
|
protected boolean |
isProjectAdmin()
|
boolean |
isSelectable()
Returns whether or not the board can be selected |
int |
issueCount()
Retrieves the number of issues associated with the board under the context. |
int |
issuePagineCount()
|
boolean |
isSummariesDisplayed()
|
boolean |
showParentSubInfo()
Show or not the parent/sub info |
boolean |
showProgressStats()
Returns whether or not the progress related stats (timetracking, status) can be shown |
boolean |
showStats()
Returns whether or not the watched fields stats can be shown |
java.lang.String |
truncate(java.lang.String s)
|
| 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.Board |
|---|
canDrag, getDisplayableBoardForIssue, getKey, getView, hasSettings, isAssociatedWith, showLegendBar |
| Field Detail |
|---|
protected final org.apache.log4j.Logger log
protected final java.lang.String id
protected java.lang.String name
protected Context context
protected IssueView issueView
protected java.lang.Boolean canBoardRank
protected TBPageFilter pager
| Constructor Detail |
|---|
public AbstractBoard(BoardContext boardContext,
java.lang.String boardId,
java.lang.String boardName)
| Method Detail |
|---|
public com.atlassian.jira.project.Project getProject()
Board
getProject in interface BoardProjectpublic java.lang.Long getProjectId()
Board
getProjectId in interface Boardpublic java.lang.String getId()
Board
getId in interface Boardpublic java.lang.String getName()
Board
getName in interface Boardpublic java.lang.String getRawName()
public java.lang.String getDecoratedName()
Board
getDecoratedName in interface Boardpublic BoardContext getBoardContext()
Board
getBoardContext in interface BoardBoardContextpublic int issueCount()
Board
issueCount in interface Boardpublic int issuePagineCount()
public com.atlassian.query.Query getQuery(boolean filter)
Board
getQuery in interface Boardfilter - true if the query should filter based on the context
Querypublic com.atlassian.query.Query getDisplayQuery(boolean filter)
Board
getDisplayQuery in interface Boardfilter - true if the query should filter based on the context
Querypublic com.atlassian.query.Query getNavigatorQuery()
Board
getNavigatorQuery in interface BoardQuerypublic java.util.List<com.atlassian.jira.issue.Issue> getAllIssues(boolean filter)
BoardBoard.getIssues(boolean filter, PagerFilter pager) instead.
getAllIssues in interface Boardfilter - true if the query should filter based on the context
Issues
public java.util.List<com.atlassian.jira.issue.Issue> getIssues(boolean filter,
com.atlassian.jira.web.bean.PagerFilter pager)
BoardBoard.getAllIssues(boolean filter)
getIssues in interface Boardfilter - true if the query should filter based on the contextpager - Pager filter
Issuespublic java.util.LinkedList<java.lang.String> getIssueKeys()
public int getPageNumber(java.lang.Integer start)
public java.util.List<com.atlassian.jira.issue.Issue> getDisplayableIssuesFrom(java.util.List<com.atlassian.jira.issue.Issue> issues,
int start)
public java.util.List<com.atlassian.jira.issue.Issue> getDisplayableIssues(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.jira.issue.Issue issue)
public java.util.List<com.atlassian.jira.issue.Issue> getIssuesInPage(int start)
Board
getIssuesInPage in interface Boardstart - pager start
Issuespublic boolean isHighLighting()
isHighLighting in interface Boardpublic java.util.List<com.atlassian.jira.issue.Issue> getHighLightedIssues()
getHighLightedIssues in interface Boardpublic Pagination getPagination()
getPagination in interface Board
public void focusOn(java.lang.String focussedKey,
int defaultStart)
focusOn in interface Boardpublic int getStart()
getStart in interface Boardpublic int getMaxPagine()
getMaxPagine in interface Boardpublic TBPageFilter getPager(int start)
public TBPageFilter getPager()
public int computeStartFor(com.atlassian.jira.issue.Issue issue,
int fallBackStart)
Board
computeStartFor in interface Boardpublic boolean containsIssue(com.atlassian.jira.issue.MutableIssue issueObject)
Board
containsIssue in interface Boardpublic int getMaxIssues()
Board
getMaxIssues in interface Boardpublic Context getContext()
Board
getContext in interface BoardContextpublic BoardSummary getSummary(boolean filter)
Board
getSummary in interface Boardfilter - true if the query should filter based on the context
BoardSummarypublic boolean canManageStats()
canManageStats in interface Boardpublic boolean canBoardRank()
canBoardRank in interface Boardpublic boolean canRank(BoardIssue boardIssue)
Board
canRank in interface Boardprotected boolean isProjectAdmin()
public boolean isMarkersSupported()
isMarkersSupported in interface Boardpublic boolean isCapacitySupported()
isCapacitySupported in interface Boardpublic boolean isLocked()
isLocked in interface Boardpublic BoardIssue getBoardIssue(com.atlassian.jira.issue.Issue issue)
Board
getBoardIssue in interface BoardBoardIssuepublic IssueView getIssueView()
getIssueView in interface Boardpublic boolean isCardsDisplayed()
isCardsDisplayed in interface Boardpublic boolean isSummariesDisplayed()
isSummariesDisplayed in interface Boardpublic boolean isListDisplayed()
isListDisplayed in interface Boardpublic boolean isModifierOn()
isModifierOn in interface Boardpublic boolean hideSubs()
hideSubs in interface Boardpublic boolean isAssignedToMeOn()
Board
isAssignedToMeOn in interface Boardpublic boolean hideDone()
hideDone in interface Boardpublic java.lang.String getDescription(com.atlassian.jira.issue.Issue issue)
public boolean hasMenuItems(BoardIssue boardIssue)
Board
hasMenuItems in interface BoardboardIssue - the selected issue
public boolean canSelect(BoardIssue boardIssue)
canSelect in interface Boardpublic java.lang.String getCursor(BoardIssue boardIssue)
Board
getCursor in interface Boardpublic java.lang.String getBoxCss()
getBoxCss in interface Boardpublic boolean isSelectable()
Board
isSelectable in interface Boardpublic boolean showStats()
Board
showStats in interface Boardpublic boolean showProgressStats()
Board
showProgressStats in interface Boardpublic boolean showParentSubInfo()
Board
showParentSubInfo in interface Boardpublic java.lang.String truncate(java.lang.String s)
public int compareTo(Board board)
compareTo in interface java.lang.Comparable<Board>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected abstract com.atlassian.query.Query getQuery()
protected abstract com.atlassian.query.Query getPrettyQuery()
protected java.util.List<com.atlassian.jira.issue.Issue> getIssues(com.atlassian.query.Query query,
com.atlassian.jira.web.bean.PagerFilter pager)
protected int indexOf(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.jira.issue.Issue issue)
protected com.atlassian.jira.issue.Issue getFocussedIssue()
protected int getDefaultStart()
public java.util.List<Link> getPluginLinks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||