Class AttributeContainsCMSComponentsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.predicates.attributes.AttributeContainsCMSComponentsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<AttributeDescriptorModel>
public class AttributeContainsCMSComponentsPredicate extends java.lang.Object implements java.util.function.Predicate<AttributeDescriptorModel>
This predicate is used to test whether an attribute is or has elements of typeAbstractCMSComponentModel.
-
-
Constructor Summary
Constructors Constructor Description AttributeContainsCMSComponentsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAttributeTypeServicegetCmsAttributeTypeService()protected TypeServicegetTypeService()protected booleanisCmsComponentType(TypeModel attributeType)voidsetCmsAttributeTypeService(CMSAttributeTypeService typeService)voidsetTypeService(TypeService typeService)booleantest(AttributeDescriptorModel attributeDescriptorModel)
-
-
-
Method Detail
-
test
public boolean test(AttributeDescriptorModel attributeDescriptorModel)
- Specified by:
testin interfacejava.util.function.Predicate<AttributeDescriptorModel>
-
isCmsComponentType
protected boolean isCmsComponentType(TypeModel attributeType)
-
getCmsAttributeTypeService
protected CMSAttributeTypeService getCmsAttributeTypeService()
-
setCmsAttributeTypeService
public void setCmsAttributeTypeService(CMSAttributeTypeService typeService)
-
getTypeService
protected TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-