public class PagePlanningValidator extends Object implements ValidateInterceptor
PagePlanner business rules. pagePlanner in spring configuration.| Constructor and Description |
|---|
PagePlanningValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setModelService(ModelService modelService) |
public void onValidate(Object model, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.