public class TableLayoutFactory extends Object
IssueTableLayoutBean
objects.Constructor and Description |
---|
TableLayoutFactory(FieldManager fieldManager,
TableLayoutUtils tableLayoutUtils,
ColumnLayoutItemFactory columnLayoutItemFactory,
UserPreferencesManager userPreferencesManager,
SearchService searchService,
SearchSortUtil searchSortUtil) |
Modifier and Type | Method and Description |
---|---|
IssueTableLayoutBean |
getAllColumnsExcelLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
getDashboardLayout(ApplicationUser user,
List<String> columnNames)
Get the columns relevant for the dashboard, but limiting to a specific list of column names.
|
IssueTableLayoutBean |
getPrintableLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
getStandardExcelLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
getStandardLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
getSubTaskIssuesLayout(ApplicationUser user,
Issue parentIssue,
SubTaskBean subTaskBean,
String subTaskView,
boolean timeTrackingData)
Get the layout for sub-tasks on the view issue page.
|
public TableLayoutFactory(FieldManager fieldManager, TableLayoutUtils tableLayoutUtils, ColumnLayoutItemFactory columnLayoutItemFactory, UserPreferencesManager userPreferencesManager, SearchService searchService, SearchSortUtil searchSortUtil)
public IssueTableLayoutBean getStandardLayout(SearchRequest searchRequest, ApplicationUser user)
public IssueTableLayoutBean getDashboardLayout(ApplicationUser user, List<String> columnNames) throws FieldException
IssueFieldConstants
. If you pass null
you will get the default columns.columnNames
- The columns to display. If no columns are specified, this will default to the columns specified in the jira-application.properties
file with the key represented by APKeys.ISSUE_TABLE_COLS_DASHBOARD
FieldException
public IssueTableLayoutBean getPrintableLayout(SearchRequest searchRequest, ApplicationUser user)
public IssueTableLayoutBean getStandardExcelLayout(SearchRequest searchRequest, ApplicationUser user)
public IssueTableLayoutBean getAllColumnsExcelLayout(SearchRequest searchRequest, ApplicationUser user)
public IssueTableLayoutBean getSubTaskIssuesLayout(ApplicationUser user, Issue parentIssue, SubTaskBean subTaskBean, String subTaskView, boolean timeTrackingData) throws ColumnLayoutStorageException, FieldException
ColumnLayoutItemFactory
.user
- To get the available columns fromparentIssue
- The parent issue of all the subTaskssubTaskBean
- The subTask bean that contains all the subtasks that will be displayed on this pagesubTaskView
- The 'view' which is passed to the subTaskBean to get the list of subtasks to display. Usually either 'unresolved' or 'all'timeTrackingData
- whether or not time tracking data should be shownColumnLayoutStorageException
- if there is a problem accessing the column layout backing dataFieldException
- if there is a problem accessing the field backing dataCopyright © 2002-2015 Atlassian. All Rights Reserved.