Package org.dspace.app.rest.model
Class SearchConfigurationRest.Filter
java.lang.Object
org.dspace.app.rest.model.SearchConfigurationRest.Filter
- Enclosing class:
- SearchConfigurationRest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanintgetType()This is the same type as described inDiscoverySearchFilter.getType()inthashCode()booleanSpecifies whether this filter has facets or notbooleanSee documentantion atDiscoverySearchFilter.isOpenByDefault()voidvoidsetHasFacets(boolean hasFacets) Sets the hasFacets property of the filter class to the given booleanvoidsetOpenByDefault(boolean openByDefault) See documentantion atDiscoverySearchFilter.setIsOpenByDefault(boolean)voidsetPageSize(int pageSize) voidThis is the same type as described inDiscoverySearchFilter.setType(String)
-
Field Details
-
OPERATOR_EQUALS
- See Also:
-
OPERATOR_NOTEQUALS
- See Also:
-
OPERATOR_AUTHORITY
- See Also:
-
OPERATOR_NOTAUTHORITY
- See Also:
-
OPERATOR_CONTAINS
- See Also:
-
OPERATOR_NOTCONTAINS
- See Also:
-
OPERATOR_QUERY
- See Also:
-
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
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
This is the same type as described inDiscoverySearchFilter.getType()- Returns:
- The type of this filter
-
setType
This is the same type as described inDiscoverySearchFilter.setType(String)- Parameters:
type- The type for this Filter to be set to
-
isOpenByDefault
public boolean isOpenByDefault()See documentantion atDiscoverySearchFilter.isOpenByDefault() -
setOpenByDefault
public void setOpenByDefault(boolean openByDefault) See documentantion atDiscoverySearchFilter.setIsOpenByDefault(boolean) -
setFilter
-
getFilter
-
addOperator
-
getOperators
-
addDefaultOperatorsToList
public void addDefaultOperatorsToList() -
equals
-
hashCode
public int hashCode()
-