Package org.ametys.cms.data
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 Summary
Modifier and TypeMethodDescriptionboolean
manageInvertRelation
(ModifiableContent referencedContent, String invertRelationPath, Collection<String> referencingContentIds, ValueContext context) Manages the invert relation to the givenDataHolder
-
Method Details
-
manageInvertRelation
boolean manageInvertRelation(ModifiableContent referencedContent, String invertRelationPath, Collection<String> referencingContentIds, ValueContext context) Manages the invert relation to the givenDataHolder
- Parameters:
referencedContent
- the content where to manage the invert relationinvertRelationPath
- the path of the invert relationreferencingContentIds
- the id of the contents that reference.d the given contentcontext
- the value's context- Returns:
true
if the referenced content has been modified,false
otherwise
-