public class CommentTabPanel extends Object implements PaginatedIssueTabPanel
Modifier and Type | Field and Description |
---|---|
protected IssueTabPanelModuleDescriptor |
descriptor |
Constructor and Description |
---|
CommentTabPanel(CommentManager commentManager,
CommentService commentService,
CommentPermissionManager commentPermissionManager,
CommentReactionsEnabledService commentReactionsEnabledService,
IssueManager issueManager,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
DateTimeFormatter dateTimeFormatter,
CommentFieldRenderer commentFieldRenderer,
CommentPropertyService commentPropertyService,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
Page<IssueAction> |
getActions(GetActionsRequest request)
Returns a sorted list of issue actions wrapped in a Page object.
|
String |
getPersistentMarkup(GetActionsRequest request)
Allows implementors to provide additional HTML code to the page.
|
void |
init(IssueTabPanelModuleDescriptor descriptor) |
boolean |
showPanel(ShowPanelRequest request)
Indicates whether this tab should be shown on a given issue.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
paginationSupported
protected IssueTabPanelModuleDescriptor descriptor
public CommentTabPanel(CommentManager commentManager, CommentService commentService, CommentPermissionManager commentPermissionManager, CommentReactionsEnabledService commentReactionsEnabledService, IssueManager issueManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, DateTimeFormatter dateTimeFormatter, CommentFieldRenderer commentFieldRenderer, CommentPropertyService commentPropertyService, JiraAuthenticationContext jiraAuthenticationContext)
public void init(IssueTabPanelModuleDescriptor descriptor)
init
in interface PaginatedIssueTabPanel
public boolean showPanel(ShowPanelRequest request)
PaginatedIssueTabPanel
showPanel
in interface PaginatedIssueTabPanel
request
- a ShowPanelRequestpublic Page<IssueAction> getActions(GetActionsRequest request)
PaginatedIssueTabPanel
showPanel
returned true for a given context.
The request
parameter contains the user that is viewing the tab, information as to whether the tab
is being loaded using an AJAX request, and so on.
Note that for the 'all' tab, the returned actions will be displayed in order according to the value returned by
IssueAction.getTimePerformed()
.
getActions
in interface PaginatedIssueTabPanel
request
- a GetActionsRequestpublic String getPersistentMarkup(GetActionsRequest request)
PaginatedIssueTabPanel
PaginatedIssueTabPanel.showPanel(com.atlassian.jira.plugin.issuetabpanel.ShowPanelRequest)
returns true.getPersistentMarkup
in interface PaginatedIssueTabPanel
Copyright © 2002-2022 Atlassian. All Rights Reserved.