@Component public class BookingStatusQueryParameterParamsValidatorImpl extends AbstractQueryParameterValidatorImpl implements TransactionListQueryParamsValidator
errorBuildingService| Constructor and Description |
|---|
BookingStatusQueryParameterParamsValidatorImpl(ErrorBuildingService errorBuildingService) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getQueryParameterName()
Returns the name of the query parameter
|
void |
validate(Map<String,List<String>> queryParameterMap,
MessageError messageError)
Validates query parameters from the request and populates given error with error text if parameters are invalid
|
getQueryParameterValue, validateMandatoryParameterPresencepublic BookingStatusQueryParameterParamsValidatorImpl(ErrorBuildingService errorBuildingService)
protected String getQueryParameterName()
AbstractQueryParameterValidatorImplgetQueryParameterName in class AbstractQueryParameterValidatorImplpublic void validate(Map<String,List<String>> queryParameterMap, MessageError messageError)
QueryParameterValidatorvalidate in interface QueryParameterValidatorqueryParameterMap - query parameters from the request, with query parameter names acting as keysmessageError - error to be populatedCopyright © 2019. All rights reserved.