Class EditorTrimmer
- java.lang.Object
-
- de.hybris.platform.integrationbackoffice.widgets.editor.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<ListItemDTO>>trimMap(ReadService rs, java.util.Map<ComposedTypeModel,java.util.List<ListItemDTO>> fullMap, org.zkoss.zul.Tree composedTypeTree)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<ListItemDTO>> trimMap(ReadService rs, java.util.Map<ComposedTypeModel,java.util.List<ListItemDTO>> fullMap, org.zkoss.zul.Tree composedTypeTree)
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:
rs- ReadService to access the type systemfullMap- The map created during the editing process.composedTypeTree- The tree representing the structure of ComposedTypes.- Returns:
- The trimmed down map.
-
-