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 SummaryModifier and TypeMethodDescriptionbooleanmanageInvertRelation(ModifiableContent referencedContent, String invertRelationPath, Collection<String> referencingContentIds, ValueContext context) Manages the invert relation to the givenDataHolder
- 
Method Details- 
manageInvertRelationboolean 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 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:
- trueif the referenced content has been modified,- falseotherwise
 
 
-