Class SearchConfigurationRest.Filter

    • Constructor Detail

      • Filter

        public Filter()
    • Method Detail

      • isHasFacets

        public boolean isHasFacets()
        Specifies whether this filter has facets or not
        Returns:
        A boolean indicating whether this filter has facets or not
      • setHasFacets

        public void setHasFacets​(boolean hasFacets)
        Sets the hasFacets property of the filter class to the given boolean
        Parameters:
        hasFacets - The boolean that the hasFacets property will be set to
      • getPageSize

        public int getPageSize()
      • setPageSize

        public void setPageSize​(int pageSize)
      • getType

        public String getType()
        This is the same type as described in DiscoverySearchFilter.getType()
        Returns:
        The type of this filter
      • setType

        public void setType​(String type)
        This is the same type as described in DiscoverySearchFilter.setType(String)
        Parameters:
        type - The type for this Filter to be set to
      • isOpenByDefault

        public boolean isOpenByDefault()
        See documentantion at DiscoverySearchFilter.isOpenByDefault()
      • setOpenByDefault

        public void setOpenByDefault​(boolean openByDefault)
        See documentantion at DiscoverySearchFilter.setIsOpenByDefault(boolean)
      • setFilter

        public void setFilter​(String filter)
      • getFilter

        public String getFilter()
      • addDefaultOperatorsToList

        public void addDefaultOperatorsToList()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object