public class ModifySystemUsersInterceptor extends java.lang.Object implements RemoveInterceptor, ValidateInterceptor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADMIN_PASSWORD_REQUIRED |
| 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 |
setSearchRestrictionService(SearchRestrictionService searchRestrictionService) |
void |
setSessionService(SessionService sessionService) |
void |
setUserService(UserService userService) |
public static final java.lang.String ADMIN_PASSWORD_REQUIRED
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)
public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
public void setSessionService(SessionService sessionService)
Copyright © 2018 SAP SE. All Rights Reserved.