Class DefaultCMSTabParagraphContainerStategy
java.lang.Object
de.hybris.platform.acceleratorcms.component.container.impl.DefaultCMSTabParagraphContainerStategy
- All Implemented Interfaces:
CMSComponentContainerStrategy
public class DefaultCMSTabParagraphContainerStategy
extends Object
implements CMSComponentContainerStrategy
Implement a strategy to return the CMSTabParagraphContainer as the result component if needed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of components that should represent the state of the container.protected TypeServiceprotected booleanneedShowContainer(List<AbstractCMSComponentModel> components) check whether show the container in corresponding jspvoidsetShowContainerForTypes(List<String> showContainerForTypes) voidsetTypeService(TypeService typeService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cms2.strategies.CMSComponentContainerStrategy
getContainerClass
-
Constructor Details
-
DefaultCMSTabParagraphContainerStategy
public DefaultCMSTabParagraphContainerStategy()
-
-
Method Details
-
getDisplayComponentsForContainer
public List<AbstractCMSComponentModel> getDisplayComponentsForContainer(AbstractCMSComponentContainerModel container) Description copied from interface:CMSComponentContainerStrategyGet the list of components that should represent the state of the container.- Specified by:
getDisplayComponentsForContainerin interfaceCMSComponentContainerStrategy- Parameters:
container- The component container- Returns:
- the list of components that represents the container; never
null
-
needShowContainer
check whether show the container in corresponding jsp- Parameters:
components- the children components- Returns:
- children components all match given types then return true otherwise false
-
getTypeService
-
setTypeService
-
getShowContainerForTypes
-
setShowContainerForTypes
-