Class CMSNavigationNodeRenderingVisibilityRule
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.visibility.impl.CMSNavigationNodeRenderingVisibilityRule
-
- All Implemented Interfaces:
RenderingVisibilityRule<CMSNavigationNodeModel>
public class CMSNavigationNodeRenderingVisibilityRule extends java.lang.Object implements RenderingVisibilityRule<CMSNavigationNodeModel>
Rendering visibility rule forCMSNavigationNodeModel
-
-
Constructor Summary
Constructors Constructor Description CMSNavigationNodeRenderingVisibilityRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisVisible(CMSNavigationNodeModel itemModel)Verifies the visibility of itemModeljava.util.function.Predicate<ItemModel>restrictedBy()The predicate to verify that the provided itemModel is the one for which the visibility is being verified.
-
-
-
Method Detail
-
restrictedBy
public java.util.function.Predicate<ItemModel> restrictedBy()
Description copied from interface:RenderingVisibilityRuleThe predicate to verify that the provided itemModel is the one for which the visibility is being verified.- Specified by:
restrictedByin interfaceRenderingVisibilityRule<CMSNavigationNodeModel>- Returns:
- the
Predicate
-
isVisible
public boolean isVisible(CMSNavigationNodeModel itemModel)
Description copied from interface:RenderingVisibilityRuleVerifies the visibility of itemModel- Specified by:
isVisiblein interfaceRenderingVisibilityRule<CMSNavigationNodeModel>- Returns:
-
-