public class CMSNavigationNodeRenderingVisibilityRule extends java.lang.Object implements RenderingVisibilityRule<CMSNavigationNodeModel>
CMSNavigationNodeModel| Constructor and Description |
|---|
CMSNavigationNodeRenderingVisibilityRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVisible(CMSNavigationNodeModel itemModel)
Verifies the visibility of itemModel
|
java.util.function.Predicate<ItemModel> |
restrictedBy()
The predicate to verify that the provided itemModel is the one for which the visibility is being verified.
|
public CMSNavigationNodeRenderingVisibilityRule()
public java.util.function.Predicate<ItemModel> restrictedBy()
RenderingVisibilityRulerestrictedBy in interface RenderingVisibilityRule<CMSNavigationNodeModel>Predicatepublic boolean isVisible(CMSNavigationNodeModel itemModel)
RenderingVisibilityRuleisVisible in interface RenderingVisibilityRule<CMSNavigationNodeModel>Copyright © 2018 SAP SE. All Rights Reserved.