Class SearchQueryConverter
java.lang.Object
org.dspace.app.rest.converter.query.SearchQueryConverter
Utility class for transforming a list of SearchFilters. Each SearchFilter with an operator set to 'query'
is converted into a SearchFilter with a standard DSpace operator like 'contains'.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(List<SearchFilter> searchFilters) This method traverses the list of SearchFilters and transforms all of those that with 'query' as the operator into a standard DSpace SearchFilter
-
Constructor Details
-
SearchQueryConverter
public SearchQueryConverter()
-
-
Method Details
-
convert
This method traverses the list of SearchFilters and transforms all of those that with 'query' as the operator into a standard DSpace SearchFilter- Parameters:
searchFilters- list of SearchFilters to be transformed- Returns:
- list of transformed SearchFilters
-