Class ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
- java.lang.Object
-
- com.hybris.classificationgroupsservices.interceptors.classificationclass.ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ClassificationClassModel>
public class ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<ClassificationClassModel>
CreatesClassFeatureGroupAssignmentModels for newly addedClassAttributeAssignmentModels to the category. Creates alsoClassFeatureGroupAssignmentModels for already existingClassAttributeAssignmentModels if they don't have assigned their ownClassFeatureGroupAssignmentModels.
-
-
Constructor Summary
Constructors Constructor Description ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(ClassificationClassModel classificationClass, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetClassFeatureGroupAssignmentService(ClassFeatureGroupAssignmentService classFeatureGroupAssignmentService)voidsetModelService(ModelService modelService)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(ClassificationClassModel classificationClass, InterceptorContext ctx)
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<ClassificationClassModel>- Parameters:
classificationClass- the model which values has to be preparedctx- theInterceptorContext
-
setModelService
public void setModelService(ModelService modelService)
-
setClassFeatureGroupAssignmentService
public void setClassFeatureGroupAssignmentService(ClassFeatureGroupAssignmentService classFeatureGroupAssignmentService)
-
-