public class

FilterPickerPopup

extends JiraWebActionSupport
implements SharedEntitySearchAction
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.filter.FilterPickerPopup

Class Overview

Action implementation for the Filter Picker popup.

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
FilterPickerPopup(SearchRequestService searchRequestService, ShareTypeFactory shareTypeFactory, PermissionManager permissionManager, JiraAuthenticationContext authCtx, ProjectManager projectManager, SearchRequestDisplayBean.Factory beanFactory, ProjectDescriptionRenderer projectDescriptionRenderer)
Public Methods
Collection<ProjectCategory> getCategories()
int getEndPosition()
String getField()
FilterLinkRenderer getFilterLinkRenderer()
String getFilterView()
List getFilters()
FilterPickerPopup.FilterPickerPopupViewHelper getFiltersViewHelper()
String getGroupShare()
String getNextUrl()
Long getPagingOffset()
String getPreviousUrl()
String getProjectShare()
Collection<Project> getProjectsInCategory(ProjectCategory projectCategory)
Collection<Project> getProjectsInNoCategory()
String getRenderedProjectDescription(Project project)
String getRoleShare()
String getSearchEmptyMessageKey()
Returns the key for a message to be used in the case when there are no search results.
String getSearchName()
String getSearchOwnerUserName()
String getSearchShareType()
String getSortColumn()
int getStartPosition()
int getTotalResultCount()
boolean isSearchRequested()
boolean isShowFilters()
boolean isShowProjects()
boolean isSortAscending()
boolean isTabShowing(String tab)
boolean projectsExist()
void setField(String field)
void setFilterView(String filterView)
void setGroupShare(String groupShare)
void setPagingOffset(Long pagingOffset)
void setProjectShare(String projectShare)
void setRoleShare(String roleShare)
void setSearchName(String searchName)
void setSearchOwnerUserName(String searchOwnerUserName)
void setSearchShareType(String searchShareType)
void setShowFilters(boolean showFilters)
void setShowProjects(boolean showProjects)
void setSortAscending(boolean sortAscending)
void setSortColumn(String sortColumn)
boolean showCategories()
Determines whether or not the list of projects should be shown grouped by categories.
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.action.util.sharing.SharedEntitySearchAction
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public FilterPickerPopup (SearchRequestService searchRequestService, ShareTypeFactory shareTypeFactory, PermissionManager permissionManager, JiraAuthenticationContext authCtx, ProjectManager projectManager, SearchRequestDisplayBean.Factory beanFactory, ProjectDescriptionRenderer projectDescriptionRenderer)

Public Methods

public Collection<ProjectCategory> getCategories ()

public int getEndPosition ()

public String getField ()

public FilterLinkRenderer getFilterLinkRenderer ()

public String getFilterView ()

public List getFilters ()

public FilterPickerPopup.FilterPickerPopupViewHelper getFiltersViewHelper ()

public String getGroupShare ()

public String getNextUrl ()

public Long getPagingOffset ()

public String getPreviousUrl ()

public String getProjectShare ()

public Collection<Project> getProjectsInCategory (ProjectCategory projectCategory)

public Collection<Project> getProjectsInNoCategory ()

public String getRenderedProjectDescription (Project project)

public String getRoleShare ()

public String getSearchEmptyMessageKey ()

Returns the key for a message to be used in the case when there are no search results. Either there was no search requested, the search failed or it returned no results.

Returns
  • the key of the message to be rendered in the case where there is

public String getSearchName ()

public String getSearchOwnerUserName ()

public String getSearchShareType ()

public String getSortColumn ()

public int getStartPosition ()

public int getTotalResultCount ()

public boolean isSearchRequested ()

public boolean isShowFilters ()

public boolean isShowProjects ()

public boolean isSortAscending ()

public boolean isTabShowing (String tab)

public boolean projectsExist ()

public void setField (String field)

public void setFilterView (String filterView)

public void setGroupShare (String groupShare)

public void setPagingOffset (Long pagingOffset)

public void setProjectShare (String projectShare)

public void setRoleShare (String roleShare)

public void setSearchName (String searchName)

public void setSearchOwnerUserName (String searchOwnerUserName)

public void setSearchShareType (String searchShareType)

public void setShowFilters (boolean showFilters)

public void setShowProjects (boolean showProjects)

public void setSortAscending (boolean sortAscending)

public void setSortColumn (String sortColumn)

public boolean showCategories ()

Determines whether or not the list of projects should be shown grouped by categories. Standard edition doesn't have categories.

Returns
  • true only if the front-end should display projects in categories.

Protected Methods

protected String doExecute ()