Class SearchConfiguration


  • public class SearchConfiguration
    extends java.lang.Object
    Domain specific search configuration.
    Author:
    Roman Sheshunov
    • Constructor Detail

      • SearchConfiguration

        public SearchConfiguration()
        Creates new instance
      • SearchConfiguration

        public SearchConfiguration​(SearchConfiguration.SearchCategory category,
                                   boolean showCategoryDropdown)
        Creates new instance.
        Parameters:
        category - default search category
        showCategoryDropdown - show category dropdown flag
    • Method Detail

      • isShowCategoryDropdown

        public boolean isShowCategoryDropdown()
        Returns whether search category is shown in web interface.
        Returns:
        true if enabled; false otherwise
      • setShowCategoryDropdown

        public void setShowCategoryDropdown​(boolean value)
        Sets whether search category is enabled in web interface.
        Parameters:
        value - true if enabled; false otherwise
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object