public class JcrRootRule extends AbstractJcrRule<JcrRootRuleDefinition>
AvailabilityRule
implementation which returns true if evaluated item is the default itemId —
typically the root node for JCR-based content apps.Constructor and Description |
---|
JcrRootRule(info.magnolia.ui.api.availability.AvailabilityDefinition availabilityDefinition,
JcrRootRuleDefinition ruleDefinition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForJcrItem(javax.jcr.Item item) |
isAvailableFor
public JcrRootRule(info.magnolia.ui.api.availability.AvailabilityDefinition availabilityDefinition, JcrRootRuleDefinition ruleDefinition)
protected boolean isAvailableForJcrItem(javax.jcr.Item item)
isAvailableForJcrItem
in class AbstractJcrRule<JcrRootRuleDefinition>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.