Class DefaultFilters


  • @Deprecated(forRemoval=false)
    public class DefaultFilters
    extends Object
    Deprecated.
    This class will be moved to okapi-ui
    WARNING: Resource intensive and not thread safe.

    Helper object to load a default list of filters and their editor information. The list is in the DefaultFilters.properties file. This class assumes that fcMapper implements IParametersEditorMapper

    • Constructor Detail

      • DefaultFilters

        public DefaultFilters()
        Deprecated.
    • Method Detail

      • setMappings

        public static void setMappings​(IFilterConfigurationMapper fcMapper,
                                       boolean reset,
                                       boolean addConfigurations)
        Deprecated.
        Add the default mappings provided in the DefaultFilters.properties file.
        Parameters:
        fcMapper - the mapper where to add the mapping.
        reset - true to clear all filters, editors and dec descriptions in the mapper before setting the new ones.
        addConfigurations - true to add the filters configurations, false to add only the parameters editors and UI descriptions.