Class EditorTrimmer
- java.lang.Object
-
- de.hybris.platform.integrationbackoffice.widgets.modeling.utility.EditorTrimmer
-
public final class EditorTrimmer extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<ComposedTypeModel,java.util.List<AbstractListItemDTO>>trimMap(IntegrationObjectPresentation editorData, boolean considerSubtypes)Trims the map created during the editing process so that it only contains checked/selected items so that it is leaner for the persistence process.
-
-
-
Method Detail
-
trimMap
public static java.util.Map<ComposedTypeModel,java.util.List<AbstractListItemDTO>> trimMap(IntegrationObjectPresentation editorData, boolean considerSubtypes)
Trims the map created during the editing process so that it only contains checked/selected items so that it is leaner for the persistence process.- Parameters:
editorData- Data model containing all state information of the editorconsiderSubtypes- Flag representing whether unselected subtype changes should be considered in the trim (should be false when trimming for persistence)- Returns:
- The trimmed down map.
-
-