public class B2BCommentPrepareInterceptor extends java.lang.Object implements PrepareInterceptor
B2BCommentModel| Constructor and Description |
|---|
B2BCommentPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected UserService |
getUserService() |
void |
onPrepare(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setUserService(UserService userService) |
public void onPrepare(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void setUserService(UserService userService)
protected UserService getUserService()
Copyright © 2018 SAP SE. All Rights Reserved.