java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<de.hybris.platform.core.PK,ItemModel>
de.hybris.platform.sap.core.configuration.datahub.RemoveModelMap
All Implemented Interfaces:
Serializable, Cloneable, Map<de.hybris.platform.core.PK,ItemModel>

public class RemoveModelMap extends HashMap<de.hybris.platform.core.PK,ItemModel>
HashMap which holds models to be deleted.
See Also:
  • Constructor Details

    • RemoveModelMap

      public RemoveModelMap()
  • Method Details

    • addModelToBeDeleted

      public void addModelToBeDeleted(de.hybris.platform.core.PK pk, ItemModel model)
      Add a model with primary key (pk) to the HashMap.
      Parameters:
      pk - primary key to be set
      model - itemModel to be set
    • getModelsToBeDeleted

      public Map<de.hybris.platform.core.PK,ItemModel> getModelsToBeDeleted()
      get alls models which has to be deleted.
      Returns:
      Map of models which will be deleted
    • deleteModel

      public void deleteModel(de.hybris.platform.core.PK pk)
      Delete a model in the HashMap.
      Parameters:
      pk - primary key to be set