Class SearchConfiguration
- java.lang.Object
-
- com.jscape.inet.mft.management.descriptors.SearchConfiguration
-
public class SearchConfiguration extends java.lang.ObjectDomain specific search configuration.- Author:
- Roman Sheshunov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchConfiguration.SearchCategory
-
Constructor Summary
Constructors Constructor Description SearchConfiguration()Creates new instanceSearchConfiguration(SearchConfiguration.SearchCategory category, boolean showCategoryDropdown)Creates new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchConfigurationdefaultConfiguration()booleanequals(java.lang.Object o)SearchConfiguration.SearchCategorygetSearchCategory()Returns default search category.inthashCode()booleanisShowCategoryDropdown()Returns whether search category is shown in web interface.voidsetSearchCategory(SearchConfiguration.SearchCategory value)Sets default search category.voidsetShowCategoryDropdown(boolean value)Sets whether search category is enabled in web interface.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SearchConfiguration
public SearchConfiguration()
Creates new instance
-
SearchConfiguration
public SearchConfiguration(SearchConfiguration.SearchCategory category, boolean showCategoryDropdown)
Creates new instance.- Parameters:
category- default search categoryshowCategoryDropdown- show category dropdown flag
-
-
Method Detail
-
defaultConfiguration
public static SearchConfiguration defaultConfiguration()
-
getSearchCategory
public SearchConfiguration.SearchCategory getSearchCategory()
Returns default search category.- Returns:
- search category
-
setSearchCategory
public void setSearchCategory(SearchConfiguration.SearchCategory value)
Sets default search category.- Parameters:
value- search category
-
isShowCategoryDropdown
public boolean isShowCategoryDropdown()
Returns whether search category is shown in web interface.- Returns:
trueif enabled;falseotherwise
-
setShowCategoryDropdown
public void setShowCategoryDropdown(boolean value)
Sets whether search category is enabled in web interface.- Parameters:
value-trueif enabled;falseotherwise
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-