Class ClassificationPersistenceHandler


  • public class ClassificationPersistenceHandler
    extends FeaturePeristanceHandler
    Handler responsible for persistence given classification changes for given product
    • Constructor Detail

      • ClassificationPersistenceHandler

        public ClassificationPersistenceHandler()
    • Method Detail

      • saveChanges

        public void saveChanges​(ProductModel product,
                                java.util.Collection<ClassificationChangeDto> changes)
        Saves given list of classification changes for given product
        Parameters:
        product - which should be modified
        changes - list of changes which should be applied for given product
      • storeValues

        protected void storeValues​(Feature feature,
                                   java.util.List<FeatureValue> values,
                                   java.lang.String isoCode)
      • getValues

        protected java.util.List<FeatureValue> getValues​(Feature feature,
                                                         java.lang.String isoCode)
      • setModelService

        public void setModelService​(ModelService modelService)
      • setCockpitGlobalEventPublisher

        public void setCockpitGlobalEventPublisher​(com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher cockpitGlobalEventPublisher)