com.endeca.b2creference.utils
Class DimensionSearchUtils
java.lang.Object
com.endeca.b2creference.utils.DimensionSearchUtils
public class DimensionSearchUtils
- extends java.lang.Object
|
Method Summary |
static java.util.Map<java.lang.String,java.util.List<com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.elements.SearchSuggestionElementUrl>> |
filterAndGroupDimSearchResults(com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.DimValSuggestionListComponentUrl searchSuggestions,
java.util.Set<java.lang.String> dims)
Groups dimension search results by dimension, only returning results
for dimensions in dims, order will be the same as dims,
so it is recommended to use a LinkedHashSet, TreeSet, or
some other Set with a defined order |
static java.util.Map<java.lang.String,java.util.List<com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.elements.SearchSuggestionElementUrl>> |
filterAndGroupDimSearchResults(com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.DimValSuggestionListComponentUrl searchSuggestions,
java.lang.String dimsStr,
java.lang.String separator)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DimensionSearchUtils
public DimensionSearchUtils()
filterAndGroupDimSearchResults
public static java.util.Map<java.lang.String,java.util.List<com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.elements.SearchSuggestionElementUrl>> filterAndGroupDimSearchResults(com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.DimValSuggestionListComponentUrl searchSuggestions,
java.util.Set<java.lang.String> dims)
- Groups dimension search results by dimension, only returning results
for dimensions in
dims, order will be the same as dims,
so it is recommended to use a LinkedHashSet, TreeSet, or
some other Set with a defined order
- Parameters:
dims - searchSuggestions -
- Returns:
filterAndGroupDimSearchResults
public static java.util.Map<java.lang.String,java.util.List<com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.elements.SearchSuggestionElementUrl>> filterAndGroupDimSearchResults(com.endeca.soleng.uiComponentLibrary.web.urlFormatter.components.DimValSuggestionListComponentUrl searchSuggestions,
java.lang.String dimsStr,
java.lang.String separator)
- Parameters:
searchSuggestions - dimsProp -
- Returns:
- See Also:
Overloaded method that assumes the given string is a new-line delimited set of dimension
names that should be included in the resulting dimensin search results. Null or empty
dimsStr will result in all dimensions being included.