Class IsSingleLevelNestedRestrictionAttributePredicate
java.lang.Object
de.hybris.platform.cmsfacades.common.predicate.attributes.IsSingleLevelNestedRestrictionAttributePredicate
- All Implemented Interfaces:
Predicate<AttributeDescriptorModel>
public class IsSingleLevelNestedRestrictionAttributePredicate
extends Object
implements Predicate<AttributeDescriptorModel>
Predicate that returns true if the provided
AttributeDescriptorModel is a single level nested restriction. Note that it only returns true if the
restriction is not nested within another restriction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanattributeContainsRestrictions(AttributeDescriptorModel attributeDescriptorModel) protected AttributeDescriptorModelHelperServiceprotected booleanisInsideOtherRestriction(AttributeDescriptorModel attributeDescriptorModel) voidsetAttributeDescriptorModelHelperService(AttributeDescriptorModelHelperService attributeDescriptorModelHelperService) booleantest(AttributeDescriptorModel attributeDescriptorModel)
-
Constructor Details
-
IsSingleLevelNestedRestrictionAttributePredicate
public IsSingleLevelNestedRestrictionAttributePredicate()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<AttributeDescriptorModel>
-
attributeContainsRestrictions
-
isInsideOtherRestriction
-
getAttributeDescriptorModelHelperService
-
setAttributeDescriptorModelHelperService
public void setAttributeDescriptorModelHelperService(AttributeDescriptorModelHelperService attributeDescriptorModelHelperService)
-