public class ModifySystemUsersInterceptor extends java.lang.Object implements RemoveInterceptor, ValidateInterceptor
| Constructor and Description |
|---|
ModifySystemUsersInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setUserService(UserService userService) |
public void onValidate(java.lang.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(java.lang.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.