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(AvailabilityDefinition availabilityDefinition,
JcrRootRuleDefinition ruleDefinition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForJcrItem(javax.jcr.Item item) |
isAvailableFor
isAvailable, isAvailableForItem, shouldByPass
public JcrRootRule(AvailabilityDefinition availabilityDefinition, JcrRootRuleDefinition ruleDefinition)
protected boolean isAvailableForJcrItem(javax.jcr.Item item)
isAvailableForJcrItem
in class AbstractJcrRule<JcrRootRuleDefinition>
Copyright © 2021 Magnolia International Ltd.. All rights reserved.