Class FulltextSearchParamExtractor
java.lang.Object
ch.tocco.nice2.rest.entity.impl.search.FulltextSearchParamExtractor
- All Implemented Interfaces:
SearchParamExtractor<FulltextSearchParam>
@Component
public class FulltextSearchParamExtractor
extends Object
implements SearchParamExtractor<FulltextSearchParam>
Search param extractor for
FulltextSearchParams
.
* Query parameter "_search " refers to the current main entity (i.e. /entities/User?_search=Max) * Relation paths that point to a whole entity and not to a single field refer to the target entity (/entities/User?relSchool=Gymnasium)
-
Constructor Summary
ConstructorDescriptionFulltextSearchParamExtractor
(FulltextSearchBuilderFactory fulltextSearchBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionextractParams
(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams, EntityModel entityModel)
-
Constructor Details
-
FulltextSearchParamExtractor
-
-
Method Details
-
extractParams
public List<FulltextSearchParam> extractParams(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams, EntityModel entityModel) - Specified by:
extractParams
in interfaceSearchParamExtractor<FulltextSearchParam>
-