Class ChangeHistoryTabPanel
java.lang.Object
com.atlassian.jira.issue.tabpanels.ChangeHistoryTabPanel
- All Implemented Interfaces:
PaginatedIssueTabPanel
-
Constructor Summary
ConstructorsConstructorDescriptionChangeHistoryTabPanel
(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) -
Method Summary
Modifier and TypeMethodDescriptiongetActions
(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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.plugin.issuetabpanel.PaginatedIssueTabPanel
getHeader, getPersistentMarkup, paginationSupported
-
Constructor Details
-
ChangeHistoryTabPanel
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)
-
-
Method Details
-
getActions
Description copied from interface:PaginatedIssueTabPanel
Returns a sorted list of issue actions wrapped in a Page object. This method will only be called ifshowPanel
returned true for a given context. Therequest
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()
.- Specified by:
getActions
in interfacePaginatedIssueTabPanel
- Parameters:
request
- a GetActionsRequest- Returns:
- the actions to display
-
showPanel
Description copied from interface:PaginatedIssueTabPanel
Indicates whether this tab should be shown on a given issue.- Specified by:
showPanel
in interfacePaginatedIssueTabPanel
- Parameters:
request
- a ShowPanelRequest- Returns:
- a boolean indicating whether to show the panel or not
-
init
- Specified by:
init
in interfacePaginatedIssueTabPanel
-