com.atlassian.jira.web.component
Class TableLayoutFactory
java.lang.Object
com.atlassian.jira.web.component.TableLayoutFactory
- public class TableLayoutFactory
- extends Object
A class for creating IssueTableLayoutBean
objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableLayoutFactory
public TableLayoutFactory(ColumnLayoutManager columnLayoutManager,
ConstantsManager constantsManager,
FieldManager fieldManager,
TableLayoutUtils tableLayoutUtils,
SubTaskColumnLayoutFactory subTaskColumnLayoutFactory)
getStandardLayout
public IssueTableLayoutBean getStandardLayout(SearchRequest searchRequest,
User user)
getPrintableLayout
public IssueTableLayoutBean getPrintableLayout(SearchRequest searchRequest,
User user)
getStandardExcelLayout
public IssueTableLayoutBean getStandardExcelLayout(SearchRequest searchRequest,
User user)
getAllColumnsExcelLayout
public IssueTableLayoutBean getAllColumnsExcelLayout(SearchRequest searchRequest,
User user)
getLinkedIssuesLayout
public IssueTableLayoutBean getLinkedIssuesLayout(User user,
ColumnLayoutItem columnLayoutItem)
throws ColumnLayoutStorageException,
FieldException
- Parameters:
user
- To get the available columns fromcolumnLayoutItem
- The column to show the 'delete' button. If null, no column will be displayed
- Throws:
ColumnLayoutStorageException
FieldException
getSubTaskIssuesLayout
public IssueTableLayoutBean getSubTaskIssuesLayout(User user,
Issue parentIssue,
SubTaskBean subTaskBean,
String subTaskView)
throws ColumnLayoutStorageException,
FieldException
- Get the layout for sub-tasks on the view issue page.
Users can specify which columns to show in jira-application.properties. The default columns that are always shown:
- The sequence number (1, 2, etc)
- The summary of the sub-task
- The controls to re-order sub-tasks
- The links to update workflow on the subtasks
The standard columns are retrieved from SubTaskColumnLayoutFactory
.
- Parameters:
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'
- Throws:
ColumnLayoutStorageException
FieldException
Copyright © 2002-2007 Atlassian. All Rights Reserved.