Class FormConstrictionSearchParamExtractor
java.lang.Object
ch.tocco.nice2.rest.form.impl.search.ConstrictionSearchParamExtractor
ch.tocco.nice2.rest.form.impl.search.FormConstrictionSearchParamExtractor
- All Implemented Interfaces:
SearchParamExtractor<PlainQuerySearchParam>
@Component
public class FormConstrictionSearchParamExtractor
extends ConstrictionSearchParamExtractor
Search param extractor for
PlainQueryParams
.
The query parameter `_form` refers to a form that contains a constriction, which will be compiled to a condition
and returned as PlainQuerySearchParam
.
-
Constructor Summary
ConstructorDescriptionFormConstrictionSearchParamExtractor
(ConstrictionManager constrictionManager, QueryBuilderFactory queryBuilderFactory, FormModel formModel) -
Method Summary
Modifier and TypeMethodDescriptionextractParams
(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams, EntityModel entityModel) Methods inherited from class ch.tocco.nice2.rest.form.impl.search.ConstrictionSearchParamExtractor
getConditionParam
-
Constructor Details
-
FormConstrictionSearchParamExtractor
public FormConstrictionSearchParamExtractor(ConstrictionManager constrictionManager, QueryBuilderFactory queryBuilderFactory, FormModel formModel)
-
-
Method Details
-
extractParams
public List<PlainQuerySearchParam> extractParams(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams, EntityModel entityModel) - Specified by:
extractParams
in interfaceSearchParamExtractor<PlainQuerySearchParam>
- Overrides:
extractParams
in classConstrictionSearchParamExtractor
-