Class ClassificationPersistenceHandler
java.lang.Object
de.hybris.platform.platformbackoffice.classification.FeaturePeristanceHandler
de.hybris.platform.platformbackoffice.bulkedit.ClassificationPersistenceHandler
Handler responsible for persistence given classification changes for given product
-
Field Summary
Fields inherited from class de.hybris.platform.platformbackoffice.classification.FeaturePeristanceHandler
classificationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<FeatureValue>protected booleanhasEmptyValueWithoutClearCheckbox(ClassificationChangeDto change, Feature feature) voidsaveChanges(ProductModel product, Collection<ClassificationChangeDto> changes) Saves given list of classification changes for given productprotected voidsaveFeatures(ProductModel productModel, Map<String, Feature> productFeatures) voidsetCockpitGlobalEventPublisher(com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher cockpitGlobalEventPublisher) voidsetModelService(ModelService modelService) protected voidstoreValues(Feature feature, List<FeatureValue> values, String isoCode) Methods inherited from class de.hybris.platform.platformbackoffice.classification.FeaturePeristanceHandler
setClassificationService
-
Constructor Details
-
ClassificationPersistenceHandler
public ClassificationPersistenceHandler()
-
-
Method Details
-
saveChanges
Saves given list of classification changes for given product- Parameters:
product- which should be modifiedchanges- list of changes which should be applied for given product
-
saveFeatures
- Overrides:
saveFeaturesin classFeaturePeristanceHandler
-
hasEmptyValueWithoutClearCheckbox
protected boolean hasEmptyValueWithoutClearCheckbox(ClassificationChangeDto change, Feature feature) -
storeValues
-
getValues
-
setModelService
-
setCockpitGlobalEventPublisher
public void setCockpitGlobalEventPublisher(com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher cockpitGlobalEventPublisher)
-