Interface RelationBetweenComponentsService
- All Known Implementing Classes:
DefaultRelationBetweenComponentsService
public interface RelationBetweenComponentsService
service to maintain relations between components
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method will maintain relation between the parent CMS Component and it's children CMS Component by retrieving all the attributes and attributeValue of a parent CMS Component, if an attribute type is a CMS Component or Collection of CMS Components, it should remove the old relation on parent and children and then build the new relation between of parent CMS Component and it's child CMS ComponentsvoidTo maintain relation between every parent component and it's children components on pagevoidTo maintain relation between every parent component and it's children components on the slotvoidTo remove relations on model's parents and childrenAbstractCMSComponentModel.
-
Method Details
-
maintainRelationBetweenComponentsOnComponent
This method will maintain relation between the parent CMS Component and it's children CMS Component by retrieving all the attributes and attributeValue of a parent CMS Component, if an attribute type is a CMS Component or Collection of CMS Components, it should remove the old relation on parent and children and then build the new relation between of parent CMS Component and it's child CMS Components- Parameters:
parent- - the CMS Component.
-
maintainRelationBetweenComponentsOnPage
To maintain relation between every parent component and it's children components on page- Parameters:
pageModel- - the slot
-
maintainRelationBetweenComponentsOnSlot
To maintain relation between every parent component and it's children components on the slot- Parameters:
slotModel- - the slot
-
removeRelationBetweenComponentsOnModel
To remove relations on model's parents and childrenAbstractCMSComponentModel.- Parameters:
model- - the cms component
-