|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Board
Project
public java.lang.Long getProjectId()
Board
getProjectId
in interface Board
public java.lang.String getId()
Board
getId
in interface Board
public java.lang.String getName()
Board
getName
in interface Board
public java.lang.String getRawName()
public java.lang.String getDecoratedName()
Board
getDecoratedName
in interface Board
public BoardContext getBoardContext()
Board
getBoardContext
in interface Board
BoardContext
public int issueCount()
Board
issueCount
in interface Board
public int issuePagineCount()
public com.atlassian.query.Query getQuery(boolean filter)
Board
getQuery
in interface Board
filter
- true if the query should filter based on the context
Query
public com.atlassian.query.Query getDisplayQuery(boolean filter)
Board
getDisplayQuery
in interface Board
filter
- true if the query should filter based on the context
Query
public com.atlassian.query.Query getNavigatorQuery()
Board
getNavigatorQuery
in interface Board
Query
public java.util.List<com.atlassian.jira.issue.Issue> getAllIssues(boolean filter)
Board
Board.getIssues(boolean filter, PagerFilter pager)
instead.
getAllIssues
in interface Board
filter
- true if the query should filter based on the context
Issue
spublic java.util.List<com.atlassian.jira.issue.Issue> getIssues(boolean filter, com.atlassian.jira.web.bean.PagerFilter pager)
Board
Board.getAllIssues(boolean filter)
getIssues
in interface Board
filter
- true if the query should filter based on the contextpager
- Pager filter
Issue
spublic 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 Board
start
- pager start
Issue
spublic boolean isHighLighting()
isHighLighting
in interface Board
public java.util.List<com.atlassian.jira.issue.Issue> getHighLightedIssues()
getHighLightedIssues
in interface Board
public Pagination getPagination()
getPagination
in interface Board
public void focusOn(java.lang.String focussedKey, int defaultStart)
focusOn
in interface Board
public int getStart()
getStart
in interface Board
public int getMaxPagine()
getMaxPagine
in interface Board
public TBPageFilter getPager(int start)
public TBPageFilter getPager()
public int computeStartFor(com.atlassian.jira.issue.Issue issue, int fallBackStart)
Board
computeStartFor
in interface Board
public boolean containsIssue(com.atlassian.jira.issue.MutableIssue issueObject)
Board
containsIssue
in interface Board
public int getMaxIssues()
Board
getMaxIssues
in interface Board
public Context getContext()
Board
getContext
in interface Board
Context
public BoardSummary getSummary(boolean filter)
Board
getSummary
in interface Board
filter
- true if the query should filter based on the context
BoardSummary
public boolean canManageStats()
canManageStats
in interface Board
public boolean canBoardRank()
canBoardRank
in interface Board
public boolean canRank(BoardIssue boardIssue)
Board
canRank
in interface Board
protected boolean isProjectAdmin()
public boolean isMarkersSupported()
isMarkersSupported
in interface Board
public boolean isCapacitySupported()
isCapacitySupported
in interface Board
public boolean isLocked()
isLocked
in interface Board
public BoardIssue getBoardIssue(com.atlassian.jira.issue.Issue issue)
Board
getBoardIssue
in interface Board
BoardIssue
public IssueView getIssueView()
getIssueView
in interface Board
public boolean isCardsDisplayed()
isCardsDisplayed
in interface Board
public boolean isSummariesDisplayed()
isSummariesDisplayed
in interface Board
public boolean isListDisplayed()
isListDisplayed
in interface Board
public boolean isModifierOn()
isModifierOn
in interface Board
public boolean hideSubs()
hideSubs
in interface Board
public boolean isAssignedToMeOn()
Board
isAssignedToMeOn
in interface Board
public boolean hideDone()
hideDone
in interface Board
public java.lang.String getDescription(com.atlassian.jira.issue.Issue issue)
public boolean hasMenuItems(BoardIssue boardIssue)
Board
hasMenuItems
in interface Board
boardIssue
- the selected issue
public boolean canSelect(BoardIssue boardIssue)
canSelect
in interface Board
public java.lang.String getCursor(BoardIssue boardIssue)
Board
getCursor
in interface Board
public java.lang.String getBoxCss()
getBoxCss
in interface Board
public boolean isSelectable()
Board
isSelectable
in interface Board
public boolean showStats()
Board
showStats
in interface Board
public boolean showProgressStats()
Board
showProgressStats
in interface Board
public boolean showParentSubInfo()
Board
showParentSubInfo
in interface Board
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
protected 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 |