Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 editor
        considerSubtypes - Flag representing whether unselected subtype changes should be considered in the trim (should be false when trimming for persistence)
        Returns:
        The trimmed down map.