Class NotNullSearchRequestValidator
- java.lang.Object
-
- de.hybris.platform.integrationservices.search.validation.NotNullSearchRequestValidator
-
- All Implemented Interfaces:
ItemSearchRequestValidator
public class NotNullSearchRequestValidator extends java.lang.Object implements ItemSearchRequestValidator
Verifies that search request is provided and is notnull.
-
-
Constructor Summary
Constructors Constructor Description NotNullSearchRequestValidator()
-
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)
Validates 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- Throws:
NullItemSearchRequestException- if the request isnull
-
-