public class AbstractKeywordFilter extends TaxonomyFilter
When the ContextElement passed to the Filter is Abstract it will not be filtered.
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_NAME
Filter name.
|
Constructor and Description |
---|
AbstractKeywordFilter(boolean filterConcrete,
boolean filterAbstract)
Constructs a AbstractKeywordFilter, which filters if facets are abstract or concrete.
|
Modifier and Type | Method and Description |
---|---|
String |
filterTaxonomyContext()
This method is responsible for the building of a query used to retrieve a filtered taxonomy.
|
String |
getFilterName()
This returns the name of the Filter.
|
String |
toString()
This prints out the current settings of this AbstractKeywordFilter.
|
public static final String FILTER_NAME
public AbstractKeywordFilter(boolean filterConcrete, boolean filterAbstract)
filterAbstract
- This sets if need to filter on abstract keywords, true for filter, false for not filteringfilterConcrete
- This sets if need to filter on concrete keyworsd, true for filter, false for not filteringpublic String filterTaxonomyContext()
filterTaxonomyContext
in class TaxonomyFilter
public String toString()
public String getFilterName()
getFilterName
in class TaxonomyFilter
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries