public class TableBlockConsistencyInterceptor extends Object implements ValidateInterceptor<TableBlockModel>
| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOG |
| Constructor and Description |
|---|
TableBlockConsistencyInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(TableBlockModel table,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
public void onValidate(TableBlockModel table, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<TableBlockModel>table - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.Copyright © 2017 SAP SE. All Rights Reserved.