public interface

FilterDeletionWarningViewProvider

com.atlassian.jira.bc.filter.FilterDeletionWarningViewProvider
Known Indirect Subclasses

Class Overview

Generates HTML for filter deletion confirmation dialog. The HTML may contain one or more warning messages. Some examples: warning when the filter to be deleted has one or more subscriptions against it, warning when one or more users (other than the current user) have favourited the filter. Other filter consumers can also provide warnings by declaring a web panel at a predefined location.

Summary

Public Methods
String getWarningHtml(SearchRequest searchRequest)
Generates the HTML view for filter deletion confirmation dialog.
void requireDefaultStyle(RequiredResources requiredResources)
Includes required web resources to style the dialog HTML.

Public Methods

public String getWarningHtml (SearchRequest searchRequest)

Generates the HTML view for filter deletion confirmation dialog. This method grabs all warning messages from various filter consumers.

Parameters
searchRequest The filter that is about to be deleted
Returns
  • HTML view

public void requireDefaultStyle (RequiredResources requiredResources)

Includes required web resources to style the dialog HTML.