Class PrincipalCatalogVersionsPrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.servicelayer.user.interceptors.PrincipalCatalogVersionsPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor<PrincipalModel>
public class PrincipalCatalogVersionsPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<PrincipalModel>
-
-
Constructor Summary
Constructors Constructor Description PrincipalCatalogVersionsPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPrepare(PrincipalModel principalModel, InterceptorContext ctx)
Called in themodelService.saveAll()
method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(PrincipalModel principalModel, InterceptorContext ctx) throws InterceptorException
Description copied from interface:PrepareInterceptor
Called in themodelService.saveAll()
method. Prepares the values of the given model.- Specified by:
onPrepare
in interfacePrepareInterceptor<PrincipalModel>
- Parameters:
principalModel
- the model which values has to be preparedctx
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
-