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