Package com.atlassian.jira.bc.filter
Interface FilterDeletionWarningViewProvider
- All Known Implementing Classes:
FilterDeletionWarningViewProviderImpl
public interface FilterDeletionWarningViewProvider
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.
******************************* This is in the DMZ; search for usages before removing it. The Issue Navigator plugin is one known user. *******************************
-
Method Summary
Modifier and TypeMethodDescriptiongetWarningHtml(SearchRequest searchRequest) Generates the HTML view for filter deletion confirmation dialog.voidrequireDefaultStyle(com.atlassian.webresource.api.assembler.RequiredResources requiredResources) Includes required web resources to style the dialog HTML.
-
Method Details
-
getWarningHtml
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
-
requireDefaultStyle
void requireDefaultStyle(com.atlassian.webresource.api.assembler.RequiredResources requiredResources) Includes required web resources to style the dialog HTML.- Parameters:
requiredResources-
-