public class ChangeHistoryTabPanel extends Object implements PaginatedIssueTabPanel
Constructor and Description |
---|
ChangeHistoryTabPanel(ChangeHistorySearcher changeHistorySearcher,
AttachmentManager attachmentManager,
JiraDurationUtils jiraDurationUtils,
CustomFieldManager customFieldManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
DateTimeFieldChangeLogHelper changeLogHelper,
UserFormatManager userFormatManager,
I18nHelper i18nHelper,
JiraAuthenticationContext authenticationContext,
AvatarService avatarService,
HistoryMetadataManager historyMetadataManager,
HistoryMetadataRenderHelper historyMetadataRenderHelper,
ChangeHistoryUsernameResolver changeHistoryUsernameResolver) |
Modifier and Type | Method and Description |
---|---|
Page<IssueAction> |
getActions(GetActionsRequest request)
Returns a sorted list of issue actions wrapped in a Page object.
|
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
getHeader, getPersistentMarkup, paginationSupported
public ChangeHistoryTabPanel(ChangeHistorySearcher changeHistorySearcher, AttachmentManager attachmentManager, JiraDurationUtils jiraDurationUtils, CustomFieldManager customFieldManager, DateTimeFormatterFactory dateTimeFormatterFactory, DateTimeFieldChangeLogHelper changeLogHelper, UserFormatManager userFormatManager, I18nHelper i18nHelper, JiraAuthenticationContext authenticationContext, AvatarService avatarService, HistoryMetadataManager historyMetadataManager, HistoryMetadataRenderHelper historyMetadataRenderHelper, ChangeHistoryUsernameResolver changeHistoryUsernameResolver)
public 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 boolean showPanel(ShowPanelRequest request)
PaginatedIssueTabPanel
showPanel
in interface PaginatedIssueTabPanel
request
- a ShowPanelRequestpublic void init(IssueTabPanelModuleDescriptor descriptor)
init
in interface PaginatedIssueTabPanel
Copyright © 2002-2023 Atlassian. All Rights Reserved.