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