Interface ModelRelationshipCycleValidator.ParentLoader

Enclosing class:
ModelRelationshipCycleValidator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ModelRelationshipCycleValidator.ParentLoader
Batch-loads current parents for child IDs. Missing children are interpreted as parentless.
  • Method Summary

    Modifier and Type
    Method
    Description
    load(Set<String> childIds)
    Loads parent identifiers indexed by the supplied child identifiers for cycle detection.
  • Method Details

    • load

      Map<String, Set<String>> load(Set<String> childIds)
      Loads parent identifiers indexed by the supplied child identifiers for cycle detection.