public class ColumnLayoutItemFactory extends Object
ColumnLayoutItem
object.
This replaces SubTaskColumnLayoutFactory to becaome a more generic one.Constructor and Description |
---|
ColumnLayoutItemFactory(PermissionManager permissionManager,
VelocityTemplatingEngine templatingEngine,
JiraAuthenticationContext authenticationContext,
XsrfTokenGenerator xsrfTokenGenerator,
I18nHelper.BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
ColumnLayoutItem |
getActionsAndOperationsColumn()
Creates a ColumnLayoutItem that displays an AJAX dropdown that displays a list of all available actions and operations for that issue.
|
ColumnLayoutItem |
getSubTaskDisplaySequenceColumn(SubTaskBean subTaskBean,
String subTaskView)
Displays a simple ColumnLayoutItem that displays a sequence.
|
ColumnLayoutItem |
getSubTaskReorderColumn(ApplicationUser user,
Issue parentIssue,
SubTaskBean subTaskBean,
String subTaskView)
Create a column for SubTaskView for reordering (displaying reorder arrows)
|
ColumnLayoutItem |
getSubTaskSimpleSummaryColumn() |
public ColumnLayoutItemFactory(PermissionManager permissionManager, VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, XsrfTokenGenerator xsrfTokenGenerator, I18nHelper.BeanFactory beanFactory)
public ColumnLayoutItem getSubTaskReorderColumn(ApplicationUser user, Issue parentIssue, SubTaskBean subTaskBean, String subTaskView)
user
- The current userparentIssue
- The parent issue of the subtaskssubTaskBean
- The subtask bean containing subtasks in sequencesubTaskView
- The view being displayed - SubTaskBean.SUB_TASK_VIEW_ALL
or SubTaskBean.SUB_TASK_VIEW_UNRESOLVED
public ColumnLayoutItem getActionsAndOperationsColumn()
public ColumnLayoutItem getSubTaskDisplaySequenceColumn(SubTaskBean subTaskBean, String subTaskView)
public ColumnLayoutItem getSubTaskSimpleSummaryColumn()
Copyright © 2002-2019 Atlassian. All Rights Reserved.