Interface CMSComponentContainerStrategy
-
- All Known Subinterfaces:
CMSComponentContainerStrategy
- All Known Implementing Classes:
AbstractCMSComponentContainerStrategy,DefaultCMSComponentContainerStrategy,DefaultCMSTabParagraphContainerStategy,DefaultCxCmsContainerDefaultComponentStrategy,DefaultCxCmsContainerStrategy,IdentityCMSComponentContainerStrategy,IdentityCMSComponentContainerStrategy,LegacyCMSComponentContainerStrategy,LegacyCMSComponentContainerStrategy
public interface CMSComponentContainerStrategyStrategy to decide which components should represent the state a given container. The representation of a container in this case should match with what will be actually rendered in the storefront.In some cases, we want the container to represent itself, but in some other cases we want the inner components to represent the state of the container.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.Class<? extends AbstractCMSComponentContainerModel>getContainerClass()Deprecated.since 1811, no longer neededjava.util.List<AbstractCMSComponentModel>getDisplayComponentsForContainer(AbstractCMSComponentContainerModel container)Get the list of components that should represent the state of the container.
-
-
-
Method Detail
-
getDisplayComponentsForContainer
java.util.List<AbstractCMSComponentModel> getDisplayComponentsForContainer(AbstractCMSComponentContainerModel container)
Get the list of components that should represent the state of the container.- Parameters:
container- The component container- Returns:
- the list of components that represents the container; never
null
-
getContainerClass
@Deprecated default java.lang.Class<? extends AbstractCMSComponentContainerModel> getContainerClass()
Deprecated.since 1811, no longer neededGet the component container class that this strategy applies to.- Returns:
- the matching container class
-
-