D
- type of AvailabilityRuleDefinition
.public abstract class AbstractJcrRule<D extends AvailabilityRuleDefinition> extends AbstractAvailabilityRule<javax.jcr.Item,D>
AvailabilityRule
for the JCR items. Main purpose is to let the rule implementor throw repository exceptions from the
implementations.Modifier | Constructor and Description |
---|---|
protected |
AbstractJcrRule(AvailabilityDefinition availabilityDefinition,
D ruleDefinition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableFor(javax.jcr.Item item) |
protected abstract boolean |
isAvailableForJcrItem(javax.jcr.Item item) |
isAvailable, isAvailableForItem, shouldByPass
protected AbstractJcrRule(AvailabilityDefinition availabilityDefinition, D ruleDefinition)
protected boolean isAvailableFor(javax.jcr.Item item)
isAvailableFor
in class AbstractAvailabilityRule<javax.jcr.Item,D extends AvailabilityRuleDefinition>
protected abstract boolean isAvailableForJcrItem(javax.jcr.Item item) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2020 Magnolia International Ltd.. All rights reserved.