Package com.atlassian.jira.board
Class DefaultBoardDataService
java.lang.Object
com.atlassian.jira.board.DefaultBoardDataService
- All Implemented Interfaces:
BoardDataService
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBoardDataService(BoardWorkflowService boardWorkflowService, BoardQueryService boardQueryService, I18nHelper.BeanFactory i18nFactory, IssueSearchLimits issueSearchLimits, SearchService searchService) -
Method Summary
Modifier and TypeMethodDescriptiongetDataForBoard(ApplicationUser user, Board board) As the given user, get the data for a board.
-
Constructor Details
-
DefaultBoardDataService
public DefaultBoardDataService(BoardWorkflowService boardWorkflowService, BoardQueryService boardQueryService, I18nHelper.BeanFactory i18nFactory, IssueSearchLimits issueSearchLimits, SearchService searchService)
-
-
Method Details
-
getDataForBoard
Description copied from interface:BoardDataServiceAs the given user, get the data for a board. This will return an object containing the issues, statuses, assignees and columns for the board. The columns will also be ordered based on the status they contain, with the initial statuses of all workflows in the board's query context appearing first, and then the rest sorted first by status category and then by status id. There will be an error if an exception occurs while retrieving the board's issues, or if there is an error while parsing the board JQL.- Specified by:
getDataForBoardin interfaceBoardDataService- Parameters:
user- the user to retrieve the data for the board asboard- the board to get the data for- Returns:
- the board data if successful,
or
if there was an error parsing the JQL, or
invalid reference
com.atlassian.jira.util.ErrorCollection.Reason.VALIDATION_FAILEDif there was an exception while searchinginvalid reference
com.atlassian.jira.util.ErrorCollection.Reason.SERVER_ERROR
-