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.
@FunctionalInterface public static interface ContentDataHelper.InvertRelationManager
Invert relation manager (to add or remove a relation on a content
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
manageInvertRelation(ModifiableContent referencedContent, String invertRelationPath, Collection<String> referencingContentIds, ValueContext context)
Manages the invert relation to the givenDataHolder
-
-
-
Method Detail
-
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
-
-