Class RestSaveContextProcessor

java.lang.Object
io.jmix.restds.impl.RestSaveContextProcessor

@Component("restds_RestSaveContextProcessor") public class RestSaveContextProcessor extends Object
  • Constructor Details

    • RestSaveContextProcessor

      public RestSaveContextProcessor(Metadata metadata)
  • Method Details

    • normalizeCompositionItems

      public void normalizeCompositionItems(SaveContext saveContext)
      Cleans up entitiesToSave and entitiesToRemove collections so they don't contain composition items that are managed by the aggregate root entities also present in entitiesToSave.

      Assigns root entity to inverse properties of composition items.