Class CatalogURLPatternsValidator
java.lang.Object
de.hybris.platform.catalog.interceptors.CatalogURLPatternsValidator
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Check if modified
CatalogModel.URLPATTERNS collection is proper. Try to compile each and if there are errors
throw InterceptorException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
CatalogURLPatternsValidator
public CatalogURLPatternsValidator()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-