public static class SearchConfigurationRest.Filter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchConfigurationRest.Filter.Operator |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATOR_AUTHORITY |
static String |
OPERATOR_CONTAINS |
static String |
OPERATOR_EQUALS |
static String |
OPERATOR_NOTAUTHORITY |
static String |
OPERATOR_NOTCONTAINS |
static String |
OPERATOR_NOTEQUALS |
static String |
OPERATOR_QUERY |
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultOperatorsToList() |
void |
addOperator(SearchConfigurationRest.Filter.Operator operator) |
boolean |
equals(Object object) |
String |
getFilter() |
List<SearchConfigurationRest.Filter.Operator> |
getOperators() |
int |
getPageSize() |
String |
getType()
This is the same type as described in
DiscoverySearchFilter.getType() |
int |
hashCode() |
boolean |
isHasFacets()
Specifies whether this filter has facets or not
|
boolean |
isOpenByDefault()
See documentantion at
DiscoverySearchFilter.isOpenByDefault() |
void |
setFilter(String filter) |
void |
setHasFacets(boolean hasFacets)
Sets the hasFacets property of the filter class to the given boolean
|
void |
setOpenByDefault(boolean openByDefault)
See documentantion at
DiscoverySearchFilter.setIsOpenByDefault(boolean) |
void |
setPageSize(int pageSize) |
void |
setType(String type)
This is the same type as described in
DiscoverySearchFilter.setType(String) |
public static final String OPERATOR_EQUALS
public static final String OPERATOR_NOTEQUALS
public static final String OPERATOR_AUTHORITY
public static final String OPERATOR_NOTAUTHORITY
public static final String OPERATOR_CONTAINS
public static final String OPERATOR_NOTCONTAINS
public static final String OPERATOR_QUERY
public boolean isHasFacets()
public void setHasFacets(boolean hasFacets)
hasFacets - The boolean that the hasFacets property will be set topublic int getPageSize()
public void setPageSize(int pageSize)
public String getType()
DiscoverySearchFilter.getType()public void setType(String type)
DiscoverySearchFilter.setType(String)type - The type for this Filter to be set topublic boolean isOpenByDefault()
DiscoverySearchFilter.isOpenByDefault()public void setOpenByDefault(boolean openByDefault)
DiscoverySearchFilter.setIsOpenByDefault(boolean)public void setFilter(String filter)
public String getFilter()
public void addOperator(SearchConfigurationRest.Filter.Operator operator)
public List<SearchConfigurationRest.Filter.Operator> getOperators()
public void addDefaultOperatorsToList()
Copyright © 2019 DuraSpace. All rights reserved.