Class KeyPropertyValuePresenceValidator
- java.lang.Object
-
- de.hybris.platform.integrationservices.search.validation.KeyPropertyValuePresenceValidator
-
- All Implemented Interfaces:
ItemSearchRequestValidator
public class KeyPropertyValuePresenceValidator extends java.lang.Object implements ItemSearchRequestValidator
A validator that ensures presence of all key properties values in cases when search is done by the item key, i.e. unique item search.
-
-
Constructor Summary
Constructors Constructor Description KeyPropertyValuePresenceValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(ItemSearchRequest request)Validates the specified item search request and rejects it by throwing an exception, if the specified request does not meet certain criteria.
-
-
-
Method Detail
-
validate
public void validate(ItemSearchRequest request)
Description copied from interface:ItemSearchRequestValidatorValidates the specified item search request and rejects it by throwing an exception, if the specified request does not meet certain criteria.- Specified by:
validatein interfaceItemSearchRequestValidator- Parameters:
request- a request to validate
-
-