Class ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
java.lang.Object
com.hybris.classificationgroupsservices.interceptors.classificationclass.ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ClassificationClassModel>
public class ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
extends Object
implements PrepareInterceptor<ClassificationClassModel>
Creates
ClassFeatureGroupAssignmentModels for newly added ClassAttributeAssignmentModels to the
category. Creates also ClassFeatureGroupAssignmentModels for already existing
ClassAttributeAssignmentModels if they don't have assigned their own
ClassFeatureGroupAssignmentModels.-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(ClassificationClassModel classificationClass, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetClassFeatureGroupAssignmentService(ClassFeatureGroupAssignmentService classFeatureGroupAssignmentService) voidsetModelService(ModelService modelService)
-
Constructor Details
-
ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor
public ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor()
-
-
Method Details
-
onPrepare
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
-
setClassFeatureGroupAssignmentService
public void setClassFeatureGroupAssignmentService(ClassFeatureGroupAssignmentService classFeatureGroupAssignmentService)
-