Class DefaultCMSTabParagraphContainerStategy
- java.lang.Object
-
- de.hybris.platform.acceleratorcms.component.container.impl.DefaultCMSTabParagraphContainerStategy
-
- All Implemented Interfaces:
CMSComponentContainerStrategy
public class DefaultCMSTabParagraphContainerStategy extends java.lang.Object implements CMSComponentContainerStrategy
Implement a strategy to return the CMSTabParagraphContainer as the result component if needed
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSTabParagraphContainerStategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractCMSComponentModel>getDisplayComponentsForContainer(AbstractCMSComponentContainerModel container)Get the list of components that should represent the state of the container.protected java.util.List<java.lang.String>getShowContainerForTypes()protected TypeServicegetTypeService()protected booleanneedShowContainer(java.util.List<AbstractCMSComponentModel> components)check whether show the container in corresponding jspvoidsetShowContainerForTypes(java.util.List<java.lang.String> showContainerForTypes)voidsetTypeService(TypeService typeService)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cms2.strategies.CMSComponentContainerStrategy
getContainerClass
-
-
-
-
Method Detail
-
getDisplayComponentsForContainer
public java.util.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
protected boolean needShowContainer(java.util.List<AbstractCMSComponentModel> components)
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
protected TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
getShowContainerForTypes
protected java.util.List<java.lang.String> getShowContainerForTypes()
-
setShowContainerForTypes
public void setShowContainerForTypes(java.util.List<java.lang.String> showContainerForTypes)
-
-