com.atlassian.jira.portal
Class SearchRequestValuesGenerator

java.lang.Object
  extended by com.atlassian.jira.portal.SearchRequestValuesGenerator
All Implemented Interfaces:
ValuesGenerator

public class SearchRequestValuesGenerator
extends java.lang.Object
implements ValuesGenerator

A ValuesGenerator for creating a list of SearchRequests (a.k.a Filters) with IDs and names. The filterpicker Configurable Objects type should be used instead of a select and this ValuesGenerator since the number of filters returned could be too large for a select control.


Field Summary
 
Fields inherited from interface com.atlassian.configurable.ValuesGenerator
NONE
 
Constructor Summary
SearchRequestValuesGenerator()
           
 
Method Summary
 java.util.Map getValues(java.util.Map params)
          Returns a map of the filter id to the filter name, requiring only the "User" parameter in the params map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRequestValuesGenerator

public SearchRequestValuesGenerator()
Method Detail

getValues

public java.util.Map getValues(java.util.Map params)
Returns a map of the filter id to the filter name, requiring only the "User" parameter in the params map.

Specified by:
getValues in interface ValuesGenerator
Parameters:
params - Used to generate a relevant list of choices. e.g. may have some permissions in it
Returns:
Map which contains a list of choices as key value pairs. Can be null.


Copyright © 2002-2011 Atlassian. All Rights Reserved.