public DataSearchValidationService
Service interface to validate the field expressions computed from the query parameters.
<T> void validate(@NotNull java.util.Collection<? extends com.weedow.spring.data.search.expression.FieldExpression> fieldExpressions, @NotNull SearchDescriptor<T> searchDescriptor)
Validates the given interface FieldExpression
.
fieldExpressions
- field expressions to validatesearchDescriptor
- interface SearchDescriptor
of an Entity related to the fieldsValidationException
- when there are any validation errorsinterface FieldExpression