public class JcrHasVersionsRule extends AbstractJcrRule<JcrHasVersionsRuleDefinition>
AvailabilityRule
implementation which returns true if
it's a node with versions.Constructor and Description |
---|
JcrHasVersionsRule(AvailabilityDefinition availabilityDefinition,
JcrHasVersionsRuleDefinition ruleDefinition,
info.magnolia.cms.core.version.VersionManager versionManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForJcrItem(javax.jcr.Item item) |
isAvailableFor
isAvailable, isAvailableForItem, shouldByPass
public JcrHasVersionsRule(AvailabilityDefinition availabilityDefinition, JcrHasVersionsRuleDefinition ruleDefinition, info.magnolia.cms.core.version.VersionManager versionManager)
protected boolean isAvailableForJcrItem(javax.jcr.Item item) throws javax.jcr.RepositoryException
isAvailableForJcrItem
in class AbstractJcrRule<JcrHasVersionsRuleDefinition>
javax.jcr.RepositoryException
Copyright © 2021 Magnolia International Ltd.. All rights reserved.