public class FilterDeletionWarningViewProviderImpl extends Object implements FilterDeletionWarningViewProvider
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_KEY_SEARCH_REQUEST |
static String |
CONTEXT_KEY_USER |
Constructor and Description |
---|
FilterDeletionWarningViewProviderImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
SoyTemplateRendererProvider soyTemplateRendererProvider,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
String |
getWarningHtml(SearchRequest searchRequest)
Generates the HTML view for filter deletion confirmation dialog.
|
void |
requireDefaultStyle(com.atlassian.webresource.api.assembler.RequiredResources requiredResources)
Includes required web resources to style the dialog HTML.
|
public static final String CONTEXT_KEY_USER
public static final String CONTEXT_KEY_SEARCH_REQUEST
public FilterDeletionWarningViewProviderImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, SoyTemplateRendererProvider soyTemplateRendererProvider, JiraAuthenticationContext jiraAuthenticationContext)
public String getWarningHtml(SearchRequest searchRequest)
FilterDeletionWarningViewProvider
getWarningHtml
in interface FilterDeletionWarningViewProvider
searchRequest
- The filter that is about to be deletedpublic void requireDefaultStyle(com.atlassian.webresource.api.assembler.RequiredResources requiredResources)
FilterDeletionWarningViewProvider
requireDefaultStyle
in interface FilterDeletionWarningViewProvider
Copyright © 2002-2021 Atlassian. All Rights Reserved.