public final class

FilterOperationsBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.action.filter.FilterOperationsBean

Class Overview

Encapsulates the logic of what filter operations are available in the UI.

Summary

Public Methods
static FilterOperationsBean create(SearchRequest searchRequest, boolean validFilter, ApplicationUser user, boolean isAdvancedScreen)
Factory method that uses common inputs to build a sensible default state.
boolean equals(Object o)
boolean hasOperation()
int hashCode()
boolean isShowEdit()
boolean isShowInvalid()
boolean isShowReload()
boolean isShowSave()
boolean isShowSaveAs()
boolean isShowSaveNew()
boolean isShowViewSubscriptions()
void setShowEdit(boolean showEdit)
void setShowInvalid(boolean showInvalid)
void setShowReload(boolean showReload)
void setShowSave(boolean showSave)
void setShowSaveAs(boolean showSaveAs)
void setShowSaveNew(boolean showSaveNew)
void setShowViewSubscriptions(boolean showViewSubscriptions)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static FilterOperationsBean create (SearchRequest searchRequest, boolean validFilter, ApplicationUser user, boolean isAdvancedScreen)

Factory method that uses common inputs to build a sensible default state.

Parameters
searchRequest the search request as provided by the action.
validFilter true only if the passed filter is valid for JIRA's current state.
user the remote user or null if there is none.
isAdvancedScreen true if the operations are to be displayed on the advanced screen
Returns
  • a FilterOperationsBean representing the correct state of the operations panel for filters.

public boolean equals (Object o)

public boolean hasOperation ()

public int hashCode ()

public boolean isShowEdit ()

public boolean isShowInvalid ()

public boolean isShowReload ()

public boolean isShowSave ()

public boolean isShowSaveAs ()

public boolean isShowSaveNew ()

public boolean isShowViewSubscriptions ()

public void setShowEdit (boolean showEdit)

public void setShowInvalid (boolean showInvalid)

public void setShowReload (boolean showReload)

public void setShowSave (boolean showSave)

public void setShowSaveAs (boolean showSaveAs)

public void setShowSaveNew (boolean showSaveNew)

public void setShowViewSubscriptions (boolean showViewSubscriptions)

public String toString ()