public class HasVersionsRule extends AbstractAvailabilityRule
Constructor and Description |
---|
HasVersionsRule(info.magnolia.cms.core.version.VersionManager versionManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForItem(Object itemId)
This method defines the actual evaluation logic for one item.
|
isAvailable
@Inject public HasVersionsRule(info.magnolia.cms.core.version.VersionManager versionManager)
protected boolean isAvailableForItem(Object itemId)
AbstractAvailabilityRule
isAvailableForItem
in class AbstractAvailabilityRule
Copyright © 2016 Magnolia International Ltd.. All rights reserved.