Class B2BCommentPrepareInterceptor
java.lang.Object
de.hybris.platform.b2b.interceptor.B2BCommentPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Sets the owner and modifiedDate attribute of a
B2BCommentModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected UserServicevoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetUserService(UserService userService)
-
Constructor Details
-
B2BCommentPrepareInterceptor
public B2BCommentPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setUserService
-
getUserService
-