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,
com.atlassian.crowd.embedded.api.User user) |
IssueTableLayoutBean |
getDashboardLayout(com.atlassian.crowd.embedded.api.User user,
List<String> columnNames)
Get the columns relevant for the dashboard, but limiting to a specific list of column names.
|
IssueTableLayoutBean |
getPrintableLayout(SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user) |
IssueTableLayoutBean |
getStandardExcelLayout(SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user) |
IssueTableLayoutBean |
getStandardLayout(SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user) |
IssueTableLayoutBean |
getSubTaskIssuesLayout(com.atlassian.crowd.embedded.api.User 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, com.atlassian.crowd.embedded.api.User user)
public IssueTableLayoutBean getDashboardLayout(com.atlassian.crowd.embedded.api.User 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_DASHBOARDFieldExceptionpublic IssueTableLayoutBean getPrintableLayout(SearchRequest searchRequest, com.atlassian.crowd.embedded.api.User user)
public IssueTableLayoutBean getStandardExcelLayout(SearchRequest searchRequest, com.atlassian.crowd.embedded.api.User user)
public IssueTableLayoutBean getAllColumnsExcelLayout(SearchRequest searchRequest, com.atlassian.crowd.embedded.api.User user)
public IssueTableLayoutBean getSubTaskIssuesLayout(com.atlassian.crowd.embedded.api.User 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.