public class ModifySystemUsersInterceptor extends Object implements RemoveInterceptor, ValidateInterceptor
| Constructor and Description |
|---|
ModifySystemUsersInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(Object model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
onValidate(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setUserService(UserService userService) |
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 onRemove(Object model, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptormodel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorpublic void setUserService(UserService userService)
Copyright © 2017 SAP SE. All Rights Reserved.