public class JcrPropertiesAllowedRule extends AbstractAvailabilityRule
AvailabilityRule
implementation which returns true if evaluated items are JCR properties.Constructor and Description |
---|
JcrPropertiesAllowedRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForItem(Object itemId)
This method defines the actual evaluation logic for one item.
|
boolean |
isPropertiesAllowed() |
void |
setPropertiesAllowed(boolean propertiesAllowed) |
isAvailable
public boolean isPropertiesAllowed()
public void setPropertiesAllowed(boolean propertiesAllowed)
protected boolean isAvailableForItem(Object itemId)
AbstractAvailabilityRule
isAvailableForItem
in class AbstractAvailabilityRule
Copyright © 2015 Magnolia International Ltd.. All rights reserved.