Interface ContentDataHelper.InvertRelationManager

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

Invert relation manager (to add or remove a relation on a content
  • Method Details

    • manageInvertRelation

      boolean manageInvertRelation(ModifiableContent referencedContent, String invertRelationPath, Collection<String> referencingContentIds, ValueContext context)
      Manages the invert relation to the given DataHolder
      Parameters:
      referencedContent - the content where to manage the invert relation
      invertRelationPath - the path of the invert relation
      referencingContentIds - the id of the contents that reference.d the given content
      context - the value's context
      Returns:
      true if the referenced content has been modified, false otherwise