Interface RelationBetweenComponentsService
-
- All Known Implementing Classes:
DefaultRelationBetweenComponentsService
public interface RelationBetweenComponentsService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmaintainRelationBetweenComponentsOnComponent(AbstractCMSComponentModel parent)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 a 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 ComponentsvoidmaintainRelationBetweenComponentsOnPage(AbstractPageModel pageModel)To maintain relation between every parent component and it's children components on pagevoidmaintainRelationBetweenComponentsOnSlot(ContentSlotModel slotModel)To maintain relation between every parent component and it's children components on the slotvoidremoveRelationBetweenComponentsOnModel(AbstractCMSComponentModel model)To remove relations on model's parents and childrenAbstractCMSComponentModel.
-
-
-
Method Detail
-
maintainRelationBetweenComponentsOnComponent
void maintainRelationBetweenComponentsOnComponent(AbstractCMSComponentModel parent)
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 a 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
void maintainRelationBetweenComponentsOnPage(AbstractPageModel pageModel)
To maintain relation between every parent component and it's children components on page- Parameters:
pageModel- - the slot
-
maintainRelationBetweenComponentsOnSlot
void maintainRelationBetweenComponentsOnSlot(ContentSlotModel slotModel)
To maintain relation between every parent component and it's children components on the slot- Parameters:
slotModel- - the slot
-
removeRelationBetweenComponentsOnModel
void removeRelationBetweenComponentsOnModel(AbstractCMSComponentModel model)
To remove relations on model's parents and childrenAbstractCMSComponentModel.- Parameters:
model- - the cms component
-
-